ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Linking Tab/worksheet names to a worksheet cell (https://www.excelbanter.com/excel-discussion-misc-queries/223552-linking-tab-worksheet-names-worksheet-cell.html)

LinLin

Linking Tab/worksheet names to a worksheet cell
 
Hi Everyone

Is there any formula I can put in a cell so that it shows the tab/worksheet
name?

IE If my Tab name is "Supplier 1" I would like to have a cell in my
worksheet which says Supplier 1.
(Yes I'm lazy and hopefully there is a way to achieve this! Can't see the
point in typing it twice, risking typos etc...)

thanks!


Sheeloo[_3_]

Linking Tab/worksheet names to a worksheet cell
 
Try

=RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename")))

in any cell...

"LinLin" wrote:

Hi Everyone

Is there any formula I can put in a cell so that it shows the tab/worksheet
name?

IE If my Tab name is "Supplier 1" I would like to have a cell in my
worksheet which says Supplier 1.
(Yes I'm lazy and hopefully there is a way to achieve this! Can't see the
point in typing it twice, risking typos etc...)

thanks!


Sheeloo[_3_]

Linking Tab/worksheet names to a worksheet cell
 
Formula works only after the file is saved at least once.

"LinLin" wrote:

Hi Everyone

Is there any formula I can put in a cell so that it shows the tab/worksheet
name?

IE If my Tab name is "Supplier 1" I would like to have a cell in my
worksheet which says Supplier 1.
(Yes I'm lazy and hopefully there is a way to achieve this! Can't see the
point in typing it twice, risking typos etc...)

thanks!


Gord Dibben

Linking Tab/worksheet names to a worksheet cell
 
You must include a cell reference......any one will do.

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,34)

For explanation see Bob Phillips' site.

http://www.xldynamic.com/source/xld.xlFAQ0002.html


Gord Dibben MS Excel MVP

On Sun, 8 Mar 2009 21:14:01 -0700, Sheeloo <Click above to get my email id
wrote:

Try

=RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename")))

in any cell...

"LinLin" wrote:

Hi Everyone

Is there any formula I can put in a cell so that it shows the tab/worksheet
name?

IE If my Tab name is "Supplier 1" I would like to have a cell in my
worksheet which says Supplier 1.
(Yes I'm lazy and hopefully there is a way to achieve this! Can't see the
point in typing it twice, risking typos etc...)

thanks!




All times are GMT +1. The time now is 10:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com