Forum Discussion

mlee147's avatar
mlee147
Copper Contributor
Jan 24, 2022
Solved

Hide other duplicates using cond formatting + IF function based on x in adjacent cell

Hi All, I'm working on a personnel deployment tool, which gives me a list of names under specific work areas. However, some operatives are qualified to work in more than one area. Therefore I'm tr...
  • HansVogelaar's avatar
    Jan 24, 2022

    mlee147 

    Select E2:E5, then hold down Ctrl and select C2:C5, and finally, with Ctrl still held down, select A2:A5. You can then release Ctrl.

    A2 should now be the active cell in the selection.

    Create a conditional formatting rule of type Formula with formula

    =AND(B2="",COUNTIF($A$2:$E$5,A2)>1)

    See the attached sample workbook. I used the custom number format ;;; (three semicolons) to hide the duplicate entries.

Resources