There are probably other options, but these formulas will work. The following provides you with two options 1) without the ".xls" suffix, and 2) with the suffix.
enter in A3: =CELL("filename",A2)
enter in A4: =FIND(".xls",A3,1)
enter in A5: =FIND("[",A3,1)+1
enter in A6: =MID(A3,A5,(A4-A5))
enter in A7: =MID(A3,A5,(A4-A5)+4)
Of course I understand. I'm used to working with end-users on a daily basis so I try to keep as simple as possible. I've got a long one that shows just the sheet name, too.
Always interested in what others do, and I certainly will keep your handy for future reference.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.