MAX Function in Excel: Complete Tutorial with Examples

MAX finds the largest value instantly, ignores text and blanks automatically, and identifies top performers, peak sales, and record highs effortlessly.

Need to find the largest number in a range? MAX returns the highest value instantly, ignoring text and blank cells. It’s essential for identifying peaks, setting benchmarks, and finding top performers or maximum capacity.

What Makes MAX Useful

MAX finds the highest value automatically:

  • Instant identification – Spot the largest number in seconds
  • Ignores non-numbers – Skips text and blanks automatically
  • Performance tracking – Identify top sales, highest scores, or peak values
  • Capacity planning – Find maximum usage or demand
  • Benchmarking – Set standards based on best performance
The Syntax
=MAX(number1, [number2], ...)

Include cells, ranges, or both. MAX handles up to 255 arguments.


Example 1: Highest Test Score

Find the top score in the class:

Formula: =MAX(B2:B6)

Result: 92

Bob has the highest score. MAX scans all values and returns the largest.


Example 2: Peak Sales Month

Find the best performing month:

Formula: =MAX(B2:B6)

Result: $15,600

April had the strongest sales. Use this to identify successful periods.


Example 3: Multiple Ranges

Find the maximum across different quarters:

Formula: =MAX(B2:B4, C2:C4)

Result: $6,200

Checks both quarters and returns Widget C’s Q2 sales as the highest.


Example 4: Handling Mixed Data

What does MAX do with text and blanks?

Formula: =MAX(B2:B6)

Result: 42

MAX ignores “High” and the blank cell. Only considers 25, 42, and 38.


Example 5: Longest Project Duration

Find the project that took the most time:

Formula: =MAX(B2:B5)

Result: 62

Beta took the longest. MAX works perfectly for duration tracking.


Example 6: Top Performer

Identify the highest sales in the team:

Formula: =MAX(B2:B5)

Result: $142,000

Jennifer leads the team. Use this for recognition or analysis.


MAX vs Related Functions
What MAX Includes

Considered:

  • Positive numbers: 1, 42, 1000
  • Negative numbers: -5 is larger than -10
  • Decimals: 3.14, 99.9
  • Zero: 0
  • Dates: 12/31/2025 (stored as numbers)

Ignored:

  • Text: “Hello”, “High”
  • Empty cells
  • Logical values: TRUE, FALSE (use MAXA to include these)
  • Error values: #N/A, #VALUE!
Common Use Cases

Sales Analysis Find peak performance periods or top performers.

Capacity Planning Identify maximum usage, demand, or load.

Quality Benchmarks Set standards based on best results.

Competition Tracking Compare your maximum against competitors or historical highs.

Practical Combinations

Find which item has the maximum:

=INDEX(A2:A10, MATCH(MAX(B2:B10), B2:B10, 0))

Highlight if equals maximum:

=IF(B2=MAX($B$2:$B$10), "Top Performer", "")

Calculate range (Max – Min):

=MAX(B2:B10) - MIN(B2:B10)

Percentage of maximum:

=B2/MAX($B$2:$B$10)*100
Common Mistakes to Avoid

Expecting Text to Be Evaluated

  • MAX ignores text completely
  • “100” as text won’t be compared to numbers
  • Check cell formatting if numbers don’t register

Understanding Negative Numbers

  • -10 is larger than -100
  • MAX returns the least negative value
  • Remember: higher means larger, even with negatives

Empty Ranges

  • MAX of an empty range returns 0
  • This can be misleading
  • Check for data before using MAX
Tips for Using MAX

With Conditions MAX doesn’t have built-in criteria. Use array formulas:

=MAX(IF(A2:A10="West", B2:B10))

(Enter with Ctrl+Shift+Enter in older Excel)

Top N Values To find second highest, use LARGE:

=LARGE(B2:B10, 2)

Multiple Criteria Combine with MAXIFS for conditional maximums (Excel 2019+)

Comparing Performance to Maximum

Calculate gap from top:

=MAX($B$2:$B$10) - B2

Show percentage of maximum achieved:

=B2/MAX($B$2:$B$10)

Flag if within 10% of maximum:

=IF(B2>=MAX($B$2:$B$10)*0.9, "Near Peak", "")
Start Using It

Open any spreadsheet with numbers. Select a range with values. Type =MAX, include your cells, and press Enter. See the largest value instantly.

MAX becomes essential for tracking peaks and setting benchmarks.


Questions about MAX? Want to explore MAXIFS for conditional maximums? Let’s connect.