Forum Discussion

Tony2021's avatar
Tony2021
Iron Contributor
Dec 21, 2021
Solved

Highlight Duplicates (Extended) - 2 Columns (shade both columns)

hello,  I have a conditional formatting with a countif formula =COUNTIFS($B$2:$B$7,B2,$A$2:$A$7,A2)>1 it correctly highlights but I want to extend the highlight to column B as well.   It currentl...
  • HansVogelaar's avatar
    Dec 21, 2021

    Tony2021 

    Select A2:B7. The active cell should be in row 1.

    Create the conditional formatting rule with formula

     

    =COUNTIFS($B$2:$B$7,$B2,$A$2:$A$7,$A2)>1

Resources