![]() |
![]() |
|
|||||||
| 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: May 2002
Location: Ipswich, Suffolk, England
Posts: 135
|
I need help with a lookup containing ISNA
could someone explain the syntax, for a simple lookup e.g =vlookup(target,lookup range,returned value,false) for the above lookup i need a 0 returned if no value is found. I have tried looking at past posts but cant get it! |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Apr 2002
Posts: 83
|
Why not try the iserror function, ie = if( iserror(then your lookup)=true,0,then your lookup)
Steve |
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
To see the formula in the cells just click on the cells hyperlink The above image was automatically generated by [HtmlMaker V1.26] If you want FREE SOFT, click here and Colo will email the file to you This code was graciously allowed to be modified: by Ivan F Moala All credit to Colo Addendum: ID's have number as uderlying format, but custom formatted as 000000,hence leading 0's. That's also the case in E7. In case of failure, some of the formulas return "Not Found". This can be replaced by 0 or "". Aladin PS. I pulled off the Salary Table from the Internet [ This Message was edited by: Aladin Akyurek on 2002-05-20 02:12 ] [ This Message was edited by: Aladin Akyurek on 2002-05-20 02:13 ] [ This Message was edited by: Aladin Akyurek on 2002-05-20 03:30 ] [ This Message was edited by: Aladin Akyurek on 2002-05-20 03:35 ] [ This Message was edited by: Aladin Akyurek on 2002-05-20 05:43 ] |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|