ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sum returns #N/A (https://www.excelbanter.com/excel-worksheet-functions/96908-sum-returns-n.html)

Todd

sum returns #N/A
 
I am getting a return of #N/A when I try to sum a column. Its a column of
formulas which sometimes return #N/A also. How do I get around this problem
and sum the values I do have?

Thanks.

Todd

Peo Sjoblom

sum returns #N/A
 
Probably better to fix the na in the columns but here goes

=SUMIF(A:A,"<#N/A")


replace A:A with your column

--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"Todd" wrote in message
...
I am getting a return of #N/A when I try to sum a column. Its a column of
formulas which sometimes return #N/A also. How do I get around this
problem
and sum the values I do have?

Thanks.

Todd




Bob Phillips

sum returns #N/A
 
Change the formulas to trap NA and output 0

=-IF(ISNA(formula),0,formula)

Here is one way if you don't want to correct the data

=SUM(IF(NOT(ISERROR(J1:J10)),J1:J10))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Todd" wrote in message
...
I am getting a return of #N/A when I try to sum a column. Its a column

of
formulas which sometimes return #N/A also. How do I get around this

problem
and sum the values I do have?

Thanks.

Todd




Toppers

sum returns #N/A
 
In your formulae, add error checking to remove the #N/As; for example set the
cells to blank if there is an error.

Generically, something like:

=IF(ISNA(Myformula),"",Myformula)

HTH

"Todd" wrote:

I am getting a return of #N/A when I try to sum a column. Its a column of
formulas which sometimes return #N/A also. How do I get around this problem
and sum the values I do have?

Thanks.

Todd



All times are GMT +1. The time now is 09:00 PM.

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