Sum If functions

S

Scott R

Sorry to do this as i think its a very basic formula its just i dont use them
often..

I need to calculate Z5 - X5 but not if Z5 is blank (or zero). Any help would
be great or where exactly i should look as ive tried a few different formulas
from excel help but theyre not working..
 
T

T. Valko

You suject line mentions "sum if functions" but your explanation suggests
otherwise.
I need to calculate Z5 - X5

I take that to mean: Z5 minus X5

If that's what you want try this:

=IF(Z5=0,"",Z5-X5)
 
S

Scott R

Hi,
I wasnt totally sure of the function.. I actually need Z5 - X5 but not if Z5
= 0, i think the formula i have says if it does = 0?
 
R

Rod

the formula below is correct, translation:
if Z5 = 0 then make the cell blank which you do by using two double
quotation marks. This portion is the 'IF,THEN' part of the function. The
next portion is the ELSE part. It says that if Z5 does not = 0 then perform
the function. all statements starting with IF use the same basic principle
of IF,THEN,ELSE in those three segments in that order. each segment can
contain as many nested IF statements and other functions as necessary.
 
S

Scott R

Sorry guys, i have it working now.. thanx!! :)

Rod said:
the formula below is correct, translation:
if Z5 = 0 then make the cell blank which you do by using two double
quotation marks. This portion is the 'IF,THEN' part of the function. The
next portion is the ELSE part. It says that if Z5 does not = 0 then perform
the function. all statements starting with IF use the same basic principle
of IF,THEN,ELSE in those three segments in that order. each segment can
contain as many nested IF statements and other functions as necessary.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top