Worksheet Name used in formula

M

MGP

I have several sheets in my file and I need to use the
name of the sheet in one of it's cell. Is there any way
of doing this in 2k?

Example: I have sheet A, B and C and I need to have A2 in
cell B22 of sheet A and B4 in cell B22 of sheet B, etc..

MGP
 
F

Frank Kabel

Hi
enter this in your cell
=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-FIND("]",CELL("file
name",A1),1))

to get the worksheet name of the respective worksheet
 
M

MGP

Frankly ... your a life saver!

Thx a million
-----Original Message-----
Hi
enter this in your cell
=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-FIND ("]",CELL("file
name",A1),1))

to get the worksheet name of the respective worksheet


--
Regards
Frank Kabel
Frankfurt, Germany
I have several sheets in my file and I need to use the
name of the sheet in one of it's cell. Is there any way
of doing this in 2k?

Example: I have sheet A, B and C and I need to have A2 in
cell B22 of sheet A and B4 in cell B22 of sheet B, etc..

MGP

.
 

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