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
 

Some videos you may like

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

jammoca

Banned
Joined
Nov 6, 2002
Messages
1,100
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
 

dave3009

Well-known Member
Joined
Jun 23, 2006
Messages
7,002
Office Version
  1. 365
  2. 2016
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?
 

dave3009

Well-known Member
Joined
Jun 23, 2006
Messages
7,002
Office Version
  1. 365
  2. 2016
OK, sorry posts crossed there

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

Watch MrExcel Video

Forum statistics

Threads
1,127,505
Messages
5,625,199
Members
416,080
Latest member
blemon

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
Top