show sheet tab label in a cell on the sheet?

merlin777

Well-known Member
Joined
Aug 29, 2009
Messages
1,397
Office Version
  1. 2007
is it possible to display the name of a sheet in a cell on that sheet?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
How about
=TRIM(RIGHT(SUBSTITUTE(CELL("filename"),"]",REPT(" ",100)),100))
or
=MID(CELL("filename"),SEARCH("]",CELL("filename"))+1,100)
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0
something not quite right. I'm using this on 12 sheets (jan to dec) in cell A1 on each sheet. When i copy and paste your formula into each sheet, although it shows that sheet's name in A1 it also shows the same thing in the other 11 sheets? e.g. i paste it into A1 on the june sheet and all the sheets jan to dec now also show june in their A1 cell.
 
Upvote 0
Missed the cell Ref, which ever formula your using, change
CELL("filename")
to
CELL("filename",A1)
 
Upvote 0

Forum statistics

Threads
1,214,586
Messages
6,120,402
Members
448,958
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top