IF Problem

A

andyp161

I am simply trying to link cells in different worksheets using SUM.
However, if a cell is empty, SUM returns a 0 but I want it to return as
empty. The formula I have written, but which returns "0" (linking cells
on a single sheet for ease of an example) is as follows:

=IF(SUM(C4)="","",SUM(C4))

Please help!!

Many thanks
 
R

Ron Rosenfeld

I am simply trying to link cells in different worksheets using SUM.
However, if a cell is empty, SUM returns a 0 but I want it to return as
empty. The formula I have written, but which returns "0" (linking cells
on a single sheet for ease of an example) is as follows:

=IF(SUM(C4)="","",SUM(C4))

Please help!!

Many thanks

Why are you using the SUM function to "link"?

Why not just =Sheet1!C4 or something similar?

YOu still need to do the IF(ISEMPTY(SHEET1!C4),"",SHEET1!C4)


--ron
 
Top