Vlookup Worksheet

C

Curtis

I want to lookup the name of the worksheet and place the corresponding
department name in a cell of the worksheet

for example the worksheet name will be 1500 which represents department
"Aviation"

I have a department list sheet that would contain the group (1500 and the
respective department

Thanks
 
C

Curtis

Thanks

I am pretty comfortable using vlookup except in this case I cannot see where
it shows me to vlookup a tab in a workbook
 
G

Glenn

Curtis said:
I want to lookup the name of the worksheet and place the corresponding
department name in a cell of the worksheet

for example the worksheet name will be 1500 which represents department
"Aviation"

I have a department list sheet that would contain the group (1500 and the
respective department

Thanks


Worksheet name:

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,99)
 
R

ryguy7272

Whoops, misread your post. Look at this
http://www.exceltip.com/st/Cell_Function_Returns_Sheet_Name,_Workbook_Name_and_Path/180.html

HTH,
Ryan--

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Glenn said:
Curtis said:
I want to lookup the name of the worksheet and place the corresponding
department name in a cell of the worksheet

for example the worksheet name will be 1500 which represents department
"Aviation"

I have a department list sheet that would contain the group (1500 and the
respective department

Thanks


Worksheet name:

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,99)
.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top