FormulaCraft

How to highlight the highest value in a range in Excel and Google Sheets

Topic:Conditional formatting
Excel & Google Sheets
=A2=MAX($A$2:$A$6)

Verified example

Computed by a real spreadsheet engine on the sample data below.

Score
80
95
72
95
88

=A2=MAX($A$2:$A$6)FALSE

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Select the range to check (e.g., A2:A6).
  2. 2Open Conditional Formatting and choose 'Use a formula' (Excel: New Rule → Use a formula; Sheets: Format → Conditional Formatting → Custom formula is).
  3. 3Enter =A2=MAX($A$2:$A$6) and pick a highlight color — every cell equal to the maximum will be colored.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

Can I highlight the top 3 values instead of just the highest?

Yes — use LARGE: =A2>=LARGE($A$2:$A$6,3) highlights all values in the top 3.

Does this work for text ranges?

MAX only works with numbers. For text, use MAX with EXACT or sort the range and check the last item.

More on Conditional formatting

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: