+ Reply to Thread
Results 1 to 5 of 5

Make Sum Calculate BLANK cells as 0

  1. #1
    Registered User
    Join Date
    03-16-2015
    Location
    Another Dimension
    MS-Off Ver
    2007
    Posts
    9

    Make Sum Calculate BLANK cells as 0

    Hi Everyone,
    in my attachment, I do not get a sum total cells F18 & F19 when cells are blank and get the #value! error,
    is there any make the these total cells calculate blank as 0??? the blank cells have their respected formulas which are accurate, need help to make F18 & F19 also calculate blank cells to give a total without getting an error,
    please help.



    Thank you in advance,
    X
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Make Sum Calculate BLANK cells as 0

    Replace the + with ,
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Make Sum Calculate BLANK cells as 0

    The sum function ignores text. The + operator does not ignore text. Because your formula uses the + operator, the text strings cause an error. I would recommend replacing your current sum functions with something like =SUM(E8,E10,E12...) and let the sum function ignore the text strings.

    Either that, or I would drop the SUM() function and use the + operator (having them both is redundant). Then have your =IF() functions return 0 instead of "".
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Make Sum Calculate BLANK cells as 0

    You could use one of these methods:
    1.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    2.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Registered User
    Join Date
    03-16-2015
    Location
    Another Dimension
    MS-Off Ver
    2007
    Posts
    9

    Re: Make Sum Calculate BLANK cells as 0

    Thanks everyone, all worked, i new something simple like this was right in front of me, i got using + sign too much in recent projects, i've overlooked at the formulas too hard and forgot about using " , "
    much thanks too everyone.

    X.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Make cells appear blank when not in use
    By Dani3113 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-17-2014, 12:29 AM
  2. [SOLVED] How to make cells blank when referring to another blank cell
    By Tinwelende in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-05-2014, 06:09 AM
  3. How can I make a macro ignore blank cells? - Blank Cells have formulas
    By mz1161 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2013, 08:54 AM
  4. Find a blank cell and calculate the average of all cells above till the next blank
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 11:51 AM
  5. Replies: 2
    Last Post: 09-22-2008, 08:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1