Formula Friday – Highlight Expired Policy Numbers With Conditional Formatting In Excel.


Happy Friday Excellers, time for some Formula Fun.

Today a simple formula to conditionally highlight any policy numbers in our data set that are out of date.

 

 

 

Here is our data set.  An extract of a list of policy details.

conditional formatting17

 

To enter the formula

  • Highlight your cells.
  • Home Tab
  • Styles Group
  • Conditional Formatting
  • Hit New Rule
  • Select Use A Formula To Determine Which Cells To Format

Conditional formatting duplcate values1

We are going to use the TODAY() function which returns the current date.

By adding in the formula below, which looks at the value in our first cell with the date we want to check, which is in cell C2 then checks if it is less than today’s date.  If it is, then the conditional formatting applies.  I have decided to highlight in overdue dates in orange.

conditional formatting13

  • Hit Ok
  • Select the range of cells you want the formatting to apply to.
  • In this example it is C2:C6

conditional formatting14

  • Hit apply and your job is done.

 

conditional formatting16

Want to watch the Video?

More Excel Tips

MR Xl 40 formulas

excel-formulas-ad-5

Barbara

Barbara is an experienced data analyst with over 20 years of experience. Author of the How To Excel At Excel Top 50 Excel tips Ebook, YouTuber and Excel Blogger.

Recent Posts