conditional formatting by formula

jammoca

Banned
Joined
Nov 6, 2002
Messages
1,100
I have dates written into range H3:BE3

I have dates writen in BF8:DG8

I would like a condditional format formula that colours individual cells in the range H8:BE8, if a cell in the range H3:BE3 is the same as a date in BF8:DG8.

In other words, let's say H3 has the same date as BF8, then cell H8 would be coloured black, otherwise, not coloured at all.

What would I type in the formula box of conditional format (by formula) for this ?

Kind regards,

Chris
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Re-reading what I wrote, it was probably very confusing.

My task is this ...

for the cell H8, I'd like it filled black, if any date within the cells BF8:DG8 contain the same date (written within the cell) as any date found within the cells H3:BE3.

I'd like the same black fill to occur for cells I8, J8, K8 etc etc all the way through to BE8.

I hope that makes a little more sense.

Kind regards,

Chris
 
Upvote 0
Hi, are you looking to match cell by cell i.e. H8=BF8, I8=BG8 or match the call to the range i.e. H8 = anything in BF8:DG8?
 
Upvote 0
OK, sorry posts crossed there

=MATCH(H8, $BF$8:$DG$8, 0)
 
Upvote 0

Forum statistics

Threads
1,218,515
Messages
6,142,916
Members
450,453
Latest member
spaudel

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