Category: FUNCTION | Updated: 2026-11-22
How to Use the MAX Function in Google Sheets | Find the Maximum Value in a Range
How to Use the MAX Function
The MAX function is a statistical function that returns the largest numeric value (maximum) from a specified cell range or set of arguments.
Syntax
=MAX(value1, [value2, ...])
- value1: The first number, cell reference, or cell range (e.g.,
C2:C20) to evaluate for the maximum value (required). - value2, …: Additional numbers or cell ranges to compare, separated by commas (optional).
Example Using a Table
Here is an example of finding the “Highest Sales” for the current month from the store sales table below.
| Row | Column A (Store Name) | Column B (Monthly Sales) |
|---|---|---|
| 1 | Store Name | Monthly Sales |
| 2 | Sapporo Store | 1,450,000 |
| 3 | Sendai Store | 980,000 |
| 4 | Tokyo Main Store | 2,850,000 |
| 5 | Nagoya Store | 1,620,000 |
| 6 | Fukuoka Store | 1,310,000 |
| 7 | Highest Sales | =MAX(B2:B6) |
- Formula:
=MAX(B2:B6) - Result:
2,850,000(Tokyo Main Store sales)
Common Errors and Notes
- Text and Boolean Values Are Ignored: Even if a cell range contains text (including numbers formatted as text like
"2,850,000") orTRUE/FALSE, theMAXfunction ignores them and evaluates only pure numeric values. If you want to include text and Boolean values in the evaluation, use theMAXAfunction. - Returns
0When No Numbers Exist in the Range: If the specified range contains only blank cells or text,MAXreturns0instead of an error. - Error Propagation: If any cell in the range contains an error such as
#N/Aor#DIV/0!, theMAXfunction will also return that error. To find the maximum value while excluding errors, combine it with theFILTERorAGGREGATEfunction.
Frequently Asked Questions
Q. Can I use the MAX function to find the latest date from date values?
A. Yes, you can. In Google Sheets, dates are stored internally as numeric serial values, so applying the MAX function to a range of dates returns the most recent (latest) date.
Q. How do I find the maximum value for data that meets specific criteria?
A. Use the MAXIFS function (=MAXIFS(range, criteria_range1, criterion1)). For example, you can easily find the highest sales figure within the Sales department.