ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   #N/A and SUM (https://www.excelbanter.com/excel-programming/378958-n-sum.html)

amirstal

#N/A and SUM
 
I have a table with numbers and #N/A.

5
10
#N/A
13
etc...

when I try to sum all the numbers up I also get a #N/A.
Is there a way Excel will sum all the numbers and disregard the #N/A?


Dave Peterson

#N/A and SUM
 
=sum(if(isnumber(a1:a10),a1:a10))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

amirstal wrote:

I have a table with numbers and #N/A.

5
10
#N/A
13
etc...

when I try to sum all the numbers up I also get a #N/A.
Is there a way Excel will sum all the numbers and disregard the #N/A?


--

Dave Peterson

Dave Peterson

#N/A and SUM
 
one mo

=SUMIF(A1:A10,"<#n/a")

If your errors are only #n/a's.

amirstal wrote:

I have a table with numbers and #N/A.

5
10
#N/A
13
etc...

when I try to sum all the numbers up I also get a #N/A.
Is there a way Excel will sum all the numbers and disregard the #N/A?


--

Dave Peterson

amirstal

#N/A and SUM
 
Thanks very much!



All times are GMT +1. The time now is 11:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com