# Ignoring the #NA output

#### ckroon

##### Board Regular
Hey all, I searched but found no answer so I put it to you.
I need to sum up the results of formulas to do further calculations, but some cells have #NA in them if the data was not entered. I need the #NA to show up as zero, can I add this to the formula that is there already?

Thanks

### Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
You could use this array formula for your sum which would exclude the errors:

{=SUM(IF(ISERROR(Data),"",(Data)))}

You don't key the '{' you just type =SUM(IF(ISERROR(Data),"",(Data))) and use Ctrl+Shift+Enter to enter the formula.

Change 'Data' to reflect your range.

Or you can get rid of the N/A in the actual formula using if(iserror

EXAMPLE:

=(if(iserror(sum(A1:A22)),0,(sum(A1:A22)))

Try something like
Code:
``=IF(ISNA(OLD_FORMULA),0,OLD_FORMULA)``

or, to sum a column with #N/A's, try
Code:
``=SUMIF(A1:A100,"<>#N/A")``

THanks

Oaktree that worked great. Thanks!

=SUMIF(A1:A100,"<>#N/A")
Now I can sum the columns if there are #NA's in it.

Replies
7
Views
444
Replies
4
Views
139
Replies
22
Views
303
Replies
9
Views
268
Replies
1
Views
100

1,203,513
Messages
6,055,833
Members
444,828
Latest member
StaffordStag

### 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.

### Which adblocker are you using?

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

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