GMINOPV returns the minimum or the optional print value if the minimum is outside the optional print limits.
SYNTAX:
GMINOPV(VarNum, GroupOffset/StartDate, Grouping/EndDate, Decimal Places)
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.
NOTES:
In Design, Spread Reports use Locate, Group Summary to place this formula on a report.
EXAMPLES:
GMINOPV(4697, 1, "M", 2) Returns the min for variable 4697. If the min is less than or equal to 20, it will return "Optional Print" to indicate that the min is below the threshold. If the min is above 20, it will return the value.
Download Example Template: Help_GMIN-GMAX_Examples.ss3 (Click here for download instructions)
See Also: Spread Functions, Group Summary, GMIN, GMINZ
|