+ Reply to Thread
Results 1 to 5 of 5

Splitting Cell Data into New Columns

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Splitting Cell Data into New Columns

    Greetings All

    I have data in a single cell like this 4-12-24
    I want to split the data between each dash into 3 new cols so that it would just be :

    4 new col 12 new col 24 no dashes now.
    There may be as many as 3 digits before/after a dash.
    Example attached.

    Cheers
    Attached Files Attached Files
    If you have found solving my problem/s to be an interesting and educational exercise then how about Repping me up?
    No idea why I need Rep, other than feeling left out....

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Splitting Cell Data into New Columns

    Please change G9 format to general
    G9
    =TRIM(MID(SUBSTITUTE($F9,"-",REPT(" ",20)),COLUMNS($G9:G9)*20-19,20))
    Drag to I9

  3. #3
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Splitting Cell Data into New Columns

    Thank you so much!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Splitting Cell Data into New Columns

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Splitting Cell Data into New Columns

    By the way, you could easily use Text to Columns for this with the dash as the delimiter (on the Data ribbon).

+ 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. Replies: 7
    Last Post: 07-09-2019, 03:33 PM
  2. [SOLVED] Splitting data in cell to multiple columns
    By Nordin1980 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-03-2017, 10:27 AM
  3. [SOLVED] splitting cell into 2 columns
    By swfarm in forum Excel General
    Replies: 5
    Last Post: 10-22-2015, 05:28 PM
  4. Splitting Cell into several columns.
    By SamCV in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-14-2014, 02:13 PM
  5. [SOLVED] Splitting Data Into Columns
    By Adam845 in forum Excel General
    Replies: 5
    Last Post: 10-04-2012, 07:00 PM
  6. splitting data into columns
    By seafarer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-22-2008, 03:57 AM
  7. [SOLVED] Splitting data into columns
    By Jamie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2005, 12:30 PM

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