Why is this equation equal to Zero and not 555?

sleepdoc

New Member
Joined
Jul 28, 2005
Messages
41
I have been using Excel for years. but i hate if statements and im very bad at them.

A1 is NO
A2 is NO
A3 is NO

(The "NO" is a data validation list value)

The equation reads

=IF((A1="NO" & A2="NO & A3="NO"), 555,0)

I keep getting Zero instead of 555.

Argg.

thanks for any help
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Because the way you have written it you are trying to concatenate the cells, try...

=IF(AND(A1="NO",A2="NO",A3="NO"),555,0)
 
Upvote 0
You could try something like this:
Code:
=IF(COUNTIF(A1:A3,"NO")=3,555,0)

Is that something you can work with?
 
Upvote 0
Another suggestion:
Code:
=--(A1&A2&A3="NONONO")*555
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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