Forum Discussion
alex_n
Oct 21, 2021Brass Contributor
Excel Power Query - Add custom column with shortened Folder Path
Hi ALL, I have an excel file with a folder query that maintains list of the files in a directory. It has columns: Folder Path, Name, Extension, Size, etc.. I want the Folder Path column to start ...
- Oct 21, 2021
alex_n Why not just select the Folder Path column and with the Transform tab active, extract text after the 7th back-slash. Thus, use the back-slash as the delimiter and skip the first 6. No extra column needed. But perhaps I misunderstood your intentions.
Riny_van_Eekelen
Oct 21, 2021Platinum Contributor
alex_n Why not just select the Folder Path column and with the Transform tab active, extract text after the 7th back-slash. Thus, use the back-slash as the delimiter and skip the first 6. No extra column needed. But perhaps I misunderstood your intentions.
- alex_nOct 21, 2021Brass Contributor
Riny_van_EekelenIt worked! Thank you!
- SergeiBaklanOct 21, 2021Diamond Contributor
- alex_nOct 22, 2021Brass ContributorSergeiBaklan good point, thank you sir!