Help with if formula

volkl77

Board Regular
Joined
Apr 5, 2008
Messages
76
Hi All. I am using the following formula but i am not getting the desired result.

=IF(D890=0,IF(D895=0,IF(D900=0,IF(D905=0,IF(D910=0,IF(D915=0,0))))),1)

What i am trying to do is have the IF formula do is give me a 0 value on if each of the cells in the formula is 0. If one of the cells is not equal to 0 I want the formula to give me a 1, which will in turn trigger my conditional formatting. I was using a sum formula but if I have 2 cells with the same value but opposite (one positive and one negative) i was getting a positive formatting result which was wrong. Thanks
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Try
Code:
=IF(D890=0,IF(D895=0,IF(D900=0,IF(D905=0,IF(D910=0,IF(D915=0,0,1),1),1),1),1),1)
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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