Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel: replace Vlookup #N/A with 0 2

Status
Not open for further replies.

RachieD

Technical User
May 14, 2004
20
0
0
EU
Hi - can you please advise how I can amend my formula to replace my vlookup #N/A errors with 0.

Formula is

=VLOOKUP(A7,ProductPivot!$A$3:$B$500,2,FALSE)

I need to sum the results.

TIA

RachieD
 
You use IF(ISNA like this:
Code:
=IF(ISNA(VLOOKUP(A7,ProductPivot!$A$3:$B$500,2,FALSE)),0,VLOOKUP(A7,ProductPivot!$A$3:$B$500,2,FALSE))


Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Perfect - thanks a million Glenn!! I've given you a star!

Cheers
RachieD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top