+ Reply to Thread
Results 1 to 4 of 4

Last 3 football results

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Last 3 football results

    Hi all, in my attached example sheet you can see games in the Scottish premiership for 2014.

    What I need to find is the last 3 results for teams (regardless of if they played home or away). The data is sorted chronologically.

    In the example you can see cell H2 is Aberdeen. In I2 there most recent game was A (Away win), their previous game was H, and the game before that H.

    I would like to do this without an array formula if possible due to the sheer amount of teams (this is just an example sheet of my larger file).
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Last 3 football results

    For I2 cell

    =INDEX($B$2:$E$200,SMALL(IF($B$2:$C$200=$H2,ROW($B$2:$B$200)-ROW($B$2)+1,ROW($B$200)+1),COUNTIF($B$2:$C$200,$H2)-(COLUMNS($I$2:I2)-1)),4)
    This is an Array Formula confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula.

    Drag right (up to K2) then pull down.

  3. #3
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    Re: Last 3 football results

    Hi and thanks, but as in my original post I want to avoid array (if possible) due to the amount of calculations I wish to do

  4. #4
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Last 3 football results

    Hi

    Please see the file!

    No Array formula

    Regard
    Attached Files Attached Files
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 02-25-2023, 06:05 PM
  2. Processing football(soccer) results
    By teacherphil in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-11-2013, 10:02 AM
  3. Simulation Model for Football Results Prediction
    By steviedwex in forum Excel General
    Replies: 3
    Last Post: 05-23-2011, 08:29 AM
  4. Replies: 3
    Last Post: 08-09-2010, 04:04 AM
  5. Replies: 4
    Last Post: 08-24-2009, 05:00 PM

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