In Excel: use =MIN(range) — it returns the smallest number in the range, and doubles as a ceiling: =MIN(100, A2) caps a value at 100.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
number1 | required | The first number, range or array. |
number2, ... | optional | Further values or ranges. Text, logicals and blanks are ignored. |
Related functions
Select the result cell and type =MIN(.
Select the range, or list the values to compare separated by commas.
Press Enter. Format the result as a date if the inputs were dates.
To cap rather than find a minimum, put the cap first: =MIN(cap, value).
What this does
MIN returns the smallest numeric value among its arguments, skipping text, logicals and blanks. Its second life is as a cap: =MIN(cap, value) is the standard way to limit a figure without an IF, and pairing it with MAX brackets a value between two bounds in one readable expression. Because dates are stored as numbers, MIN also finds the earliest date in a range. Blank cells are ignored rather than treated as zero, which is usually what you want but does mean an empty column returns 0. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “what is min function in excel”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the outcome you expected before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
Order dates in A2:A500: =MIN(A2:A500) returns the earliest date once the cell is formatted as a date. Capping a commission at 5,000: =MIN(5000, Sales*0.03). Bracketing a score between 0 and 100: =MIN(100, MAX(0, A2)). MIN finds the floor of a dataset and imposes a ceiling on a calculation, and the second use appears in more real formulas than the first. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. For “what is min function in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Expecting blanks to count as zero — they are skipped, so the smallest actual number is returned instead of 0.
- Forgetting to format the result when the inputs were dates, which shows a serial number.
- Using
MINon text-stored numbers, which ignores them and returns 0.
Frequently asked questions
How do I find the earliest date?
=MIN(range) over the date column, then format the result cell as a date — dates are numbers underneath.
How do I cap a value at a maximum?
=MIN(cap, value). Combine with MAX to bracket both ends: =MIN(100, MAX(0, A2)).
Does MIN ignore zeros?
No — an explicit zero is a number and can be the minimum. Only blanks and text are skipped.