+ Reply to Thread
Results 1 to 6 of 6

Split Data In Cell

  1. #1
    Registered User
    Join Date
    05-04-2017
    Location
    Chicago
    MS-Off Ver
    2013 & 2016
    Posts
    22

    Split Data In Cell

    I had users input data, and some input last name, first name while others input first name last name. I was trying to write a formula that would if the cell contains a comma, grab the right of the comma, then the left, but if the cell does not contain a comma then just grab the cell value. I think I am close with what I have below, but it is not doing exactly what I am after
    Please Login or Register  to view this content.
    And here is sample data and desired output
    Current Format Desired Format
    Jones, Jackie Jackie Jones
    Bob Hornclaw Bob Hornclaw
    jackson, jim jim jackson

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Split Data In Cell

    If the format is not the same in each row, you should always make corrections by hand
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    05-04-2017
    Location
    Chicago
    MS-Off Ver
    2013 & 2016
    Posts
    22

    Re: Split Data In Cell

    Quote Originally Posted by popipipo View Post
    If the format is not the same in each row, you should always make corrections by hand
    then is there a quick way for me to only account for the cells that are in the format of jones, jackie - or the cells that have a comma, and I ignore the rest?

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Split Data In Cell

    Something like below?
    Please Login or Register  to view this content.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  5. #5
    Registered User
    Join Date
    05-04-2017
    Location
    Chicago
    MS-Off Ver
    2013 & 2016
    Posts
    22

    Re: Split Data In Cell

    Quote Originally Posted by CK76 View Post
    Something like below?
    Please Login or Register  to view this content.
    Yes that is it, perfectly! Thank you so much!

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Split Data In Cell

    Take a look at this
    Attached Files Attached Files

+ 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. Need Macro code to split data split in 7 sheets based on variable rows in column A
    By Alija_21 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-31-2015, 08:03 AM
  2. Split cell to create sorted heading on empty row above and keep second split info
    By CastingDirector in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-09-2015, 12:24 AM
  3. How to split data from within one cell?
    By pede69 in forum Excel General
    Replies: 9
    Last Post: 10-08-2011, 10:51 PM
  4. VBA to split cell data
    By spice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2011, 05:39 AM
  5. How Do I Split Data Within a Cell?
    By Ocean Zhang in forum Excel General
    Replies: 3
    Last Post: 05-29-2009, 11:54 AM
  6. Split data from one cell...
    By ISThree in forum Excel General
    Replies: 3
    Last Post: 03-09-2009, 03:35 PM
  7. split data in a cell
    By langdon37 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-13-2008, 10:36 AM

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