Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default 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?



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default 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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
How do I have a formula lookup a sheetname? Mim Excel Worksheet Functions 2 February 1st 05 03:49 PM
can formula to read sheetname from a cell? Todd Excel Worksheet Functions 2 December 8th 04 06:21 PM


All times are GMT +1. The time now is 07:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"