+ Reply to Thread
Results 1 to 11 of 11

Extract 2 different texts from one column to 2 columns

  1. #1
    Registered User
    Join Date
    11-02-2014
    Location
    Marbella, Spain
    MS-Off Ver
    Excel Mac 2016
    Posts
    77

    Extract 2 different texts from one column to 2 columns

    Hi again,

    Once more thank you for all your help and share your expert knowledge.

    I have a football league schedule with both teams on de same column.

    I have a column with all temas and what I would like to have is each team in 2 different columns.

    The only way I found was to insert a comma to separate the teams, delete the space after comma, and then text to columns (please see file attached)

    Is there an automatic way to do it faster?

    Thank you very much in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Extract 2 different texts from one column to 2 columns

    Hi coolx72

    One way I suppose...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Registered User
    Join Date
    11-02-2014
    Location
    Marbella, Spain
    MS-Off Ver
    Excel Mac 2016
    Posts
    77

    Re: Extract 2 different texts from one column to 2 columns

    Hello SIntek,
    In fact your macro helps but does the easier part, that I can do with "text to columns"

    The most important would be based on the 20 teams names pass from Initial table to Intermediate, where each team from the Teams would appeared split by a comma in order to pass from that to Final Result with your ,macro.

    Thank you very much

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Extract 2 different texts from one column to 2 columns

    In fact your macro helps but does the easier part, that I can do with "text to columns"
    The only way I found was to insert a comma to separate the teams, delete the space after comma, and then text to columns
    Perhaps you should upload a before sheet with a after sheet depicting your exact requirement which will allow us to understand your requirement...

  5. #5
    Registered User
    Join Date
    11-02-2014
    Location
    Marbella, Spain
    MS-Off Ver
    Excel Mac 2016
    Posts
    77

    Re: Extract 2 different texts from one column to 2 columns

    Hello Sintek,
    Thank you for your message and effort.

    I thought that I have been clear:
    "The only way I found was to insert a comma to separate the teams, delete the space after comma, and then text to columns (please see file attached)"

    Obviously I was not.

    I attached the file what is the goal of this request.

    Thank you so much for your time.

    BR
    Attached Files Attached Files

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Extract 2 different texts from one column to 2 columns

    I'm sorry coolx72

    It might be easier for you to distinguish between the two teams as you know who they are...but how is the code to know if the teams are called 7Up Venta & los Pacos or 7Up & Venta los Pacos or 7Up Venta los & Pacos ...

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Extract 2 different texts from one column to 2 columns

    This doesn't work on Mac, but if you have Windows PC, this would be the one you want.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Extract 2 different texts from one column to 2 columns

    All I can say is WOW...
    jindon...you never seize to amaze me...

  9. #9
    Registered User
    Join Date
    11-02-2014
    Location
    Marbella, Spain
    MS-Off Ver
    Excel Mac 2016
    Posts
    77

    Re: Extract 2 different texts from one column to 2 columns

    Hi Jindon,
    Even I'm too short to understand your macro, I just can say that was amazing.

    Just tested on Parallels and works GREAT !

    Thank youuu so much. Unbelievable !

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Extract 2 different texts from one column to 2 columns

    You are welcome and thank for the rep.

  11. #11
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: Extract 2 different texts from one column to 2 columns

    @Jindon,

    Nice solution Jindon Sir

+ 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. [SOLVED] Extract from varied texts
    By rmexcell in forum Excel General
    Replies: 10
    Last Post: 08-29-2018, 08:08 PM
  2. [SOLVED] Need to extract the texts
    By Sekars in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2018, 02:14 AM
  3. [SOLVED] Extract texts from cell to multiple cells?
    By GPMan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2018, 04:40 AM
  4. [SOLVED] Formula to extract row / right last texts for given texts
    By thilag in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2015, 02:51 AM
  5. Need a Macro to extract values from one column into different columns
    By rkulasekaran in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-08-2015, 02:01 PM
  6. spit texts into columns.
    By Elainefish in forum Excel General
    Replies: 13
    Last Post: 03-12-2015, 09:52 AM
  7. [SOLVED] To extract texts from a cell
    By Dewdrop in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-25-2014, 10:26 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