Syntax
=MINIFS(min_range, criteria_range1, criteria1, [criteria_range2], [criteria2], ...)Arguments
| Argument | Required | Description |
|---|---|---|
min_range | Required | The cells to take the minimum of |
criteria_range1 | Required | The first range to check |
criteria1 | Required | The condition for the first range |
criteria_range2 | Optional | More ranges |
criteria2 | Optional | More conditions |
How to use MINIFS
MINIFS takes 3 required arguments and 2 optional arguments, and accepts more values in the same pattern. Type =MINIFS( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=MINIFS(B1:B3, A1:A3, "y")Result Data in the sheet
| A | B | |
|---|---|---|
| 1 | y | 10 |
| 2 | n | 99 |
| 3 | y | 20 |
Related statistical functions
- MAXIFSReturns the largest number among the cells that meet all conditions.
- MEDIANReturns the middle number of the values (the average of the two middle ones for an even count).
- MINReturns the smallest number.
- MINAReturns the smallest value, counting text as 0 and TRUE as 1.
- MODE.MULTReturns a vertical list of all values that occur most often.
- MODE.SNGLReturns the value that occurs most often.
- NEGBINOM.DISTReturns the probability of a number of failures before a given number of successes.
- NORM.DISTReturns the normal distribution for a mean and standard deviation.
- NORM.INVReturns the value at which the normal distribution reaches a probability.