+ Reply to Thread
Results 1 to 5 of 5

Index and Match function help

  1. #1
    Registered User
    Join Date
    09-07-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Index and Match function help

    Please see attached excel file.
    On the sheet names INPUT SHEET, i have a table with student names and their respected groups along with columns of points grouped in months.

    below this is a results sheet which i want to produce which will display all students' points from a selected group from a selected month.

    for example, i want to display all students (names and points) in group GREEN in the month FEB.
    ive used the Index and Match functions however this only works for the first student. it doesnt display All students in that particular group...

    how can i achieve this please?

    thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Index and Match function help

    You can use column J as a helper column, with this formula in J3:

    =IF(B3=$B$21,MAX(J$2:J2)+1,"-")

    Copy this down to the bottom of your data. Then you can use this formula in A23:

    =IFERROR(INDEX($A:$A,MATCH(ROWS($1:1),$J:$J,0)),"")

    and this one in E23:

    =IFERROR(INDEX($C:$H,MATCH(ROWS($1:1),$J:$J,0),MATCH($E$21,$C$1:$H$1,0)),"")

    Copy both down as far as required.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-07-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    12

    Re: Index and Match function help

    wow that works a charm thanks!

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Index and Match function help

    Without helper. "A23"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    "E23"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    by pressing ctrl+shift+enter


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Index and Match function help

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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. How to apply an Index.Match.Match function to all entries in a Listbox on a User Form
    By jason.drozd in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-25-2018, 01:54 AM
  2. [SOLVED] Large Data - Index Match Match with another function?
    By d7882 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 10-12-2017, 03:51 PM
  3. Need help in Index, Match usage to match multiple criteria in sum function
    By Summer0830 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2017, 02:47 AM
  4. Problems applying INDEX-MATCH-MATCH function on other data
    By LennartB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2015, 05:33 AM
  5. function INDEX MATCH MATCH doesn´t work
    By leonelcd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-31-2015, 11:36 AM
  6. [SOLVED] Stuck on Match function with #N/A; attempting to reverse Index/Match
    By Cappytano in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-10-2014, 06:39 PM
  7. Replies: 3
    Last Post: 06-17-2013, 12:37 PM

Tags for this Thread

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