Share via

Adding Values in cells while ignoring errors

Anonymous
2019-01-08T14:37:34+00:00

Hello, 

I would like to add a number of different cells together from several tables I have on my spread sheet. The Tables are all different and I only want certain data from each table to be added up. When I add up the total in cell E12 and the total in cell E25, is it possible to ignore the #VALUE! error in the second table (Cell E25) and for the total to read '10'? 

I want to be able to use this as a template, so I don't really want to have to add up each item individually. 

Any info would be appreciated. 

Thanks,

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2019-01-09T05:16:15+00:00

    Couple of options:

    This returns the sum of E10 & E25 and skips all errors in these cells:

    =AGGREGATE(9,6,E10,E25)

    This returns the SUM of E8:E30 where B8:B30 = "Exp" and specifically skips the #VALUE! error:

    =SUMIFS(E8:E30,B8:B30,"Exp",E8:E30,"<>#VALUE!")

    This returns the SUM of E8:E30 where B8:B30 = "Exp" and E8:E30 > 0, and skips all errors:

    =SUMIFS(E8:E30,B8:B30,"Exp",E8:E30,">0")

    Regards,

    Amit Tandon

    www.globaliconnect.com

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Ashish Mathur 101.9K Reputation points Volunteer Moderator
    2019-01-09T00:34:37+00:00

    Hi,

    Try this

    =SUMIFS(E8:E30,B8:B30,"Exp",E8:E30,"<=1E100")

    Hope this helps.

    Was this answer helpful?

    0 comments No comments
  3. Vijay A. Verma 104.8K Reputation points Volunteer Moderator
    2019-01-08T14:43:10+00:00

    You can use the below formula

    =IFERROR(E12,0)+IFERROR(E25,0)

    Was this answer helpful?

    0 comments No comments