Conditinal Formatting question

wbco

New Member
Joined
Jul 26, 2010
Messages
36
Hi Everyone,

I'm trying to highlight a range of cells based on one of those cells containing certain text.

I see in Excel that I can use the conditional formatting button to highlight one particular cell's background color based on certain text, but I'd like to highlight a range of cells.

Any ideas?

Thank you in advance for any help.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Yes, that can be done by using the Formula option and use Absolute Referencing in your range references.

If you need help doing this, please provide details.
 
Upvote 0
Hmmm,.... yes I would need help.

So basically if cell D23 has a "Y" in it, I need to have D15 thru D58 highlighted with a yellow background.

Again, thank you for any help you can give.
 
Upvote 0
Select cells D15:D58.
Then go to Conditional Formatting, select the Formula option, and enter this formula:
Code:
=D$23="Y"
and choose your yellow background option.

The key is to use the Absolute Reference signs ($) to lock the row at D23, so it won't move as Excel moves through the cells.

See here for an explanation of Absolute/Mixed/Relative range references.
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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