+ Reply to Thread
Results 1 to 4 of 4

Extract data from text strings and move to new column

  1. #1
    Registered User
    Join Date
    03-25-2010
    Location
    QC, Canada
    MS-Off Ver
    Excel 2007
    Posts
    29

    Extract data from text strings and move to new column

    Hello,

    I can't figure out how to search for way to extract data from a text string and move the extract data to a new column. For the example jointed with this post I use a delimiter ":" to identify the text to extract.

    Thanks for any helps.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Extract data from text strings and move to new column

    Highlight the column you want then...

    DATA --> Text to Columns --> Delimited -->Other (here in the text box put the delimiter you want. In this case it would be a colon.) -->Finish

    Just make sure that the column next to your data is empty because it will overright that information.

    Good luck.

    Abousetta

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Extract data from text strings and move to new column

    Or try this Macro

    Please Login or Register  to view this content.
    Cheers

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Extract data from text strings and move to new column

    TexttoColumns does sound ideal here but re: an iterative approach - I would say that Split is often a little easier to code:

    Please Login or Register  to view this content.
    A loop-less approach (again ignoring TtC possibility) could be:

    Please Login or Register  to view this content.
    (in both of the above I've assumed final values to be written to F where source is A)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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