LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Simon Lloyd
 
Posts: n/a
Default How to sum cells but not show zero if cells are blank?


Thanks for the speedy reply both!, it did help alot, but i have one
other problem, i need the statement to be an or statement i.e
=IF(SUM(P5:Q5)=0,"",SUM(R4-P5+Q5)) needs to be something like
=IF(SUM(P4)=0,(IF(SUM(Q4)=0,"",SUM(R3-P4+Q4)))) but this returns a
value FALSE, it needs to say if P4 is 0 then sum R3+Q4 or If Q4 is 0
then sum R3-P4 Or if there are values in both then R3-P4+Q4 and of
course if there are no values in P4,Q4 then dont show zero!

Phew! its clear as mud to me hope you can sort the muddle!

regards,
Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=549933

 
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
How to count blank cells that contain formula? IntricateFool Excel Discussion (Misc queries) 5 June 8th 06 02:45 PM
Automatically add "0" to blank cells without a formula in the cel. LuLu Excel Worksheet Functions 0 May 9th 06 03:13 PM
OFFSET to include blank cells GMCN Excel Worksheet Functions 2 April 3rd 06 10:11 AM
Want #VALUE! to show as blank cell JoeyW Excel Worksheet Functions 2 November 4th 05 09:24 AM
blank cells R.VENKATARAMAN Excel Discussion (Misc queries) 1 April 6th 05 10:25 AM


All times are GMT +1. The time now is 10:03 AM.

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

About Us

"It's about Microsoft Excel"