This article outlines how to display the name of a sheet in Excel.
Over 1.8 million professionals use CFI to learn accounting, financial analysis, modeling and more. Start with a free account to explore 20+ always-free courses and hundreds of finance templates and cheat sheets.
Here’s a step-by-step guide to creating the sheet name code Excel:
Type “CELL(“filename”,A1)”. The cell function is used to get the full filename and path. This function returns the filename of .xls workbook, including the sheet name. This is our starting point, and then we need to remove the file name part and leave only the sheet name.
Type “FIND(“]”,CELL(“filename”)+1,500″. ssentially what the formula does is go into the file name and find the “]” which is where the workbook name ends. From there it moves over one character (+1) to where the sheet name starts. Finally, we add 500 to the end, or any number that is larger than the number of characters a sheet name would realistically have.
Congratulations, you have now displayed the name of a sheet in Excel!
Sheet Name Code Excel Template
Download the Free Template
Enter your name and email in the form below and download the free template now!
Sheet Name Formula Template
Download the free Excel template now to advance your finance knowledge!
More Excel Development
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:
Take your learning and productivity to the next level with our Premium Templates.
Upgrading to a paid membership gives you access to our extensive collection of plug-and-play Templates designed to power your performance—as well as CFI's full course catalog and accredited Certification Programs.
Already have a Self-Study or Full-Immersion membership? Log in
Access Exclusive Templates
Gain unlimited access to more than 250 productivity Templates, CFI's full course catalog and accredited Certification Programs, hundreds of resources, expert reviews and support, the chance to work with real-world finance and research tools, and more.