+ Reply to Thread
Results 1 to 2 of 2

Help with Index Match formula finding last 4 occurences of the name

  1. #1
    Registered User
    Join Date
    01-09-2016
    Location
    Poland
    MS-Off Ver
    2007
    Posts
    6

    Help with Index Match formula finding last 4 occurences of the name

    Hi guys,

    I have a simple Excel sheet which contains data in two sheets (basically a football league schedule)

    Data is contained in column A (home team) and column B (away team for each match)

    In column O I manually put the name of the team and formula has to find last four times when following team played a game (no matter if they were home or away team) and match the value from column C from last occurence being listed in cell O2, one before last occurence in cell O3 etc.

    I attached the spreadsheet with values which must be found by formula in range O2:O5

    Any idea how to achieve that with formulas?
    Thanks

    cross-posted at mrexcel.com/forum/excel-questions/1110298-help-index-match-formula-finding-last-4-occurences-name.html
    Attached Files Attached Files
    Last edited by dangorka; 09-19-2019 at 05:54 PM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Help with Index Match formula finding last 4 occurences of the name

    In O2, enter:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ...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. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Copy to O3:O5.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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. [SOLVED] INDEX MATCH needs to return multiple occurences
    By whahnelt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-26-2019, 07:22 AM
  2. finding partial text in an index match formula
    By garyaw in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 09-30-2015, 04:27 PM
  3. Finding the max occurence with the INDEX, MATCH and MAX formula
    By greengirl in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-06-2015, 11:37 AM
  4. [SOLVED] Finding second to last value using vlookup match or index match...
    By gr8spot in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-20-2015, 03:32 PM
  5. Replies: 6
    Last Post: 03-06-2015, 03:20 PM
  6. Formula for finding a route for catching maximum occurences of fields.
    By Pete75 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-21-2014, 07:24 AM
  7. [SOLVED] Finding unique occurences via Vlookup/Match/Index
    By jontherev in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-01-2014, 01:10 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