Solved

get a cell to reflect a tab name

Posted on 2011-02-23
3
258 Views
Last Modified: 2012-05-11
I want to have a certain cell show the tab name in a worksheet with multiple tabs - so when I am in the worksheet with a tab named Shelley - Shelley also shows up in cell B4
0
Comment
Question by:Dier02
3 Comments
 
LVL 5

Expert Comment

by:roger_karam
ID: 34959406
Hello,

Try this, where A1 is any non-error cell:

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

from:
http://www.ozgrid.com/VBA/return-sheet-name.htm

-RK
0
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 500 total points
ID: 34959408
The formula below returns the sheet or tab name on which the formula resides.

   =MID(CELL("filename",A1),SEARCH("]",CELL("filename"))+1,31)

Kevin
0
 

Author Closing Comment

by:Dier02
ID: 34959562
Thanks Kevin, great work.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now