Conditional Formatting using AND()

ilcaa

Well-known Member
Joined
May 25, 2005
Messages
751
Office Version
  1. 365
Platform
  1. Windows
I have 3 values in separate cells... i am comparing 1 cell to 2 cells. Within a cell i can write =AND(D10>D9,D10>D8) and I get FALSE or TRUE depending on numbers

BUT if i use the same formula in Conditional Formatting it doesnt produce a colored condition... how can i apply a conditional formatting when comparing multiple cells to 1 cell?

thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Can you post some sample data using the XL2BB add-in that shows the problem?
 
Upvote 0
BUT if i use the same formula in Conditional Formatting it doesnt produce a colored condition.
It does for me

23 06 14.xlsm
D
85
92
106
CF AND
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D10Expression=AND(D10>D9,D10>D8)textNO


Perhaps you could explain in words in more detail exactly what you are trying to do?
 
Upvote 0
I have 3 values in separate cells... i am comparing 1 cell to 2 cells. Within a cell i can write =AND(D10>D9,D10>D8) and I get FALSE or TRUE depending on numbers

BUT if i use the same formula in Conditional Formatting it doesnt produce a colored condition... how can i apply a conditional formatting when comparing multiple cells to 1 cell?

thanks
This may sound silly, but I have seen people forget to do this (including yours truly once or twice).
DON'T forget to set the desired formatting you want after you enter the Conditional Formatting rule/formula.
It is easy to get so wrapped up in getting the formula right that you forget that part.
 
Upvote 0

Forum statistics

Threads
1,215,092
Messages
6,123,063
Members
449,090
Latest member
fragment

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