How do I have a formula lookup a sheetname?

G

Guest

I have a workbook with multiple worksheets.
Sheet 1: Has information needed to be retrieved and put into specific cells on
Sheet2.
Sheet 2: Col. A lists names of worksheets in workbook
In Col. B I want to write a formula that will lookup the
worksheet, using
the worksheet name in Col. A, then retrieve a value in a
specific cell on
that worksheet.

I don't want to "hardcode" the name of the worksheet in the formula (i.e.
'Sheet1'!H14), because that sheetname will always be changing.
 
G

Guest

You can use INDIRECT, assume A2 holds the sheet name

=INDIRECT("'"&A2&"'!H14")


Regards,

Peo Sjoblom
 

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