Conditional formatting using formula to define date and comparing this to a selection of dates

sandwichgirl

New Member
Joined
Aug 13, 2007
Messages
31
Office Version
  1. 365
Platform
  1. Windows
Hello
I have a table that collates team holidays and I'm trying to conditional format the days where public holidays occur. At the moment I have 12 conditional format formulas per month because I can't figure out how to get the date formula to look at all the public holiday dates in one CF formula.

The date is calculated based on the year/month/day info and then it looks at a cell to say whether it matches and CFs the cell if it does. My query is whether it is possible to have a range of cells that the date formula compares to rather than just one
=DATE($B$24,$B$23,C$24)=$AA$6 - works but isn't ideal, I'd prefer it to look at $AA$6:$AA$16, can it be done?

1669311987649.png
1669311593235.png


thanks
L
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top