+ Reply to Thread
Results 1 to 4 of 4

Converting Sport Result into two Columns

  1. #1
    Registered User
    Join Date
    01-06-2011
    Location
    North Dakota
    MS-Off Ver
    Excel 2007
    Posts
    12

    Converting Sport Result into two Columns

    This seems fairly simple but I have never had to do this before, and would love to the know the best way to approach this:

    I am trying to "suck out" the scores of basketball teams, which are currently kept in one column, and separate them into two. The numbers will all be either two or three digits. Here are some examples of the column I am trying to suck these numbers from:

    "L, 55-30"
    "W, 50-35"
    "W, 103-100"
    "L, 86-104"

    I'm looking to put whats after the space (but before the dash) into one column. In another column I want to put the number that comes after the dash.


    Hope this makes sense, and thanks!
    Last edited by pibb55; 03-02-2011 at 02:05 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Converting Sport Result into two Columns

    Try:

    =MID(A1,FIND(" ",A1)+1,FIND("-",A1)-FIND(" ",A1)-1)+0

    and

    =MID(A1,FIND("-",A1)+1,10)+0

    where A1 contains first entry (formula assumes quotes are not part of the cell entries).
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-06-2011
    Location
    North Dakota
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Converting Sport Result into two Columns

    Perfect! works like a charm. Such quick response time, too. Thank you.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Converting Sport Result into two Columns

    You are welcome,

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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