+ Reply to Thread
Results 1 to 4 of 4

Sum Multiple Cells Ignoring Error if found in one of the Cells

  1. #1
    Registered User
    Join Date
    04-30-2011
    Location
    Indian, TN
    MS-Off Ver
    Excel 2007
    Posts
    37

    Sum Multiple Cells Ignoring Error if found in one of the Cells

    Hi All,

    I am having a challenge in summing up multiple cells when there is a error in one of the cells. I require a standard formula that can ignore the error found in one of cells and sum all the available values in other cells. The values in the allocated, completed and pending cells for each of the agents are vlooked from another workbook and so if an agents was not allocated work from one of the buckets then there is no value found and the vlook up formula throws throws the #N/A error. But I would like to still sum the completed values for the other buckets those were allocated to the agent.

    Please find attached the simple spreadsheet with the table wherein I have tried explaining the desired result. Please check and provide your valuable support and thank you in advance for the help.

    Test.xlsx

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sum Multiple Cells Ignoring Error if found in one of the Cells

    Use this array formula

    =SUMPRODUCT(($B$2:$J$2="Completed")*IFERROR($B4:$J4,0))

    Confirm with Ctrl+Shift+Enter and not just Enter
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    04-30-2011
    Location
    Indian, TN
    MS-Off Ver
    Excel 2007
    Posts
    37

    Re: Sum Multiple Cells Ignoring Error if found in one of the Cells

    Thank you so much, it worked solving my challenge as I exactly required.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sum Multiple Cells Ignoring Error if found in one of the Cells

    Here's another one...

    =SUMIFS(B3:J3,B$2:J$2,"Completed",B3:J3,">0")

    Assuming no negative values.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. [SOLVED] Run-time error. No cells were found
    By wonderd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-13-2014, 04:52 AM
  2. Ignoring blank cells if the value has been found.
    By beelv in forum Excel General
    Replies: 1
    Last Post: 01-10-2014, 08:14 AM
  3. [SOLVED] Error: No cells were found
    By Excel_vba in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 12-29-2013, 02:49 AM
  4. [SOLVED]Ignoring error cells in final SUM formula
    By lvl-48 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-26-2013, 02:48 PM
  5. [SOLVED] add multiple cells ignoring #n/a cells
    By jbillyo in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-10-2013, 04:44 PM

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