It seems my conditional formatting posts have become quite popular and with that, I’ve had some amazing questions asked about variations of how to use conditional formatting. I now want to show you how to can use conditional formatting to highlight entire rows of text. The approach for this one is a little bit different but works amazingly.

First off I have my list of names along with dates that staff are due to renew their certifications. I am going to set up Excel so that it highlights the entire row of data when a date has passed today's date.

  1. Open the sample file you wish to use, or recreate a sample similar to the one shown below:

  1. I have added the =TODAY() formula into cell F1 which I will reference in the conditional formatting. This also gives me the flexibility to easily change this date depending on my needs and the conditional formatting will automatically respond and change formatting where applicable.
  2. Now we are going to create the new conditional formatting rule on the first record only
  3. Highlight cells A2 to C2
  4. From the Home tab select Conditional Formatting > New Rule

  1. From the options, select Use a formula to determine which cells to format

  1. Now in the Format values where this formula is true, we need to create a formula which will check the dates for us
  2. Into the field type =$C2<$F$1
  3. Here I have used some absolute cell references to lock only the column letter. We will be copying this formatting to the other rows in our worksheet so I want the row numbers to be relative so that they change with each row we copy this to. I do not want the column letter to change. I have then locked the entire cell reference looking at our date cell in F1.
  4. Now click the Format button and apply either Font formatting, or Fill formatting options.

  1. Click OK once you have selected the formatting you wish to use
  2. Click OK to complete the rule

  1. Click OK again to close the New Formatting Rule window
  2. My first example record meets the criteria of being a date earlier than today so it has formatted accordingly (in gold)

  1. Now I need to use Format Painter to apply this same conditional formatting to the other records in my worksheet
  2. Highlight cells A2 to C2 and click the Format Painter button from the Home tab

  1. Now select the remaining records in your worksheet where you would like to use the conditional format
  2. All records which meet the criteria should now be formatted accordingly

  1. If you want to test out the formatting, change the date used in cell F1 and your record formatting should respond accordingly
  2. Have fun!

Every time I run an Excel course (which is often), I always say how much fun Conditional Formatting is. This just shows yet another genius way to use the program in a way we visually minded users can make our data look “pretty”.

Reference: https://www.thetraininglady.com/conditional-formatting-entire-row/