![]() |
![]() |
|
|||||||
| 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: Mar 2002
Posts: 34
|
Why does this not work?
=IF(iserror(VLOOKUP(A9,[Feb02data.xls]report!$B$1:$D$30,3),0,VLOOKUP(A9,[Feb02data.xls]report!$B$1:$D30,FALSE)) |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=IF(iserror(VLOOKUP(A9,[Feb02data.xls]report!$B$1:$D$30,3,0)),0,VLOOKUP(A9,[Feb02data.xls]report!$B$1:$D$30,3,0)) You could also use instead: =IF(COUNTIF([Feb02data.xls]report!$B$1:$B$30,A9),VLOOKUP(A9,[Feb02data.xls]report!$B$1:$D$30,3,0),0) 0 as the last arg in VLOOKUP is the same as FALSE. |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 34
|
Worked Great - thanks!!!!!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|