IF NOT THEN

C

clemente821

How can I have a formula include data when applicable and at the same time
when that cell does not apply to have it default to another cell to calculate
a sum ?
 
C

clemente821

Dave Thanks, One more thing Now I need the opposite if A1 has a value How do
I write the logic for that.
 
D

Dave F

I'm not sure what you mean by "the opposite". The formula I gave in my
earlier response tests to see if A1 has a value....

Dave
 
C

clemente821

Dave, If A1 has a and that value needs to be added to create a sum how do I
creat that. Sorry for not being clear
 
G

Gord Dibben

=IF(A1=10,A1+B1,C1+B1)

If A1 equals 10 then add A1 and B1

If A1 not equal to 10 then add C1 and B1


Gord Dibben MS Excel MVP
 
Top