![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 1
|
Is there a way to have the Vlookup formula return a 0 value if there is not a match. Currently, if the formula doesn't find a match, it returns an output of #N/A. I need to convert it to a numeric value.
Formula I'm using: =VLOOKUP(A2,'page1'!$A$1:$B$3795,2,FALSE) thanks |
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Mar 2002
Posts: 1,805
|
Quote:
http://www.mrexcel.com/board/viewtop...c=4277&forum=2 Eli |
|
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
[ This Message was edited by: Mark W. on 2002-04-08 10:50 ] |
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Posts: 390
|
=IF(ISNA(VLOOKUP(A2,'page1'!$A$1:$B$3795,2,FALSE));0;VLOOKUP(A2,'page1'!$A$1:$B$3795,2,FALSE))
[ This Message was edited by: Albert 1 on 2002-04-08 10:54 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|