Sum Range, but ignore #N/A

peterhinton

Active Member
Joined
Mar 8, 2016
Messages
336
Morning All,

I have some data in column A like the below,

I want to sum this, however when I use =SUM(A:A) I get an error due to the #N/A,

How can I get around this,
I cant alter the data in column as its generated from a background query,

Sure there is a simple array formula to do this, any suggestions ?
31666.67
44833.33
33666.67
33666.67
33666.67
9166.667
8083.333
8833.333
1000
9500
#N/A
<colgroup><col width="64" style="width: 48pt;"> <tbody> </tbody>
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
a
b
c
1
31666.7​
214083.3​
2
44833.3​
3
33666.7​
4
33666.7​
5
33666.7​
6
9166.67​
7
8083.33​
8
8833.33​
9
1000​
10
9500​
11
#n/a​

<tbody>
</tbody>

C1=SUM(IF(ISERROR(A1:A11),"",A1:A11)) control +shift+enter
 
Upvote 0

Forum statistics

Threads
1,215,040
Messages
6,122,806
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top