Forum Discussion

airoosh's avatar
airoosh
Copper Contributor
Aug 20, 2024

Auto highlight cell

Hello,

 

I need help in creating a formula (through conditional formatting maybe?) where, when a name/names are selected in the dropdown - those names in column E (source of the dropdown list data) will be highlighted/formatted.

 

The goal: So user can know not to chose that name again as it is taken...

 
 

 

 

 

  • airoosh 

    Select E2:E10. E2 should be the active cell in the selection.

    On the Home tab of the ribbon, click Conditional Formatting > New Rule...
    Select 'Use a formula to determine which cells to format'.
    Enter the formula

    =COUNTIF($B$2:$B$100, E2)

    Click Format...
    Activate the Fill tab.
    Select yellow as fill color.
    Click OK, then click OK again.

     

    Also see Hide Used Items in Drop Down List

Resources