Author: Oscar Cronquist Article last updated on November 14, 2018

The following conditional formatting formula highlights dates based on day of the week.


The TEXT function converts a value to text based on formatting code.  The second argument "DDDD" converts the date to day of week.




and returns Monday.

The equal sign checks if the value is equal to cell $D$3. The dollar signs make sure that cell reference $D$3 doesn't change. Each cell in range B3:B14 is evaluated and if they are equal the logical expression returns a boolean value: TRUE or FALSE.



"Monday"="Monday" and returns TRUE. This highlights cell B3.

How to apply conditional formatting to a cell range

  1. Select cell range.
  2. Go to tab "Home"
  3. Click "Conditional Formatting" button.
  4. Click "New Rule..."
  5. Select "Use a formula to determine which cells to format"
  6. Type the formula in field "Format values where this formula is true:"
  7. Click "Format" button, then pick a formatting.
  8. Click OK button.
  9. Click OK button.

Highlight records based on day of week

Column B contains all the dates we want to be evaluated, we need to make sure that the conditional formatting formula is locked to column B. A dollar sign in front of column B is what we need.