If then statements

E

Emily

Hi, I know this is probably a really easy question... but I'm not very good
in excel yet. Here is what I'm trying to do:

I have three cells that I will put numbers in. If all three of these cells
have numbers in them, I want the "total cell" to say .25. If they don't...
then I want it to say 0.

How do I do this?

Thanks for your help!
 
M

Mike

With your 3 number in A1 to C1 try in another cell

=IF(COUNTIF(A1:C1,">0")=3,SUM(A1:C1),"")

Mike
 
T

Tommy

If any of A1, A2, or A3 are blank the result is 0 otherwise result is .25
Try this:

=IF(OR(A1="",A2="",A3=""),0,0.25)
 
Top