Conditional Formating cells in table referencing adjacent cell containing text

SHANE78

New Member
Joined
Mar 18, 2013
Messages
2
I am a little stuck on with conditional formating. I have a table table that i'd like to format. Specifically a row of cells (E14:K14) that i'd like to highlight if cell (D14) is listed in a range of cells on a seperate tab (C12:C43). Do i need to do an if statement with a match statement? I am not sure how to proceed. Thanks in advance for the assistance. Oh, and the cell values are all text.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi

You can do this by conditional formatting.

1. Select D14 to K14 , Go to conditional formatting (Alt,o,d)

2. Click New rule

3. Click Use a formula to determine which cell to format

4. Enter =COUNTIF($C$12:$C$44,$D15)>0

5 Format some color and click OK.

Thanks
4.
 
Upvote 0
Thank you anand_babu123. However I'm still having an issue with blank cells in the cell range. For example what if there are blanks in cells with the c12:c44 range? When I input the formula for CF and I leave cell d14 blank, cells e14:k14 are grey (per my CF). I would have thought the >0 would take care of that. Any suggestions? Thanks
 
Upvote 0

Forum statistics

Threads
1,221,476
Messages
6,160,062
Members
451,615
Latest member
soroosh

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