Try this:
- Select the whole column
- Click Format
- Click Conditional formatting
- Click Add another rule (or edit the existing/default one)
- Set Format cells if to:
Custom formula is - Set value to:
=countif(A:A,A1)>1(or changeAto your chosen column) - Set the formatting style.
- Ensure the range applies to your column (e.g.,
A1:A100). - Click Done
Anything written in the A1:A100 cells will be checked, and if there is a duplicate (occurs more than once) then it’ll be coloured.
For locales using comma (,) as a decimal separator, the argument separator is most likely a semi-colon (;). That is, try: =countif(A:A;A1)>1, instead.
For multiple columns, use countifs.