ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sum a column containing numbers as well as #N/A (https://www.excelbanter.com/excel-discussion-misc-queries/60146-sum-column-containing-numbers-well-n.html)

jackh

sum a column containing numbers as well as #N/A
 

I have a column containing numbers as well as #N/A (result of a Vlookup
formula). How do I sum the column to return the total of all numerical
values


Jackh


--
jackh

Roger Govier

sum a column containing numbers as well as #N/A
 
Hi Jack

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

Regards

Roger Govier


jackh wrote:
I have a column containing numbers as well as #N/A (result of a Vlookup
formula). How do I sum the column to return the total of all numerical
values


Jackh



JE McGimpsey

sum a column containing numbers as well as #N/A
 
One fix would be to trap the errors rather than leaving them in your
worksheet. Instead of

=VLOOKUP(A1,J:K,2,FALSE)

you can use

=IF(ISNA(MATCH(A1,J:J,FALSE)),"Not Found",VLOOKUP(A1,J:K,2,FALSE))

In article ,
jackh wrote:

I have a column containing numbers as well as #N/A (result of a Vlookup
formula). How do I sum the column to return the total of all numerical
values



All times are GMT +1. The time now is 05:50 AM.

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