Is it possible to determine the basename, i.e. the last path component of a file path in Excel without defining a custom VBA function?
For example, if cell A1
has the value
C:\Some\deep\directory\structure\file.txt
the formula in B1
should use A1
to return
file.txt
Any ideas?