+ Reply to Thread
Results 1 to 11 of 11

Typed data convert to columns

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Typed data convert to columns

    I have data on a1

    Want formula on d1 to n1 to drag down

    I have plugged results for d1 and d9

  2. #2
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Typed data convert to columns

    The file looks as follows
    Attached Files Attached Files

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

    Re: Typed data convert to columns

    Your data is not consistent - the first few entries have a comma separating the first and second pairs and a comma-space separating the 2nd and 3rd pairs, but your final entry has only spaces separating all the pairs. Are these just typing errors, or is this representative of your real data?

    Pete

  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Typed data convert to columns

    Assuming if we have common and no space how will the formula look
    Last edited by makinmomb; 12-02-2015 at 08:49 PM.

  5. #5
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Typed data convert to columns

    Maybe we use a helper to strip of code and then use use & to combine

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Typed data convert to columns

    Text2Columns kinda works, but doesnt maintain the "text" in each cell, and converts (most of) the remaining, to dates...
    A
    B
    C
    D
    E
    F
    G
    12
    LB621TN 6/2,7/2,11/1 LB621TN
    2-Jun
    2-Jul
    1-Nov
    13
    LB624BR 6/2,7/2,10/2 LB624BR
    2-Jun
    2-Jul
    2-Oct
    14
    LB627KK 6/2,8/2,9/2 LB627KK
    2-Jun
    2-Aug
    2-Sep
    15
    LB721BR 41/2 LB721BR 41/2
    16
    LB717BR 40/2,45/2 LB717BR 40/2 45/2
    17
    LB618BR 40/2,41/2 LB618BR 40/2 41/2
    18
    LB571CF 42/2 LB571CF 42/2
    19
    LB708C 45/2 LB708C 45/2
    20
    CT248BG 36/1 37/1 38/1 39/1 40/1 41/1 CT248BG 36/1 37/1 38/1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

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

    Re: Typed data convert to columns

    Further to FDibbins' suggestion, you could do Text_to_columns using space as the delimiter to get the first part of the codes into column B and the second (right-hand) part into column C - assuming that you only use one space in the codes, with a comma (only) to separate out each of the pairs that follow.

    Then you could apply Find & Replace (Ctrl-H) to column C to change the / to comma.

    Then use Text_to_Columns again, but on column C, using comma as the delimiter and column C as the first destination column. Then you can insert two new columns B and C, to get approximately what you want.

    Hope this helps.

    Pete

  8. #8
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Typed data convert to columns

    Text to column works , not very happy about it , will leave the thread open

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Typed data convert to columns

    VBA solution, assuming "," (Comma) as delimiter


    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Typed data convert to columns

    John Topley , it cannot be better than this , thank you very much

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Typed data convert to columns

    Thank you for the feedback.

+ 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. Convert number to equivalent time when typed in
    By estratosphere in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-10-2015, 08:26 AM
  2. How can I find a any text in excel columns that a typed in a Textbox ??
    By Stuli in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2015, 08:49 AM
  3. How convert data to columns?
    By minhphuong_humg in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-29-2013, 11:46 AM
  4. Replies: 6
    Last Post: 05-19-2013, 10:53 PM
  5. [SOLVED] How to automate, convert single column of data into two columns of data?
    By Dale Saukerson in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2012, 09:53 PM
  6. Convert 1 row of data to columns
    By Mohoney in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-25-2005, 09:05 AM
  7. How do I convert some data in the row to columns?
    By Colin T in forum Excel General
    Replies: 4
    Last Post: 08-17-2005, 07:05 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