Over 2 million + professionals use CFI to learn accounting, financial analysis, modeling and more. Unlock the essentials of corporate finance with our free resources and get an exclusive sneak peek at the first module of each course.
Start Free
Sheet Name Code Template
This sheet name code template allows you to display the name of an Excel sheet in a cell using a combination of formulas.
Here are the screenshots of the sheet name code template:
Download the Free Template
Enter your name and email in the form below and download the free template now!
Step 1: 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.
Step 2: Type “FIND(“]”,CELL(“filename”)+1,500″. Essentially the formula goes into the file name, finds 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.
More Free Templates
For more resources, check out our business templates library to download numerous free Excel modeling, PowerPoint presentation, and Word document templates.
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!
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.
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.