+ Reply to Thread
Results 1 to 3 of 3

Ignoring Blank-Zero Cells

  1. #1
    Registered User
    Join Date
    02-26-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Ignoring Blank-Zero Cells

    Hi
    I have to sum an array of cells A1+A5+A6+A9 but some of those cells have a zero value or is blank. What formula do I need to ignore those values so not to get an error in the totals cell.
    Thanks

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Ignoring Blank-Zero Cells

    Battledeck,

    The Sum() function ignores text and counts blank cells as 0. So if A1 is blank, A5 is 1, A6 is 0, and A9 is 2, it would be 0+1+0+2 = 3, which is the correct sum:
    =SUM(A1,A5,A6,A9)
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    02-26-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Ignoring Blank-Zero Cells

    Thanks tigervator

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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