Conditional formatting using values in multiple cells

Cherian George

New Member
Joined
Jan 29, 2010
Messages
4
Hi All - I'm not sure if this is possible but would like to pick your experience and knowledge to see what could be done...

I'm trying to apply a conditional formatting on a column.. to change the cell color when it meets the below conditions:

Condition 1. Cells in the column where we have conditional formatting applied should be more than 0
AND
Condition 2. Value in the adjacent cell in the same row should be a fixed text
AND
Condition 3. Value in a fixed cell anywhere in the file should be a fixed text.

Example:
I have texts in cell A3, A6, A7, A9.... = Deployed
I have text in cell B2 = Not Deployed
I have text in cell C2 and D2 = Deployed
and the cells in column D randomly 0 or more

I need to have conditional formatting applied in column D, the conditions should be as mentioned above... If I'm looking at Cell D3, if the value is more than 0, if the value in D2 = Deployed and if the value in A3 is Deployed, then the cell D3 should be colored green..

I have tried a lot of combinations and formulae and its not working... any help would be highly appreciated.
 

Attachments

  • CF_Capture.PNG
    CF_Capture.PNG
    15.1 KB · Views: 23

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
I find your description to be a little inconsistent. I am sure this is going to be straightforward once we sort out what you need.

Value in the adjacent cell in the same row should be a fixed text
Adjacent cell to the left, or to the right?
When you say "fixed text" do you really mean "Deployed"?

Value in a fixed cell anywhere in the file
No idea what you mean by this or how your example illustrates it.

If I'm looking at Cell D3, if the value is more than 0, if the value in D2 = Deployed and if the value in A3 is Deployed, then the cell D3 should be colored green..
Why are you looking to see if D2 = "Deployed"? There is no mention in any of your requirements about the cell above the cell to be formatted.
Your requirement was that "Value in the adjacent cell in the same row should be a fixed text". A3 is not adjacent to D3.
 
Upvote 0
Perhaps this:
Book1
ABCD
1LocationABC
2Not DeployedDeployedDeployed
3Deployed000
402000
5No DataNo DataNo Data
6Deployed00200
702500
8Deployed000
9000
10000
11Deployed03025
12000
13000
14Deployed0500
15000
16000
17Deployed0010
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D3:D17Expression=AND($D3>0,$D$2="Deployed",$A3="Deployed")textNO
 
Upvote 0
Perhaps this:
Book1
ABCD
1LocationABC
2Not DeployedDeployedDeployed
3Deployed000
402000
5No DataNo DataNo Data
6Deployed00200
702500
8Deployed000
9000
10000
11Deployed03025
12000
13000
14Deployed0500
15000
16000
17Deployed0010
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D3:D17Expression=AND($D3>0,$D$2="Deployed",$A3="Deployed")textNO
yes this is what i'm looking for
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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