ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Sheetname formula (https://www.excelbanter.com/excel-worksheet-functions/121543-sheetname-formula.html)

John S

Sheetname formula
 
I am trying to figure out a formula that will result in the name of the sheet
that formula is in. Similar to a =Info(type_text) but that will simply output
the name of the sheet.

any help?

T. Valko

Sheetname formula
 
Try this:

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

Note: the file must already exist. In other words, it must have already been
saved with a filename.

Biff

"John S" <John wrote in message
...
I am trying to figure out a formula that will result in the name of the
sheet
that formula is in. Similar to a =Info(type_text) but that will simply
output
the name of the sheet.

any help?




PCLIVE

Sheetname formula
 
Something like this may work for you.

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

Regards,
Paul


"John S" <John wrote in message
...
I am trying to figure out a formula that will result in the name of the
sheet
that formula is in. Similar to a =Info(type_text) but that will simply
output
the name of the sheet.

any help?




Gary''s Student

Sheetname formula
 
=CELL("filename",A1)
--
Gary's Student


"John S" wrote:

I am trying to figure out a formula that will result in the name of the sheet
that formula is in. Similar to a =Info(type_text) but that will simply output
the name of the sheet.

any help?



All times are GMT +1. The time now is 05:48 AM.

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