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 Make a cell show the name of the sheet tab

Is there a formula to make cell A5 show the name of the tab for that sheet
automatically?

Thank you for any help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Make a cell show the name of the sheet tab

Try this:

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

The file must already exist. In other words, it must have already been saved
and given a name.

Biff

"LPatt" wrote in message
...
Is there a formula to make cell A5 show the name of the tab for that sheet
automatically?

Thank you for any help



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Make a cell show the name of the sheet tab

Thank you it worked perfectly!!

"Biff" wrote:

Try this:

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

The file must already exist. In other words, it must have already been saved
and given a name.

Biff

"LPatt" wrote in message
...
Is there a formula to make cell A5 show the name of the tab for that sheet
automatically?

Thank you for any help




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 247
Default Make a cell show the name of the sheet tab

more than one way to skin a cat
=RIGHT(CELL("filename",IV1),LEN(CELL("filename",IV 1))-FIND("]",CELL("filename",IV1),1))
the cell eference IV1 can be any cell reference,it seems to work without a
cell reference but things start to go wrong if you copy tht sheet or workbook.
It anchors that formula to that sheet.
--
paul

remove nospam for email addy!



"LPatt" wrote:

Is there a formula to make cell A5 show the name of the tab for that sheet
automatically?

Thank you for any help

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Make a cell show the name of the sheet tab

You're welcome. Thanks for the feedback!

Biff

"LPatt" wrote in message
...
Thank you it worked perfectly!!

"Biff" wrote:

Try this:

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

The file must already exist. In other words, it must have already been
saved
and given a name.

Biff

"LPatt" wrote in message
...
Is there a formula to make cell A5 show the name of the tab for that
sheet
automatically?

Thank you for any help








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Make a cell show the name of the sheet tab

If you leave off the range reference, the formula will return info from the
sheet that was active when excel recalculated.

Open two workbooks (each must have been saved)
put this in A1 of the first worksheet of each workbook:
=cell("Filename")

put this in A2 of the first worksheet of each workbook:
=cell("filename",a1)

and then window|arrange|horizontal
so you can see both worksheets

And force a couple of recalculations (Hit F9).
then select the other worksheet and hit F9.

Notice the difference.


Select one

paul wrote:

more than one way to skin a cat
=RIGHT(CELL("filename",IV1),LEN(CELL("filename",IV 1))-FIND("]",CELL("filename",IV1),1))
the cell eference IV1 can be any cell reference,it seems to work without a
cell reference but things start to go wrong if you copy tht sheet or workbook.
It anchors that formula to that sheet.
--
paul

remove nospam for email addy!

"LPatt" wrote:

Is there a formula to make cell A5 show the name of the tab for that sheet
automatically?

Thank you for any help


--

Dave Peterson
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
Nesting a sheet name reference within a cell reference??? Broyston Excel Discussion (Misc queries) 9 July 8th 08 08:35 PM
make cell show blank when total is zero Bob L Excel Discussion (Misc queries) 3 May 19th 06 05:04 PM
How can I make the names for Sheet tabs a reference to a cell? PDS Excel Discussion (Misc queries) 2 May 5th 06 11:20 PM
How to make a cell show totals Don Excel Discussion (Misc queries) 1 August 4th 05 01:19 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 06:04 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"