+ Reply to Thread
Results 1 to 6 of 6

summing but ignoring #value errors

  1. #1
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    summing but ignoring #value errors

    Hello. Can I sum a list but have the toal ignore errors (otherwise an error comes up even if there is a lot of data but just one error) Thanks.

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: summing but ignoring #value errors

    You can try:

    =AGGREGATE(9,6,your_range)

    - Moo

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,463

    Re: summing but ignoring #value errors

    Try this array* formula:

    =SUM(IF(NOT(ISERROR(range)),range))

    where you should substitute your cell references for range.

    *An array formula must be committed using the key combination of Ctrl-Shift-Enter (CSE), rather than the usual <Enter>.

    Hope this helps.

    Pete

  4. #4
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: summing but ignoring #value errors

    If your range was in, say, A1:A10, you could do something like this:

    =SUM(IF(ISNUMBER(A1:A10),A1:A10))

    This is an array formula, and must be entered with Ctrl-Shift-Enter, not just Enter

  5. #5
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: summing but ignoring #value errors

    As Moo the Dog points out. The AGGREGATE function is the way to go. That is as long as if you have Excel 2010>
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  6. #6
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    Re: summing but ignoring #value errors

    Oh yes, the aggregate function is great. Thanks

+ 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