Working with worksheet names........

H

heartbreakkid

Is there someway u can use info in a cell to refer to the workbook nam
in the formula of another cell;

e.g
I got "ret" in cell A1;
and i got ###!b2 Where i want ### to be info in cell a1 e.g ret

is there someway u can refer to cell a1, instead of writing the name o
the worksheet
 
A

Alex

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,LEN(CELL("filename",A1))-FIND("]",CELL("filename",A1)))
 
A

Arvi Laanemets

Hi

=INDIRECT(A1 & "!B2")
This works with single-word referred sheet name - otherwise you have to
modify it.
=INDIRECT("'" & A1 & "'!B2")
 

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