+ Reply to Thread
Results 1 to 6 of 6

Split text into columns

  1. #1
    Registered User
    Join Date
    07-15-2019
    Location
    London
    MS-Off Ver
    MS Office 2007
    Posts
    31

    Split text into columns

    Hello,

    I need to split this text into columns. I am using Mac '19 and the function Ctrl+J is not working.
    Please find attached excel sheet where I wrote Row 2 manually how it is supposed to look like after we split text into columns.

    If anyone can help me out,


    Thanks in advance
    Attached Files Attached Files
    Last edited by EHH; 09-17-2019 at 03:56 AM.

  2. #2
    Registered User
    Join Date
    08-14-2018
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    9

    Re: Split text into columns

    can't you not just use home -> data -> text to columns and then delimit per space?

  3. #3
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: Split text into columns

    Try...........

    1] In B2, enter formula :

    =IFERROR(0+TRIM(MID(SUBSTITUTE(SUBSTITUTE(": "&$A2,CHAR(10),": "),": ",REPT(" ",LEN($A2))),COLUMN(A1)*LEN($A2),LEN($A2))),"")

    and, select B2 >> Custom cell Format: yyyy-mm-dd

    2] In C2, enter formula :

    =IFERROR(TRIM(MID(SUBSTITUTE(SUBSTITUTE(": "&$A2,CHAR(10),": "),": ",REPT(" ",LEN($A2))),COLUMN(B1)*LEN($A2),LEN($A2))),"")

    3] Then, select B2 and C2 copied across to I2 and all copied down

    Regards
    Bosco

  4. #4
    Registered User
    Join Date
    07-15-2019
    Location
    London
    MS-Off Ver
    MS Office 2007
    Posts
    31

    Re: Split text into columns

    This error seems to appear!
    'home -> data -> text to columns and then delimit per space' is not a proper way to go through I guess because I cannot see there under rows of a cell...
    When it comes to the formula, I am still a beginner in excel and I don't easy figure out these errors. Maybe I just need to replace '','' with '';'' ?


    Thank you for your help!
    Attached Images Attached Images

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

    Re: Split text into columns

    Quote Originally Posted by EHH View Post
    ... Maybe I just need to replace '','' with '';'' ? ....
    Yes, although you are in London, you seem to be using a German-language version of Excel, so your formulae need to use semicolons ( ; ) instead of commas ( , ).

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    07-15-2019
    Location
    London
    MS-Off Ver
    MS Office 2007
    Posts
    31

    Re: Split text into columns

    Thank you much

+ 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. Split text to columns
    By ionelz in forum Excel General
    Replies: 16
    Last Post: 02-09-2019, 01:32 PM
  2. I want to split text into columns
    By Marshall008 in forum Excel General
    Replies: 2
    Last Post: 11-17-2018, 03:10 PM
  3. [SOLVED] Split Text Across Multiple Columns and Add Additional Text
    By Jim Clayton in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 08-20-2018, 09:46 AM
  4. Formula(s) to Split Text String Across Columns Using Columns as Seperator
    By WaylettChris in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2016, 01:13 PM
  5. Replies: 2
    Last Post: 04-09-2014, 11:48 AM
  6. Replies: 4
    Last Post: 07-25-2013, 05:28 AM
  7. Split text into three columns
    By Beginner-in-VBA in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-12-2013, 03:02 PM

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