Telling excel that a value in a cell is the sheet name

drater

New Member
Joined
Dec 12, 2005
Messages
5
Hi everyone,

In excel, I have a list sheet names in a collumn B. To the right of collumn B, I want to do a vlookup to retrieve values from those sheets in collumn B. However, instead of manually entering the sheet name in the vlookup formula, I would just like the value in collumn B to fill in the sheet name in the formula.

For example, instead of saying Cat!c5, I would like to say b3!c5, where b3 says the word cat in the sheet I am currently in.

Thanks for your help.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Thanks. I have gotten it to work when linking to a sheet within the workbook. What if I want to link to a sheet in another workbook. I get a #NAME? error which I believe is from the filename of the other workbook.
 
Upvote 0
=VLOOKUP(C2,INDIRECT("'[Reports.xls]"&D32&"'!$a$36:$r$41"),18)


Is the statement written correctly? I changed it but still get an error message.

Thanks.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,255
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top