[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • Last Modified:

I need an excel formula

I need a SUM formula to look at E1:E400 and ignore "#N/A" and "#VALUE!" errors and sum the rest of the valid numbers in that column.
0
wrt1mea
Asked:
wrt1mea
  • 3
  • 2
1 Solution
 
barry houdiniCommented:
Try this

=SUMIF(E1:E400,"<9.99E+307")

regards, barry
0
 
wrt1meaAuthor Commented:
It works! Not sure how...care to explain?
0
 
wrt1meaAuthor Commented:
Works perfectly!
0
 
barry houdiniCommented:
SUMIF ignores errors in the sum range so you just have to set the criteria so that all numbers are summed.

If you only have positive numbers in that range it would be sufficient to use

=SUMIF(E1:E400,">0")

but in the version I used 9.99E+307 is a very large number (almost the biggest you can get in Excel), so SUMIF sums everything that's less than that, should be any number including negative numbers

regards, barry
0
 
wrt1meaAuthor Commented:
Lesson for the day...as always, thanks for the help!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now