+ Reply to Thread
Results 1 to 5 of 5

Help - Matching Football Team with Bye week

  1. #1
    Registered User
    Join Date
    01-28-2004
    Posts
    9

    Help - Matching Football Team with Bye week

    I am adjusting a spreadsheet for a fantasy football draft and want to have one column which will have the player's team. The next column I want the bye week for that player to automatically populate.

    For example:

    A1 - Tom Brady
    A2 - NE

    In A3 I want a formula like

    If A2 = ari, atl, car, phi then 4
    If A2 = chi, gb, no, sd then 5
    ...
    If A2 = cin, kc, ne, pit, tb, was then 8

    etc..

    Obviously the condition only needs to satisfy one of the teams.

    Any help appreciated.

    Thanks

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help - Matching Football Team with Bye week

    Use a lookup table. In your sheet somewhere (Sheet2?) create a two-column list with the team abbreviation in the first column (Sheet2 column A) and the numeric result in the second column (column B).

    Then in cell A3, use a standard VLOOKUP() or INDEX/MATCH
    =VLOOKUP(A2, Sheet2!$A$1:$B$200, 2, FALSE)
    =INDEX(Sheet2!B:B, MATCH(A2, Sheet2!A:A, FALSE))
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    01-28-2004
    Posts
    9

    Re: Help - Matching Football Team with Bye week

    Much thanks. Does the trick.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help - Matching Football Team with Bye week

    If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].


    (Also, use the blue "scales" icon in our posts to leave Reputation Feedback, it is appreciated)

  5. #5
    Registered User
    Join Date
    01-28-2004
    Posts
    9

    Re: Help - Matching Football Team with Bye week

    Quick question again

    The team column will initially be blank which causes #N/A error in the 'Bye' column.

    Any way of cleaning that up?

    Thanks

+ 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