#N/A Help

  • Thread starter Joseph M. Yonek
  • Start date
J

Joseph M. Yonek

I have a spreadsheet that uses a vlookup function to populate several cells.

In some instances the vlookup function returns a #N/A. I expect that and
that is fine.

However, I am trying to sum this series of cells. With the #N/A in the cell
series the sum function or preferably the subtotal function also returns a
#N/A.

How can a sum or Subtotal the series of cells despite the existence of #N/A
in some of the referenced cells.

Thanks in advance.

Joe
 
J

John Wilson

Joseph,

Best bet would be to go back and redo the formulas so that you
don't get the #N/A

Basic construct:
=IF(ISNA(yourlookup),"",yourlookup)
will return an empty string if the result of the vlookup would have
given you a #N/A

John
 
T

tracey

Try this..........

=IF(ISERROR(VLOOKUP(A5,'Sheet1'!
$A$5:$B$2946,2,0)),0,VLOOKUP(A5,'Sheet1'!$A$5:$B$2946,2,0))

It should enter a zero instead of #N/A

Tracey
 
A

Aladin Akyurek

Since you want to keep #N/A's as is, use...

=SUMIF(Range,"<>#N/A")

Subtotal cannot do this however.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help With VLOOKUP 2
wdActiveEndSectionNumber 1
ISERROR on VLOOKUP 3
VLookup Function HELP 7
Sumif apllying to all sheets in workbook 2
VLOOKUP 3
Subtotal 4
Multiple VLOOKUP in an IF statement 2

Top