HOW TO APPLY GRAY HIGHLIGHTING TO RANGE, BASED ON ENTRY IN ONE CELL

D

Dave K

Hello, i am attempting to apply gray shading to the range i12:w12,
based on the cell g12. That is, if cell g12 contains the word "yes", i
want the cells i12 thru w12 to be highlighted gray.

Is there a simple way to accomplish that result?

Thanks for any suggestions.
 
D

Dave K

......i.e., is there a good formula to use via the "CONDITIONAL
FORMATTING" function.
 
D

Dave K

Hello, i am attempting to apply gray shading to the range i12:w12,
based on the cell g12. That is, if cell g12 contains the word "yes", i
want the cells i12 thru w12 to be highlighted gray.

Is there a simple way to accomplish that result?

Thanks for any suggestions.

....i.e., is there a good formula to use via the "CONDITIONAL
FORMATTING" option.
 
D

Dave Peterson

Select the range and use:

=$g$12="yes"
(if contains means equals)

If contains means that there could be more stuff along with "yes":
=countif($g$12,"*yes*")>0

=countif() will use those asterisks as wild cards.
 
D

Dave K

Select the range and use:

=$g$12="yes"
(if contains means equals)

If contains means that there could be more stuff along with "yes":
=countif($g$12,"*yes*")>0

=countif() will use those asterisks as wild cards.

Great. thanks a million!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top