Condition formatting multiple cells with color

rob36

Board Regular
Joined
Jul 12, 2010
Messages
57
Hello,

I have a program currently set up where operators enter in information into 5 cells. If possible, I would like to have it so that if an operator enters in information into H6 for example, then F6,G6, H6, I6 and J6 will all light up green.

Currently I ahve my conditional formatting set up so it says

=($H$6="OUT")

it then applies a green fill as a result, and I have it set so it applies to: =$F$6:$J$6

This works fine for that cell. I would like to get it so that it not only works for H6, but also if I were to have H7 column say OUT, then it would highlight it green for F7, G7, H7, I7 and J7 (and so on, ideally for about 20 rows)

Is this possible to do in a single conditional format, or do I need to do a different conditional format for each row (That would be kind of a pain)

Essentially, it would need to be something like instead of row 6, the row becomes a wildcard or something would be how I would guess to try and handle it.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Change the formula from
=($H$6="OUT")
to
=($H6="OUT")

Then you can copy F6:J6, and paste special - formats to the rest of the rows.
Or just change the applies to range to $F$6:$J$(whatever row)

Hope that helps.
 
Upvote 0
thank you, that appears to do what I want :)

if I want it to not only apply to H6 = out, but say M6 = Out, could I remove the $ before $H6= "OUT" in my formula to make it work? I tried that and I don't think it was giving me the results I expected.
 
Upvote 0

Forum statistics

Threads
1,224,570
Messages
6,179,611
Members
452,931
Latest member
The Monk

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