+ Reply to Thread
Results 1 to 4 of 4

Excel 2008 : Close Matches for Fantasy Baseball

  1. #1
    Registered User
    Join Date
    05-20-2010
    Location
    New York
    MS-Off Ver
    Excel:mac 2008
    Posts
    5

    Close Matches for Fantasy Baseball

    Hi-
    I am working on crunching some data from my fantasy baseball league. Specifically, I have current player ranking and previous draft results and I want to correlate the two, as in whose drafted team currently has the highest rankings. The problem is that the draft results have "other things" following the player's names, and the current player rankings have different "other things" attached. For example, the draft results say, "Curtis Granderson*, NYY CF" while the current player rankings say, "Curtis Granderson, Yankees." To make things worse, the current rosters list things differently also, saying "Curtis Granderson*, NYY CF DL15 [Breaking News]". When I copy and paste (paste special, text) these fellows into excel, all of this info appears in one cell.
    Is there a way that I can have the Excel do, for instance, a VLookup on Curtis Granderson, and return results from the cells near the other Curtis Granderson listings?
    I was alternately thinking that if this was not possible, is there some other way to get this info from the webpage into the excel other than cutting and pasting special? Another alternative would be if there were a way that I could tell excel to put everything after a "space" into a seperate cell, so that "Curtis" would go in one cell, "Granderson" would go in another, and so forth. I figure that if I did that, I could work something out to look up just "Granderson" and get the data from there.
    Thanks!

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

    Re: Close Matches for Fantasy Baseball

    As long as the part of text you are trying to match exactly matches a part of the text in the look table, you could probably do a special lookup of it.

    Also, to split cells at spaces, go to Data|Text to columns, select Delimited and choose Space in next screen....

    Click Finish.

    If you need help with lookup, you should post a sample workbook showing what you have and what you need.
    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
    05-20-2010
    Location
    New York
    MS-Off Ver
    Excel:mac 2008
    Posts
    5

    Re: Close Matches for Fantasy Baseball

    OK! That text deliminiter woth the commas and spaces worked great, I am almost there. There is, however, the problem of people on the DL, who the rosters put an asterisk after, as in "Curtis Granderson*" instead of "Curtis Granderson." Is there another way to parse this?
    How would I post my workbook for everyone to take a look at? Should I just take a screen shot and post that?
    thanks!

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

    Re: Close Matches for Fantasy Baseball

    you can do an Edit|Replace and

    Find What: ~*

    With: (leave blank).

    To post workbook.. go to Post Reply and click paperclip icon... browse and upload.

+ 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