+ Reply to Thread
Results 1 to 4 of 4

How can I extract multiple data in a cell separated by commas?

  1. #1
    Registered User
    Join Date
    05-30-2012
    Location
    NYC, NY
    MS-Off Ver
    Excel 2007
    Posts
    2

    How can I extract multiple data in a cell separated by commas?

    I have a cell which contains 5-digit numbers separated by commas which I need to extract and populate their own cell. As an example, say cell has the following data: 12345, 23456, 34567, 45678, 56789, 67890, etc. How can I get 12345 into cell A2, 23456 into cell A3, 34567 into cell A4, etc. Any ideas? Thanks in advance for your help.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How can I extract multiple data in a cell separated by commas?

    If they aren't there already, insert blank columns (however many numbers you have) to the right of your data.
    Do a Text to Columns>delimited>comma>Finish
    Then copy B1,C1 etc. Select A2 and paste special > Transpose
    Does that do what you want?

    Do you have a whole column of these cells? or a whole row?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Valued Forum Contributor
    Join Date
    03-25-2004
    Location
    Boston, MA US
    Posts
    1,094

    Re: How can I extract multiple data in a cell separated by commas?

    Hi,

    Using Text to Columns you could parse A1 using the comma as the delimiter and then copy your new range (A1:F1) and Paste Special>Values+Transpose in A2.

    HTH
    Steve

  4. #4
    Registered User
    Join Date
    05-30-2012
    Location
    NYC, NY
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How can I extract multiple data in a cell separated by commas?

    Thanks for your help! That did it! It's been so long since I've used this functionality - I completely forgot about it. Thanks again!

+ 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