Conditionally formatting duplicates
We are now going to apply the same logic used in the previous two exercises.
However, we are now going to do it with conditional formatting.
This will create a more readable report where the duplicates are easy to see.
Specify fixed ranges for the formulas in this exercise.
Identifying a fixed range with $
's (A$3:A$18
in this exercise's case) usually produces the same results as referring to an entire column (A:A
), but fixing a range is more precise while using the entire column is more flexible.
This exercise is part of the course
Conditional Formatting in Google Sheets
Exercise instructions
- Conditionally format the cells in the
Name
column using a custom formula that applies the Default green background if theCOUNTIF
formula is greater than one.- For the first criteria of this first
COUNTIF
function, fix the rows of the range with$
but do not fix the columns (e.g.A$3:A$18
).
- For the first criteria of this first
- Write a similar rule that conditionally formats the cells in the
Phone number
column with the same Default green background.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
