|  

» How to extract a file name from a path in Microsoft Excel


Path & File name:       c:\My Documents\ExcelTip.xls
 
The Function:            

=MID(A25,FIND("*",SUBSTITUTE(A25,"\","*",LEN(A25)-LEN(SUBSTITUTE(A25,"\",""))))+1,LEN(A25))

Result:                 ExcelTip.xls


Rate This Tip
12 34 5
Rating: 3.36     Views: 41098
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments