Formulyo

Excel + Google Sheets · Highlight the top

Make the top value glow

A rule that colors the row with the highest number, even when data changes.

The formula

=$B2=MAX($B$2:$B$6)

What each part means

Example

Home → Conditional formatting → New rule → Use a formula

Before
AB
1RepSales
2Laura1,250
3João980
4Priya2,410
5Tom640
6Ana1,730
After
AB
1RepSales
2Laura1,250
3João980
4Priya2,410
5Tom640
6Ana1,730

Step by step

  1. Select the data, from row 2 down.
  2. Go to Home → Conditional formatting → New rule → Use a formula.
  3. Paste the formula: =$B2=MAX($B$2:$B$6)
  4. Click Format, pick a fill colour and press OK.

In Google Sheets: Format → Conditional formatting → Custom formula is.

Where it works

The same formula in other languages

Get 1 formula a day, free

Plus a free weekly planner template for Excel and Google Sheets. Unsubscribe in 1 click.

✓ Done! Check your inbox to confirm.

Want ready-made templates? See the Formulyo pack →

Keep learning