This article outlines how to display the name of a sheet in Excel.
The =SheetName allows you to display the name of a Sheet in a cell. Using the sheet name code Excel formula requires combining the MID, CELL, and FIND functions into one formula.
For example, if you are printing out a financial model onto paper or as a PDF, then you may want to display the sheet name on the top of each page. You can now easily do so by using this formula.
=MID(CELL(“filename”,A1),FIND(“]”,CELL(“filename”,A1))+1,500)
(See screenshots below)
Here’s a step-by-step guide to creating the sheet name code Excel:
Congratulations, you have now displayed the name of a sheet in Excel!


Download the free Excel template now to advance your finance knowledge!
This has been CFI’s guide to the sheet name code Excel formula. To keep learning and expanding your skill set and knowledge base as a financial analyst, we highly recommend these additional resources to help you advance your career. Some of our most popular resources from CFI include:
To master the art of Excel, check out CFI’s Excel Crash Course, which teaches you how to become an Excel power user. Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.
Launch CFI’s Excel Crash Course now to take your career to the next level and move up the ladder!