Help with conditional formatting

ExcelGuruWannaBe

New Member
Joined
Mar 18, 2011
Messages
8
I am trying to create a spreadsheet with 3 conditional formats:
1) Cell Value is less than =$D$6+(((($D6*$AE$6)/$H$2)*Y$3)*$AE$7); format = Red
2) Cell Value is less than =$D$6+(((($D6*$AE$6)/$H$2)*Y$3)*$AE$9); format = Yellow
3) Cell Value is greater than or equal to =$D$6+(((($D6*$AE$6)/$H$2)*Y$3)*$AE$9); format = Green

Everything works find unless there is nothing input into the cell and then it formats red. I tried the Formula Is/And function, but thas does not seem to work for me either.

Any thougts? Thanks!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Try this...

Condition 1:
Formula is =AND(A6<>"",A6<$D$6+$D6*$AE$6/$H$2*Y$3*$AE$7)
Red

Condition 2:
Formula is =AND(A6<>"",A6<$D$6+$D6*$AE$6/$H$2*Y$3*$AE$9)
Yellow

Condition 3:
Formula is =AND(A6<>"",A6>=$D$6+$D6*$AE$6/$H$2*Y$3*$AE$9)
Green


In this example, cell A6 is the cell that has the Conditional Formatting.
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,848
Members
452,948
Latest member
UsmanAli786

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