For example, you could enter a numerical constant in the MIN function to apply a cap to a set of values.
MIN(Value to compare, Value to compare 2, [etc.])
|Value to compare (required)||Number, date|
The values to search for the minimum value. Returns the lowest number or earliest date.
All values must be of the same data type.
This argument can be repeated to provide multiple values for comparison. It must be provided a minimum of two times.
The MIN function returns a result of the same data type as the Value to compare arguments.
MIN(P1, 100, P2 / 2)
This formula would return the lowest value from between:
- The value of P1
- The value of P2 divided by two.
The MIN function ignores empty cells, but includes zero values.
Calculation engine functionality differences
In Polaris, when comparing a blank date value to a non-blank date value, the MIN function returns the non-blank value.
In the Classic engine, when comparing a blank date value to a non-blank date value, the MIN function returns the blank value.
Related Anaplan functions
Use MIN to apply a cap to a set of values
In this example, a module has an Employees list on columns, and line items on rows. The first line item is Sales, which shows the amount of sales each employee generated. The next line item, Sales bonus, calculates each employee's bonus, which is 20% of sales, with a limit of $5,000.
|Ludwig VB||Amadeus M||Clara S||Felix M|
General number example
In this example, a module is dimensioned by Time and line items. The first five line items contain the monthly salary costs for different departments. The final line item contains a formula that determines which department incurs the lowest salary cost each month.
|Jan 21||Feb 21||March 21|
Lowest departmental salary costs
General date example
In this example, a module is dimensioned by the Products list and line items. The first four line items contain product release dates for different regions, which have the date data type. The final line item contains a formula that determines the earliest product release for each product among each region.
|Monet dress||Renoir dress||Picasso top||Cezanne sweatpants||Matisse pumps|
Earliest global release date