+ Reply to Thread
Results 1 to 5 of 5

using index and match functions to find specific row and column data

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

    using index and match functions to find specific row and column data

    i have a spreadsheet wherein i need some data to appear from a table.
    i tried using vlookup and hlookup but as they only use one criteria, i couldnt achieve my goal.
    index_match_1.jpg

    in the image you can see the table on the right. this is the data i need to be inputted in to the left-hand side of the spread sheet in column G (under the Points achieved heading)

    i've used the INDEX and MATCH functions to try and pick the data on the right-hand-side-table

    the criteria is, it needs to lookup the corresponding data for the respective month and student name...

    so if the date is set to "Dec-17" in cell A2 and i want the points for "Student2" i need to return "261" as the result.

    i have used the following formula but it is returning me with an error:
    =INDEX(M8:O12,(MATCH(B8,L8:L12,0)),MATCH(A3,M7:O7,0))

    please could someone help me out

    thanks

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: using index and match functions to find specific row and column data

    What's in A3?

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

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

    Re: using index and match functions to find specific row and column data

    thanks for pointing out. i have attached the file.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: using index and match functions to find specific row and column data

    Student 2 does not match student2! That's why there is no result. Change L8 to L14 to match other data.

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

    Re: using index and match functions to find specific row and column data

    thanks soo much. it's sometimes just the little things in life which make the difference!

+ 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: 5
    Last Post: 02-09-2015, 01:54 PM
  2. [SOLVED] IFERROR, MATCH, INDEX functions to find differences of two sheets
    By LinaVa in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-30-2014, 10:29 AM
  3. Replies: 3
    Last Post: 05-08-2013, 02:10 PM
  4. Replies: 3
    Last Post: 07-14-2011, 11:18 PM
  5. Replies: 2
    Last Post: 05-21-2005, 01:06 AM

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