Home : GMINZ
Q10813 - INFO: GMINZ

 GMINZ returns the minimum along with it's symbol (<, >, <= etc.).

SYNTAX:

GMINZ(VarNum, GroupOffset/StartDate, Grouping/EndDate, Decimal Places, MDL Rule, optional No Value Print) 

VarNum:  The variable number to get the minimum for.

GroupOffset/StartDate: Used with the Grouping parameter to set the dates to calculate the stat for.  Sets the number of Groups (set by the Grouping Parameter) to be added to set the dates.  See examples below. If this field is a date string (i.e. "07/16/2004") or refers to a cell with a date in it, it is assumed to be the start date to calculate the stat for.

Grouping/EndDate: Used to set which dates to calculate the stat for.  If the Grouping is a date literal string (i.e. "07/16/2004") or refers to a cell with a date in it, it is assumed to be the end date to calculate the stat for. Common Settings are:
"D" Days
“M” Monthly 
"R" Report Dates 
“Y” Yearly

Decimal Places: Sets the number of decimal places to be displayed. For variables with decimal places set to "Not Fixed" click here for additional formatting options.

MDL Rule: Used to set whether symbols or non-detects are used when finding the min.

0 thru 5: Display symbol if the minimum value contains a symbol.
6: Ignore values with symbols (data qualifiers)
9: Ignore non detected values (ie symbols of < or ND are ignored) 

No Value Print: Sets a string to be displayed if there are no values in the date range. Optional.

NOTES:

In Design, Spread Reports use Locate, Group Summary to place this formula on a report.

EXAMPLES:

GMINZ(1, 1, "M", 2, 1)  returns the min for the report range's first month with 2 decimal places.

GMINZ(1, 1, "M", 2, 1, "No Values")  returns the min for the report range's first month with 2 decimal places. Also, if there are no values for the date range, it prints "No Values".

GMINZ(4011,1,"R",0,6) returns the min of the values that do NOT have a symbol (i.e. min of <2, 5, 7, ND, >4 is 5)

GMINZ(4011,1,"R",0,9) returns the min of the detected values (i.e. min of <2, 5, 7, ND, >4 is >4 if greater than rule is entered value)

Download Example Template: Help_GMIN-GMAX_Examples.ss3 (Click here for download instructions)

See Also: Spread Functions, Group Summary, GMIN, GMINOPV

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 2/28/2008 9:07 AM.
Last Modified on 4/18/2024 4:51 PM.
Last Modified by Scott Dorner.
Article has been viewed 3479 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article