+ Reply to Thread
Results 1 to 3 of 3

Thread: Sum Values Only in a Range

  1. #1
    Registered User
    Join Date
    12-04-2010
    Location
    Jamaica
    MS-Off Ver
    Excel 2003
    Posts
    14

    Sum Values Only in a Range

    Hello Everyone,

    Is there a formula that i could write to sum only values in a cell even if there are error message in those cells? eg: Lets say in Column 'A' i have (120,50,25,-10,-52, #NA) I need a formula to sum the values only and ignore any text or error message.


    Thanks,
    Headley
    Last edited by headley4ever; 12-08-2010 at 12:58 PM.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Sum Values Only in a Range

    If you have just #N/A then:

    =SUMIF(A:A,"<>#N/A")
    If you have multiple error values within the precedent range then use an Array but restrict the range (entire column references aren't permitted pre XL2007)

    =SUM(IF(ISNUMBER(A1:A10000),A1:A10000))
    confirmed with CTRL + SHIFT + ENTER (enter alone will not suffice)

  3. #3
    Registered User
    Join Date
    12-04-2010
    Location
    Jamaica
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Sum Values Only in a Range

    Thanks. The formula works perfectly

+ 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.2.0