Jun 02 2023 03:06 PM
I have been using the formula:
=MID(CELL("filename",A1),FIND("]",CELL("filename"))+1,255)
for years to insert a worksheet name into a cell in Excel. However, for the first time today (02JUN2023) I am getting a circular reference error. I am using Office 365 / Windows 11. The error is occurring in a workbook I created in a previous version of Excel. In other words, the formula is not new--only the error is new.
Jun 02 2023 11:05 PM
The formula you mentioned is indeed a commonly used formula to retrieve the worksheet name in Excel. It should not typically result in a circular reference error unless there is another formula or cell reference in your worksheet that is causing the circular reference.
Here are a few steps you can take to troubleshoot and resolve the circular reference error:
By following these steps, you should be able to identify and resolve the circular reference error in your worksheet. Otherwise, I recommend... Welcome to your Excel discussion space!
May 14 2024 12:46 AM
May 14 2024 01:59 AM
It shall work if only formula is not entered in referenced cell (A1). More variants https://techcommunity.microsoft.com/t5/excel/how-to-reference-the-current-sheet-name-in-an-function/...