pull sheet name into a cell

tinkerbell737

Board Regular
Joined
Nov 25, 2002
Messages
96
Is there a formula or easy way to pull the name of the sheet into a cell? I have an enormous spreadsheet that has a lot of sheets in it, and I would like to be able to have a cell in the sheet that tells me which sheet the info is on.

Basically, I am looking for something like =SHEETNAME

Any ideas?

THANK YOU!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

NBVC

Well-known Member
Joined
Aug 31, 2005
Messages
5,828
Try

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

the workbook must be saved for it to work.
 

Forum statistics

Threads
1,141,018
Messages
5,703,754
Members
421,313
Latest member
Mooncake1

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
Top