#1   Report Post  
andyp161
 
Posts: n/a
Default IF Problem


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


--
andyp161
------------------------------------------------------------------------
andyp161's Profile: http://www.excelforum.com/member.php...o&userid=11654
View this thread: http://www.excelforum.com/showthread...hreadid=374001

  #2   Report Post  
JBoulton
 
Posts: n/a
Default

Andy,

This should work for you.

=IF(SUM(C4)=0,"",SUM(C4))
--
Jim


"andyp161" wrote:


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


--
andyp161
------------------------------------------------------------------------
andyp161's Profile: http://www.excelforum.com/member.php...o&userid=11654
View this thread: http://www.excelforum.com/showthread...hreadid=374001


  #3   Report Post  
Barb
 
Posts: n/a
Default

Hi

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

Barb

"andyp161" wrote:


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


--
andyp161
------------------------------------------------------------------------
andyp161's Profile: http://www.excelforum.com/member.php...o&userid=11654
View this thread: http://www.excelforum.com/showthread...hreadid=374001


  #4   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Wed, 25 May 2005 13:34:55 -0500, andyp161
wrote:


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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Display Problem Bill Martin -- (Remove NOSPAM from address) Excel Discussion (Misc queries) 0 April 19th 05 05:25 PM
EXCEL 2003 PROBLEM Amandle Excel Worksheet Functions 4 April 1st 05 02:25 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM
Paper Tray selection Problem, Michael Hoffmann Excel Discussion (Misc queries) 4 December 3rd 04 09:08 PM


All times are GMT +1. The time now is 11:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"