+ Reply to Thread
Results 1 to 7 of 7

Extracting Text Separated by Commas

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    15

    Extracting Text Separated by Commas

    Hello

    I have a list of 2,000+ cells and they are filled with numbers like 1,10,6,3,16, in column C.
    I'm trying to extract each number to the next cell over i.e. D1 = 1 E1 = 10 F1 = 6 G1 = 3 H1 = 16

    I am able to get the first number using =LEFT(C25,FIND(",",C25,1)-1) , but I have no idea how to get find to recognize the
    second, third or fourth occurrence of a comma.

    Maybe I'm approaching this the wrong way...

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Extracting Text Separated by Commas

    davidmg_13,

    Why not just use Text to Columns with comma as the delimiter?
    Hope that helps,
    ~tigeravatar

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

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Extracting Text Separated by Commas

    Try Data - Text To Columns
    Deliminated - Next
    Select Comma
    Finish

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Extracting Text Separated by Commas

    Forgot to include a link for how-to:
    http://support.microsoft.com/kb/214261

  5. #5
    Registered User
    Join Date
    12-05-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Extracting Text Separated by Commas

    yes of course, ugh I feel like I wasted your time tigeravatar lol thank you I appreciate it

  6. #6
    Registered User
    Join Date
    12-05-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Extracting Text Separated by Commas

    Thank you Jonmo1, that's exactly what I needed.

  7. #7
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Extracting Text Separated by Commas

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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