Conditional Formatting for text matches in ranges

AZG1001

New Member
Joined
Feb 22, 2015
Messages
3
Hi, this has me completely stumped :(:(:(

I have a number of text values in range $H$5:$H$44
I have a block of cells elsewhere (!$O$4:$V$4) and want any of the values in range 1 to have red text if they match any of the values in this range.
Seems very simple and I have tried a bunch of formulas, but they all either do nothing or apply the formatting to all the values.
The point is to be able to change the values in range 2 without updating the formula.

Additionally, I would like the cells in the 3 following columns from range 1 to follow suit, so if the first becomes red, they all do.

This has turned out to be the toughest thing I have ever tried in excel which is pretty strange to me... thanks much in advance.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Select H5:H44.
Fire up CF.
Select the formula option.
Enter the following formula:

=MATCH($H5,$O$4:$V$4,0)

And choose the format you wish when MATCH succeeds.
 
Upvote 0
Select H5:H44.
Fire up CF.
Select the formula option.
Enter the following formula:

=MATCH($H5,$O$4:$V$4,0)

And choose the format you wish when MATCH succeeds.

Worked perfectly. Still the issue of the columns to the right of the range. I would like them to match the formatting of the first range. Any way to do that?

Thanks so much, huge help!
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

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