worksheet label in a cell

G

Gecko

Hi,

Is there any formula that puts the value of the worksheet label in a cell ?

My header and footer are already full (and no way to clean 'm ...)

Thanks !
 
B

BSc Chem Eng Rick

Hi Gecko

Yes there is, try the below formula where you need it

=RIGHT(CELL("filename",A1),LEN(CELL("filename",A1))-SEARCH("]",CELL("filename",A1)))

If this helps please click "Yes"
<><><><><><><><><><>
 
J

Jacob Skaria

Another one.. a bit shorter

=REPLACE(CELL("Filename",A1),1,FIND("]",CELL("filename",A1)),"")

If this post helps click Yes
 
G

Gecko

Hi both,

It's not working, I get a #VALUE! error.

Is it clear that I would like to have the 'tab' value ?

Rgds.


Jacob Skaria said:
Another one.. a bit shorter

=REPLACE(CELL("Filename",A1),1,FIND("]",CELL("filename",A1)),"")

If this post helps click Yes
---------------
Jacob Skaria


Gecko said:
Hi,

Is there any formula that puts the value of the worksheet label in a cell ?

My header and footer are already full (and no way to clean 'm ...)

Thanks !
 
J

Jacob Skaria

May be I should have mentioned this earlier..This will work only if the
workbook is saved. Try the below in a saved workbook..

If this post helps click Yes
---------------
Jacob Skaria


Gecko said:
Hi both,

It's not working, I get a #VALUE! error.

Is it clear that I would like to have the 'tab' value ?

Rgds.


Jacob Skaria said:
Another one.. a bit shorter

=REPLACE(CELL("Filename",A1),1,FIND("]",CELL("filename",A1)),"")

If this post helps click Yes
---------------
Jacob Skaria


Gecko said:
Hi,

Is there any formula that puts the value of the worksheet label in a cell ?

My header and footer are already full (and no way to clean 'm ...)

Thanks !
 

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