IF Problem

  • Thread starter Thread starter andyp161
  • Start date Start date
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
 
Hi

Try this
=IF(IF(SUM(C4)="","",SUM(C4))=0,"",IF(SUM(C4)="","",SUM(C4)))

Barb
 
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
 

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

Back
Top