MAX and MIN Formula in Excel

If you just need to max and min formula in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

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

=MIN(number1, [number2], ...)

Arguments

Argumentrequired / optionalDescription
number1requiredThe first number, range or array.
number2, ...optionalFurther values or ranges. Text, logicals and blanks are ignored.

Related functions

MAXSMALLMAXIFS and MINIFS
Annotated stepsExcel
1

Select the result cell and type =MIN(.

2

Select the range, or list the values to compare separated by commas.

3

Press Enter. Format the result as a date if the inputs were dates.

4

To cap rather than find a minimum, put the cap first: =MIN(cap, value).

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

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 “max and min formula in excel”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the tool above 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. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. The short version of “max and min formula in excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

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 MIN on 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.