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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,224,827
Messages
6,181,200
Members
453,022
Latest member
RobertV1609

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