+ Reply to Thread
Results 1 to 4 of 4

Help pulling info from a sports result table

  1. #1
    Registered User
    Join Date
    12-15-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    2

    Help pulling info from a sports result table

    I have a table for my sports team in excel, with opponent in column A, and Win or Loss in column B.

    Opponent Result
    A WIN
    B WIN
    C LOSS
    D LOSS
    C LOSS
    C WIN
    A WIN
    B LOSS
    D WIN
    B WIN
    C WIN
    D LOSS
    C LOSS

    I was looking to have a side table referencing to the first, which lists our opponents in one column, then our head to head score in the second column. I have been trying to figure out a formula for this head to head score without much luck, where the "?"s are in the table below

    Opp Overall Score
    A ?
    B ?
    C ?
    D ?

    I guess it should be something along the lines of : if column A = opponentA and column B = win, add 1 &"-"& if column A = opponent A and column B = loss, add 1. However I have not been able to achieve this in my attempts using mostly IF and COUNTIF functions.

    Any help would be greatly appreciated.

  2. #2
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Help pulling info from a sports result table

    Hi SlatedFate

    Have a look at the COUNTIFS function.

  3. #3
    Registered User
    Join Date
    12-15-2012
    Location
    United Kingdom
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Help pulling info from a sports result table

    Ah this looks like just what I want. I feel silly now for not spotting this fuction. Thanks!

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Help pulling info from a sports result table

    Glad you got it sorted

+ 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