Conditional format formula needed

RickeyS

Board Regular
Joined
Jun 23, 2006
Messages
222
I need to have a cell E16 turn color (green) if the text typed in it matches text in any cell from C16:I17.
How would I write this formula?
Thanks
Rick
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Rick

Maybe you want to expand on what you wrote because, as written, pgc's formula does exactly what you ask, but isn't very useful, whereas Peter's technically only matches certain conditions, but I suspect is actually what you meant.

Richard
 
Upvote 0
Richard, you are correct Peter's works the way I need it to, (Thanks Peter) PCG's seems to always make the cell change color no mater what text is in it.
Thanks again,
Rick
 
Upvote 0
PCG's seems to always make the cell change color no mater what text is in it.
That is because E16 is in the range C16:I17 and E16 will always match itself.
 
Upvote 0

Forum statistics

Threads
1,213,560
Messages
6,114,306
Members
448,564
Latest member
ED38

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