Conditional Format question

Desu Nota from Columbus

Well-known Member
Joined
Mar 17, 2011
Messages
556
Excel 2003:

For the range of cells I17:L22, I have the following formula applied to each cell:

I17= "=IF(OR(I8="", H8=""),"",(I8-H8)/I8)"
I18= "=IF(OR(I9="", H9=""),"",(I9-H9)/I9)"
J17= "=IF(OR(J8="", I8=""),"",(J8-I8)/J8)"
J18= "=IF(OR(J9="", I9=""),"",(J9-I9)/J9)"
ETC....

I have following conditional formatting rules:

1) =I17>0 Green Background
2) =I17<0 Red Background
3) =OR(I17=0, I17="") White Background (Don't Change)


Currently all "blank" cells are turning Green, I put blank in quotation marks because each cell contains the formula listed above which I believe causes excel to see them as not blank.

How do I change my formatting or formula to fix this problem?

There is a necessary differentiation between Blank and Zero so I can't change my formula to turn blank cells to 0's.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I finally got it. I've dickered with this for almost 30 minutes.

I changed the conditional formatting to

=ISNUMBER(I17)*(I17>0)

=ISNUMBER(I17)*(I17<0)

=ISNUMBER(I17)*(I17=0)

Thanks for the answer (yours worked as well--i forgot to refresh the page when I looked to see if anyone replied)
 
Upvote 0

Forum statistics

Threads
1,224,509
Messages
6,179,192
Members
452,893
Latest member
denay

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