ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Problem with VLOOKUP formula (https://www.excelbanter.com/excel-worksheet-functions/60474-problem-vlookup-formula.html)

BigH

Problem with VLOOKUP formula
 
Hi there,

Hopefully someone can help, The problem I have is that I want the formula
below to lookup one sheet and if the answer is there great, if not then
lookup the other sheet as the answer must be on this sheet, however the
formula below doesnt do it. Any help would be appreciated.



=IF(ISNA(VLOOKUP(I3,'1103 NonAdhD This
Week'!$E$37:$F$1500,2,FALSE)),"",(VLOOKUP(I3,'1103 NonAdhD Last
Week'!$E$37:$F$1500,2,FALSE)))

regards BigH



Niek Otten

Problem with VLOOKUP formula
 
Surely you mean, simplified:

IF(ISNA(LookupThisWeek),LookupLastWeek,LookupThisW eek)

--
Kind regards,

Niek Otten

"BigH" wrote in message
...
Hi there,

Hopefully someone can help, The problem I have is that I want the formula
below to lookup one sheet and if the answer is there great, if not then
lookup the other sheet as the answer must be on this sheet, however the
formula below doesnt do it. Any help would be appreciated.



=IF(ISNA(VLOOKUP(I3,'1103 NonAdhD This
Week'!$E$37:$F$1500,2,FALSE)),"",(VLOOKUP(I3,'1103 NonAdhD Last
Week'!$E$37:$F$1500,2,FALSE)))

regards BigH




BigH

Problem with VLOOKUP formula
 
thanks Niek



"Niek Otten" wrote in message
...
Surely you mean, simplified:

IF(ISNA(LookupThisWeek),LookupLastWeek,LookupThisW eek)

--
Kind regards,

Niek Otten

"BigH" wrote in message
...
Hi there,

Hopefully someone can help, The problem I have is that I want the formula
below to lookup one sheet and if the answer is there great, if not then
lookup the other sheet as the answer must be on this sheet, however the
formula below doesnt do it. Any help would be appreciated.



=IF(ISNA(VLOOKUP(I3,'1103 NonAdhD This
Week'!$E$37:$F$1500,2,FALSE)),"",(VLOOKUP(I3,'1103 NonAdhD Last
Week'!$E$37:$F$1500,2,FALSE)))

regards BigH







All times are GMT +1. The time now is 09:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com