+ Reply to Thread
Results 1 to 3 of 3

Counting Wins from Columns

  1. #1
    Forum Contributor
    Join Date
    06-30-2008
    Location
    PSL, FL
    Posts
    271

    Counting Wins from Columns

    I ahave asked this a question a few times so far with no answers. I went back and read the question and it sound like I was being to general. So I wrote a more specific explanation.

    The part I am struggling with at this time is trying to keep track of my wins.

    To make this clear a bet mlb baseball series. So each series has a unique series number starting at 1. Each series contains between 1 and 3 games.

    So game one of det at tam would be series 1 game 1.

    Where I am now is trying to record my series wins and losses.

    A series win is any series where column L = "win".

    A series loss is a series that goes winless.

    A series does not count as a loss until game 1 2 and 3 are all losses. If a series has a loss for game 1 and a loss for game 2 and game 3 is blank, the series is not a loss and is waiting for the game 3 result to be posted.

    The columns are as follows
    C- series num
    D- game num
    E- bet team
    F- home or away. This data is a list either "at" or "vs". This is needed so I can sort wins and losses for home and road series w/l's
    G- vs team
    M- "win" or "loss"


    I want to put the data in the following location.
    C3 - total wins
    D3 - total loses
    F3 - home wins
    G3 - home losses
    I3 - road wins
    J3 - road losses


    Any help would be greatly appreciated.

    I have uploaded my latest version #5 of my spreadsheet

    Matt
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-30-2008
    Location
    PSL, FL
    Posts
    271

    Re: Couting Wins from Columns

    I don't mean to bump, this but 0 replies??? I don't understand am I asking for something that is extremely hard to do in excel?


    Matt

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

    Re: Couting Wins from Columns

    Firstly, it would have been more thoughtful if you continued on your previous post where I asked you to better explain the question.....

    See attached to see if this works for you.

    I added a helper column, column O to determine series Wins/Losses... then used that column to do the counts you need.

    Formula in O6: =IF(M6="Win","W",IF(D6<=3,IF(COUNTIFS($C$6:C6,C6,$M$6:M6,"Loss")=3,"L","")))

    Copied down

    Then,

    C3: =COUNTIF($O:$O,"W")

    D3: =COUNTIF($O:$O,"L")

    E3: =COUNTIFS($O:$O,"W",$F:$F,"VS")

    F3: =COUNTIFS($O:$O,"L",$F:$F,"VS")

    G3: =COUNTIFS($O:$O,"W",$F:$F,"AT")

    H3: =COUNTIFS($O:$O,"L",$F:$F,"AT")

    Hope this is what you wanted.
    Attached Files Attached Files
    Last edited by NBVC; 03-20-2009 at 09:31 AM.
    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.

+ 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