![]() |
![]() |
|
|||||||
| 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 |
|
Board Regular
Join Date: Feb 2002
Posts: 103
|
I am trying to do a simple lookup, but if it can't find what I'm looking up it results in #N/A.
I know it's possible, but just can't think how! Is it possible to put an IF statement with it? I know there are functions like ISERROR/ISNA etc, but I really just don't understand when these should be used, and have even been on the helps pages, but I still don't understand them ! Thanks for your help Helen |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
Look at this: http://www.mrexcel.com/board/viewtop...c=4277&forum=2 Aladin |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 9
|
Good question,
I assumed that: =IF((VLOOKUP(D4,$A$1:$B$10,2,FALSE))="#N/A",0,(VLOOKUP(D4,$A$1:$B$10,2,FALSE))) but it doesn't? Boz |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
IF(ISNA(VLOOKUP(D4,$A$1:$B$10,2,FALSE)),0,VLOOKUP(D4,$A$1:$B$10,2,FALSE)) [ This Message was edited by: Mark W. on 2002-04-10 09:47 ] |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|