Conditional Formatting

Santurn

New Member
Joined
May 5, 2005
Messages
18
I need help. I am looking for a formula to format Column A with shading based on a value found in Columns D, G and H. The value or text I am looking for is a "yes" in Columns D, G and H. Once that value is found I need the customer's name in Column A to be shaded. I have a formula, i.e., =D2:D25="Yes" (select format color), that works for one column but wanted to know if there is a nested formula I can use to attain the same result.

Any help is appreciated.
 
I modified the rule to pick up all of my rows and it's not working now. How do I pick up all 69 rows?

=OR(D2="yes",G2:H69="yes") I added the H69 and it didn't work.
You only want to do a row-by-row test so the formula has to be:

=OR(D2="yes",G2:H2="yes")

When you select the ENTIRE range B2:B10, then the formula will automatically adjust the references for each row.

For example, the formula to highlight cell B8 will automatically adjust to:

=OR(D8="yes",G8:H8="yes")
 
Upvote 0

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Oooo, so there's no nested formula that can be created which would do cells B2 through and including H69?
 
Upvote 0
No, no, no. You were absolutely correct. I made a mistake.
Thank you for your wonderful answer and it does work beautifully.

Have a great weekend!! You've made mine.
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,696
Members
452,938
Latest member
babeneker

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