+ Reply to Thread
Results 1 to 7 of 7

Index and match from 2 rows

  1. #1
    Forum Contributor
    Join Date
    05-10-2019
    Location
    Penang, Malaysia
    MS-Off Ver
    2016
    Posts
    262

    Index and match from 2 rows

    Hi All,
    Hope you all are doing great!

    I understood how Index & Match works but it only returns the 1st value. What I wish to achieve is to index the temperature. Since the name is having duplicates, I cant just match from the name but need to have another match which is time too. How to achieve this?

    Any help is greatly appreciated.

    Please find attachment

    Thank-You very much
    Attached Files Attached Files
    Last edited by chaiyya345; 07-09-2021 at 01:43 AM.

  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,728

    Re: Index and match from 2 rows

    See if this works for you:

    =LOOKUP(2,1/((temperature!$C$2:$C$10=index_match!A2)*(temperature!$A$2:$A$10=index_match!$B$2:$B$10)),temperature!$B$2:$B$10)
    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
    Forum Contributor
    Join Date
    05-10-2019
    Location
    Penang, Malaysia
    MS-Off Ver
    2016
    Posts
    262

    Re: Index and match from 2 rows

    Hi Ali,

    No, it didn't work. I attached your formula from index_match!D2:210

    Thank-You very much
    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,728

    Re: Index and match from 2 rows

    Explain "didn't work". Showing me what I have suggested doesn't tell me what isn't working for you.

    I have no idea what you are aiming for!

  5. #5
    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,728

    Re: Index and match from 2 rows

    Is this it?

    =LOOKUP(2,1/((temperature!$C$2:$C$10=index_match!A2)*(temperature!$A$2:$A$10=index_match!B2)),temperature!$B$2:$B$10)

  6. #6
    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,728

    Re: Index and match from 2 rows

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  7. #7
    Forum Contributor
    Join Date
    05-10-2019
    Location
    Penang, Malaysia
    MS-Off Ver
    2016
    Posts
    262

    Re: Index and match from 2 rows

    Hi Ali,

    you are great! the 2nd suggestion works!
    will mark this thread to solved & issued you with reputation.

    Thank-You very much.

+ 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. Index/Match Multiple Rows
    By Darkcloud617 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-07-2021, 12:49 PM
  2. [SOLVED] match 3 rows and 1 column, index/match
    By iasinschi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-26-2018, 06:58 AM
  3. [SOLVED] Index match match with the column number determined by two rows???
    By bridge4444 in forum Excel General
    Replies: 2
    Last Post: 08-08-2016, 04:23 AM
  4. Replies: 11
    Last Post: 02-01-2016, 04:58 PM
  5. Index Match Function? Ignore blank rows - (rows without values)
    By jgray in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-26-2015, 01:12 PM
  6. Index Match for rows
    By lejanco in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-25-2014, 03:52 PM
  7. [SOLVED] VBA for creating Index-Match every 2 rows where INDEX refer to a different column per row
    By bisaya789 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2012, 03:46 AM

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