+ Reply to Thread
Results 1 to 4 of 4

Index Matching multiple variables (SELECT date FROM table WHERE serial = x AND step = y)

  1. #1
    Registered User
    Join Date
    04-02-2019
    Location
    California
    MS-Off Ver
    Office Pro 2016
    Posts
    13

    Index Matching multiple variables (SELECT date FROM table WHERE serial = x AND step = y)

    I am trying to do an index match where I can filter out the data by 2 variables instead of one. Since each serial number has multiple entries, I want to do something like this for anyone that knows MySQL SELECT date FROM table WHERE serial = x AND step = y

    With one MATCH function it just repeats the first date. So I tried adding 2 MATCH() functions but it breaks:
    Capture.JPG

    I've also attached an excel file (see attached). Any ideas?
    Attached Files Attached Files

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

    Re: Index Matching multiple variables (SELECT date FROM table WHERE serial = x AND step =

    Welcome to the forum.

    INDEX MATCH MATCH won't work because the lookup values are both in columns. Try this instead:

    =IFNA(LOOKUP(2,1/(($A:$A=$F3)*($B:$B=G$2)),$C:$C),"")
    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
    04-02-2019
    Location
    California
    MS-Off Ver
    Office Pro 2016
    Posts
    13

    Re: Index Matching multiple variables (SELECT date FROM table WHERE serial = x AND step =

    Wow that worked perfectly! Thank you!

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

    Re: Index Matching multiple variables (SELECT date FROM table WHERE serial = x AND step =

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this 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. [SOLVED] Formula required to copy values in a Matrix as step down according to serial number
    By sameer79 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-12-2019, 02:02 PM
  2. Matching Data Across Sheets on Serial ID & Date
    By Rik05 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2019, 07:39 AM
  3. Select multiple multiple cells adjacent to a date and populate a table
    By fedeboja in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-21-2018, 05:51 PM
  4. Matching 3 variables for histogram table
    By dragosalaamii in forum Excel General
    Replies: 5
    Last Post: 06-15-2017, 04:02 PM
  5. [SOLVED] Lookup or index on multiple parameters and pull table heading for matching values
    By pcrewlok in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-24-2015, 07:07 PM
  6. Replies: 4
    Last Post: 05-06-2013, 11:06 AM
  7. Can anyone give me a step by step procedure on date expirations with color
    By Gracieline in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-07-2012, 08:35 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