Formulyo

Excel + Google Sheets · Find duplicates

Spot duplicates instantly

A rule that colors any value that appears more than once.

The formula

=COUNTIF($A$2:$A$7, $A2)>1

What each part means

Example

Home → Conditional formatting → New rule → Use a formula

Before
AB
1EmailName
2ana@acme.comAna
3tom@bolt.ioTom
4ana@acme.comAna G.
5leo@cora.esLeo
6tom@bolt.ioTom B.
7mia@dyno.coMia
After
AB
1EmailName
2ana@acme.comAna
3tom@bolt.ioTom
4ana@acme.comAna G.
5leo@cora.esLeo
6tom@bolt.ioTom B.
7mia@dyno.coMia

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: =COUNTIF($A$2:$A$7, $A2)>1
  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