Dec 15 2023 11:56 AM
Help says that you can retrieve a sheet name but does not clearly explain the syntax necessary to do so. I can get it to bring the number of the sheet, but I would like the "Name" of the sheet displayed in one of the sheet cells.
Thanks,
Dec 15 2023 12:05 PM
If you're in Excel 365, you can use:
=LET(filename, CELL("filename"), TEXTAFTER(filename, "]", -1))
Dec 15 2023 01:07 PM
Dec 15 2023 01:22 PM
If you're using Excel for web you'll get a #VALUE! error:
CELL is not available in the web app.
Dec 15 2023 02:20 PM
Dec 15 2023 04:49 PM
SolutionHello @aaghd,
you can use this formula to show the sheet name on a certain cell,
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)
Dec 19 2023 07:12 AM
Thank you for the formula. It works perfectly. Your time and attention to my question is greatly appreciated. Happy Holidays to you!
Dec 20 2023 06:36 AM
Dec 15 2023 04:49 PM
SolutionHello @aaghd,
you can use this formula to show the sheet name on a certain cell,
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)