+ Reply to Thread
Results 1 to 4 of 4

Extract Folder, sub-folders and File name from one column to multiple columns

  1. #1
    Registered User
    Join Date
    06-24-2018
    Location
    India
    MS-Off Ver
    2016
    Posts
    45

    Extract Folder, sub-folders and File name from one column to multiple columns

    Hello All,

    How can I Extract Folder, sub-folders and File name from one column to multiple columns?

    "URL or Source" is in Columns A and results should be displayed staring from Column B as shown in the attachment.

    Thank you!!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,237

    Re: Extract Folder, sub-folders and File name from one column to multiple columns

    Use Text to Columns on the Data ribbon - use \ as the delimiter.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    06-24-2018
    Location
    India
    MS-Off Ver
    2016
    Posts
    45

    Re: Extract Folder, sub-folders and File name from one column to multiple columns

    Hello Ali,

    That's how I've done it in the attachment (Extracted using Text to Columns), I wanted to know other ways may be using formula.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,237

    Re: Extract Folder, sub-folders and File name from one column to multiple columns

    In B3 copied across:

    =TRIM(MID(SUBSTITUTE(SUBSTITUTE($A3,"\\",""),"\",REPT(" ",100)),100*(COLUMNS($A:A)-1)+1,100))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Macro to crealte folders from excel file not creating folder with / in the name
    By Lohara005 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2016, 11:57 AM
  2. [SOLVED] Search for file names in main folder and its sub folders
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-09-2015, 01:17 AM
  3. [SOLVED] Extract specific cells from multiple excel files in same folder to new summary file
    By Derek Holden in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-02-2014, 01:43 AM
  4. Looping File Movement From a Number of Folders to One Folder
    By jablo1312 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-15-2014, 09:48 AM
  5. Copy Files from one folder to different folders based on pdf file name
    By jtammyg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-23-2014, 11:49 AM
  6. Replies: 0
    Last Post: 01-15-2014, 12:07 AM
  7. Replies: 0
    Last Post: 07-13-2012, 10:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1