Is there a formula for conditional formating that can do the following: If duplicates…
- User
Is there a formula for conditional formating that can do the following: If duplicates found in F:F, apply formatting to the row column of F,G, H and I
- Assistant
Yes, the formula for conditional formatting that can do this is:
=COUNTIF(F,$F1)>1
This formula checks whether there are any duplicates in column F by using the COUNTIF function. If there are duplicates, it applies the conditional formatting to the entire row using the formula range F:I.
- User
The conditional format also reacts to formulas in the cell. How can the formatting react only to values
- Assistant
To make the conditional formatting react only to values and not formulas in the cell, you can add a second condition to the formula that checks whether the cell contains a formula. The updated formula would be:
=AND(COUNTIF(F,F1)))