Results 1 to 5 of 5

Resolved >>> Number of consecutive first values

Threaded View

  1. #1
    Registered User
    Join Date
    10-25-2007
    Posts
    35

    Cool Resolved >>> Number of consecutive first values

    Hi,

    I'm writing a little excel file to help me with my betting. Basically I want to calculate each team's home winning/drawing/losing streak.

    Here is a sample of the table (I've simplified it a bit and added fictional results):

    (See Attached)

    So, I want a formula that can tell me a given team's (e.g. Arsenal's) latest result, and how many previous consecutive results of that kind there have been. For example, for Arsenal, the result would be something like "W2" (i.e. Won the last two games).

    At the moment, the best I can do is to get the TOTAL NUMBER of a given team's latest result using this formula:

    =LOOKUP("ARS",B:B,C:C)&SUMPRODUCT(--(B1:B13="ARS")*(C1:C13=LOOKUP("ARS",B:B,C:C)))

    (Which also returns "W2").

    I'm sooooooo close, can someone please help!!

    As an added bonus, could anyone help me in writing a formula that would express a given team's last 5 (or last n) results in the format "WWLDW" or "LLDDW"?
    Attached Images Attached Images
    Last edited by owainl; 10-25-2007 at 06:47 AM.

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