cell values as worksheet reference

J

Joerg Schaber

Hi,

references to cells in a different worksheet look like this, e.g.:

='worksheet'!$A$1

In this formula I want to replace 'worksheet' by the value of a cell,
e.g. $B$1, of the current worksheet, in which stand the text
'worksheet', such that the above formula
becomes something like
=$B$1!$A$1

How does that work? The example doesn't.

thanks,

joerg
 
D

Dave Peterson

=indirect("'" & $b$1 & "'!a1")


Joerg said:
Hi,

references to cells in a different worksheet look like this, e.g.:

='worksheet'!$A$1

In this formula I want to replace 'worksheet' by the value of a cell,
e.g. $B$1, of the current worksheet, in which stand the text
'worksheet', such that the above formula
becomes something like
=$B$1!$A$1

How does that work? The example doesn't.

thanks,

joerg
 

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