Summing a Range With N/A's

Summing a Range With N/A's

Post by Samuel » Wed, 21 Jun 2006 00:14:21



Hi all,

I'm trying to SUM a range (AA5:AA350). However, the numbers have bee
generated via a VLOOKUP, and hence I've got a few N/A's dotted around
Seems that Excel doesn't like this - and returns an N/A result.

I suspect there's some means of doing the SUM with an added ISNA o
ISERROR, however I haven't been able to sort out the correct formula
Can anyone help?

TIA,

Samuel
 
 
 

Summing a Range With N/A's

Post by VBA Noo » Wed, 21 Jun 2006 00:19:11


How about this array

Paste formula into cell then press Ctrl + shift + enter

=SUM(IF(ISERROR(AA5:AA350),"",AA5:AA350))


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.yqcomputer.com/
View this thread: http://www.yqcomputer.com/

 
 
 

Summing a Range With N/A's

Post by Samuel » Wed, 21 Jun 2006 00:40:34


Many thanks Noob - that seems to have do the trick


--
SamuelT
------------------------------------------------------------------------
SamuelT's Profile: http://www.yqcomputer.com/
View this thread: http://www.yqcomputer.com/
 
 
 

Summing a Range With N/A's

Post by Q0xS » Wed, 21 Jun 2006 00:51:02

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

Vaya con Dios,
Chuck, CABGx3