Conditional formatting - dates in one column, merged cells in other columns

dk73

New Member
Joined
Mar 25, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Below is a mock-up of something similar I am trying to achieve. CF has been applied to column A only, columns B and C have manual formatting.
What I want in the columns B and C is:
- if all of the 7 dates next to the merged cell is before today, format as grey fill
- if any of the 7 dates next to the merged cells equals today, format as green fill

Before anyone suggests unmerging the cells in columns B and C, they each have a few lines of data in them so ideally I want to leave the merged cells as is.

So, is it possible to use CF to get the formatting as below?

mrExcel.JPG
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi,

Are all your Shifts consisting of 7 merged rows ?

To be tested :

Excel Formula:
=OFFSET(B9,6,-(COLUMN()-1))<=TODAY()
 
Last edited:
Upvote 0
Solution
Most are as they are for one week, although there was exception where rather than 7 and 7, two were 13 and 1. But I can probably change them to 7 and 7 and add a note or comment in the cells.
 
Upvote 0
I have decided to change the way I am presenting the data, I'm even doing away with merged cells for this issue!
 
Upvote 0
I have decided to change the way I am presenting the data, I'm even doing away with merged cells for this issue!

Does it also mean you got rid of your problem ... or is there still a question pending ?
 
Upvote 0
Glad to see you could fix your initial problem
 
Upvote 0

Forum statistics

Threads
1,214,548
Messages
6,120,146
Members
448,948
Latest member
spamiki

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