22

How would I get a row in my table to highlight if the date in the column F equals todays date.

enter image description here

Note that more than one row can be lit up at once.

0

2 Answers 2

26

STEP 1:

Select your table without headers (B24:G31 in image below).

With selected table go to HOME->CONDITIONAL FORMATTING->New Rule...

enter image description here

STEP 2:

Select Use formula to determine which cells to format, enter formula: =$F24=TODAY(), choose desired formatting and press OK.

enter image description here

RESULT:

enter image description here

4
  • 3
    You can also do that without formulas - select "Highlight Cell rules" and then "A date occuring" and select "today" from the dropdown Commented Mar 12, 2014 at 0:27
  • 1
    @barryhoudini, absolutelly true! however using this approach it would be a problem to highlight entire row based on value in column F Commented Mar 12, 2014 at 8:32
  • 1
    OK, yes, for entire row you need the formula Commented Mar 12, 2014 at 11:49
  • 1
    Thanks @simoco! I don't know why Microsoft doesn't add a built-in rule to "highlight row or column based on the value of a cell". This seems like a really common usage.
    – Adam Porad
    Commented Oct 14, 2015 at 16:25
0

If column A is just months and you want to show the annual rows then use the below formula

=MOD($A1,12)=0

Don't forget to format you row

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.