ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   sheet reference (https://www.excelbanter.com/excel-worksheet-functions/201899-sheet-reference.html)

Marco Lorenzo

sheet reference
 
I have done this before but can't remember how.

How do I reference a sheet tab name in my vlookup?


Sheeloo

sheet reference
 
Assuming sheet name is "Easy Dial" then VLOOKUP should look like;
=VLOOKUP(A76,EasyDial!A:B,2,FALSE)


For referencing another workbook use;
=VLOOKUP(A76,'[Copy of index.xls]Sheet1'!$A:$B,2,FALSE)

Best way is to type =VLOOKUP(A1, then click on the sheet and then range you
want...


"Marco Lorenzo" wrote:

I have done this before but can't remember how.

How do I reference a sheet tab name in my vlookup?


Chip Pearson

sheet reference
 
You can put the worksheet name directly in the VLOOKUP:

=VLOOKUP("abc",'Sheet1'!A1:C10,3,FALSE)

You can also take the sheet name from another cell, say E1.

=VLOOKUP("abc",INDIRECT("'"&E1&"'!A1:C10"),3,FALSE )

In this second formula, VLOOKUP will look in the range A1:C10 on whatever
sheet is named in cell E1.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)




"Marco Lorenzo" <Marco wrote in message
...
I have done this before but can't remember how.

How do I reference a sheet tab name in my vlookup?




All times are GMT +1. The time now is 09:07 PM.

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