Worksheet Reference

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like the sheet name referenced in a formula to be relative to the
value in another cell. Examples:

If the value in cell A1 is 1 then my formula should be ='1'!B3

If the value in cell A1 is 2 then my formula should be ='2'!B3

Can this be done without programming? If so, how?
 
Probably INDIRECT ..
Try in say, B1: =INDIRECT("'"&A1&"'!B3")
where A1 houses the sheetname
 

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

Back
Top