function to use sheet's name as variable

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

Guest

Hi,

I have a worksheet with contracts. For each contract I have a sheet which
has as name the client's code. There are lots of sheets. In each sheet the
structure is the same, so, for example in cell D9 in every sheet you'll find
the same info regarding that client
In another sheet, I want to put in a cell the client's code and to extract
the info I want from the client's sheet. So I want to use the sheet's name as
variable.
Is there a way I can do that with a function ?

Thx
 
=MID(CELL("filename"),(FIND("]",CELL("filename"))+1),50)

This will extract the name of the sheet.
 

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