Conditional formatting

Oakey

New Member
Joined
Jan 9, 2017
Messages
49
Office Version
  1. 365
How can i add a conditional format that will allow me to change a number of cells when a specific criteria is met,

IE,

If cells A2 to k2 contain data, i want the cells to change green when the word Open appears in I2, I would then want them to turn Red once i change the work to Closed.

I would also like this format to be added to 000's of rows

Any help would be much appreciated

Thanks in advance
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Select the range A2:K2

Conditional Formatting
New Rule
Use a formula to determine...
2 formulas needed, one for each colour

=AND(A2<>"",$I$2="Open")
format as green

=AND(A2<>"",$I$2="Closed")
format as red
 
Last edited:
Upvote 0
Thank you for this.

How do i copy the conditional format to do the rest of the sheet, but remains white until the data has been put in?
 
Upvote 0
Just select the range you want the format to apply to.

It should (untested) only format the cells when I2 is Open or Closed AND there is data in the range selected.
 
Upvote 0

Forum statistics

Threads
1,223,532
Messages
6,172,878
Members
452,486
Latest member
standw01

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