+ Reply to Thread
Results 1 to 6 of 6

Splitting Data Into Columns

  1. #1
    Registered User
    Join Date
    01-16-2012
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2010
    Posts
    16

    Splitting Data Into Columns

    Hello!

    I have a large database of names in various formations (first name, initial, last name; initial, first name, last name; initial first name, last name) [please see attached image].

    However, what I need is just the person's first name in this cell. I've currently been splitting cell B and doing this manually, but I'm sure there is a more efficient way to do this (this list in particular has 5000+ names). It's tricky because some first names are preceded by an initial and others are preceded by an initial.

    I appreciate any help you can offer!

    Thank you!

    Adam
    DatabaseList.jpg

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    22,174

    Re: Splitting Data Into Columns

    It would help if you posted a sample workbook rather than a jpeg, so that we can try things out for you.

    Pete

  3. #3
    Registered User
    Join Date
    01-16-2012
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Splitting Data Into Columns

    Ok. Please see attached. Thanks!

    DatabaseList.xlsx

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,517

    Re: Splitting Data Into Columns

    Try this on your uploaded workbook. Results will go into column h for now you can change at the bottom of the code after looking over the results and are happy with the output.

    Please Login or Register  to view this content.
    Last edited by mike7952; 10-04-2012 at 06:59 PM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  5. #5
    Registered User
    Join Date
    01-16-2012
    Location
    Vancouver, BC
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Splitting Data Into Columns

    That's perfect! Thank you so much, Mike!

    Adam

  6. #6
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,517

    Re: Splitting Data Into Columns

    Your welcome.. Please refer to post #4 I was in the process of editing. You will see <=== Edited here where the code was edited. I noticed a little bug.

+ 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