ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Vlookup referencing more than one worksheet (https://www.excelbanter.com/excel-worksheet-functions/212045-vlookup-referencing-more-than-one-worksheet.html)

Kris W

Vlookup referencing more than one worksheet
 
Hi

(Excel 2003)

I have a vlookup formula in worksheet A, which looks up worksheet B, but I
need it to look up worksheet C also - how do I do this?

I also need it to say "Not Listed" instead of "#N/A" as it does at the
moment...

Thanks!

T. Valko

Vlookup referencing more than one worksheet
 
One way:

=IF(COUNTIF(B!A1:A10,A1)+COUNTIF('C'!A1:A10,A1),VL OOKUP(A1,IF(COUNTIF(B!A1:A10,A1),B!A1:B10,'C'!A1:B 10),2,0),"Not
Listed")

--
Biff
Microsoft Excel MVP


"Kris W" <Kris wrote in message
...
Hi

(Excel 2003)

I have a vlookup formula in worksheet A, which looks up worksheet B, but I
need it to look up worksheet C also - how do I do this?

I also need it to say "Not Listed" instead of "#N/A" as it does at the
moment...

Thanks!




Teethless mama

Vlookup referencing more than one worksheet
 
Download and install the free add-in Morefunc.xll from:
http://www.download.com/Morefunc/300...-10423159.html

....then use this formula

=IF(ISNA(VLOOKUP(A1,THREED('B:C'!A1:B10),2,0)),"No t
Listed",VLOOKUP(A1,THREED('B:C'!A1:B10),2,0))



"Kris W" wrote:

Hi

(Excel 2003)

I have a vlookup formula in worksheet A, which looks up worksheet B, but I
need it to look up worksheet C also - how do I do this?

I also need it to say "Not Listed" instead of "#N/A" as it does at the
moment...

Thanks!



All times are GMT +1. The time now is 12:10 AM.

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