ozbeachbum
Board Regular
- Joined
- Jun 3, 2015
- Messages
- 233
- Office Version
- 2021
- Platform
- Windows
Hi,
I have the following formula which returns the workbook's file name: 20 CHRONICLE trades.xlsx
LET(f,CELL("filename",A1),REPLACE(REPLACE(f,FIND("]",f),500,""),1,FIND("[",f),""))
I would like it to return the file name minus the file extension: 20 CHRONICLE trades
Cheers.
I have the following formula which returns the workbook's file name: 20 CHRONICLE trades.xlsx
LET(f,CELL("filename",A1),REPLACE(REPLACE(f,FIND("]",f),500,""),1,FIND("[",f),""))
I would like it to return the file name minus the file extension: 20 CHRONICLE trades
Cheers.