Forum Discussion

BMSAMSON's avatar
BMSAMSON
Copper Contributor
May 02, 2024

Conditional formatting in Excel

I have a workbook saved for members of our racing team (each person on a row) to signify their availability for each week's racing during the season (columns).  I've set it up with a data validation ...
  • MAngosto's avatar
    May 02, 2024

    BMSAMSON 

     

    Go to Conditional Formatting in the "Home" tab. Select New Rule. Then, select "Use a formula to determine which cells to format". Once there, you should type, =A1="Yes" and then go to "Format" in the lower right corner and select which options you would like to apply when "Yes" is entered in cell A1.

     

    Do the same procedure for "No" and use =A1="" for the option with the cell being blank.

     

    Once you have it all, make sure to use the formula as =A1="Yes" and not =$A$1="Yes". That is, use relative references, not absolute references. Once you have it all set for one cell and you make sure it works, then go to "Format Painter" on the left side of the "Home" tab and then drag the cell to cover all weeks. That will "move" your conditional formatting to all desired cells.

Resources