Sheet name in a cell

How can I put the name of the sheet in a cell automatically?


Thank you!

iMac 27″ 5K, macOS 10.15

Posted on Jun 25, 2022 8:16 AM

Reply
2 replies

Jun 25, 2022 8:36 AM in response to ekirt5

If by "automatically" you mean by formula, then, yes, you can put a name in a cell that will change automatically when you change the name of the table or sheet.




For a sheet name in cell A2:


=TEXTBEFORE(REFERENCE.NAME(A2,2,reference-style),"::")


For a table name in cell A3:


=TEXTBETWEEN(REFERENCE.NAME(A3,2,reference-style),"::","::")



(use ; instead of , in the formulas if your region uses , as a decimal separator)


SG

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Sheet name in a cell

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.