jasocke2
asked on
Extract folder from path - Excel Formula
Hi,
Pretty simple one I think...If I have say:
C:/folder1/folder2/folder3 /folder4/f older5/fil e.xls....
..in a cell could I write a formula in the cell next to it that would extract the folder that the file is in, so for the above example the formula would return *folder5* as the file.xls is in folde5.
So basically the formula would be returing what is in the inbetween the last forward slashes /***/, 'folder5'..
Thanks
Pretty simple one I think...If I have say:
C:/folder1/folder2/folder3
..in a cell could I write a formula in the cell next to it that would extract the folder that the file is in, so for the above example the formula would return *folder5* as the file.xls is in folde5.
So basically the formula would be returing what is in the inbetween the last forward slashes /***/, 'folder5'..
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did mean backslash!!
Works a treat, many thanks.
James