+ Reply to Thread
Results 1 to 8 of 8

Index Match on multiply columns

  1. #1
    Registered User
    Join Date
    04-06-2022
    Location
    Venlo
    MS-Off Ver
    2201
    Posts
    29

    Index Match on multiply columns

    Hello All,

    truing to index match on multiply column what i am truing to do is:

    =INDEX(Sheet1!C2:C14, MATCH(1, (Sheet1!C2 = Table2[Product]) * (Table2[Posting Date] > Sheet1!A2) * (Sheet1!D2 = Table2[Difference Quantity]), 0))

    1) Sheet1[Product] == Sheet2[Product]
    2) Date[Sheet2] > Date[Sheet2]
    3) Sheet1[Difference Quantity] == Sheet2[Difference Quantity]

    Please if you have time check attached file, formula is on Result.

    Thanks in advance have a great day!
    Attached Files Attached Files
    Last edited by B02T; 04-28-2022 at 01:19 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Index Match on multiply columns

    You showed us a formula that does not work, but did not tell us what teh expected answers are... So a total guess:

    =IFERROR(INDEX(Sheet1!$C$3:$C$14, MATCH(1, (Sheet1!C2 = Table2[Product])* (Table2[Posting Date] > Sheet1!A2) *(Sheet1!D2 = Table2[Difference Quantity]), 0)),"")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    04-06-2022
    Location
    Venlo
    MS-Off Ver
    2201
    Posts
    29

    Re: Index Match on multiply columns

    Hello Glenn,
    apologies requested result is Sheet1[Products], as formula starts =INDEX(Sheet1!C2:C14 , as return value.
    Thanks for the answer.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Index Match on multiply columns

    No, I measnt manually calculated expected answers. I can see that they're meant to come from Sheet1!C2:C14... but I actually think you meant Sheet1!$C$2:$C$14

  5. #5
    Registered User
    Join Date
    04-06-2022
    Location
    Venlo
    MS-Off Ver
    2201
    Posts
    29

    Re: Index Match on multiply columns

    Is it possible to receive Sheet1[Product] as result, based on those three condition, or its not possible to index and match on same column Sheet1[Product]?
    Last edited by B02T; 04-28-2022 at 12:17 PM.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Index Match on multiply columns

    Please, please look at the sheet I posted. Does it give the correct result? If not... type (manually) the correct result in an adjacent column.

  7. #7
    Registered User
    Join Date
    04-06-2022
    Location
    Venlo
    MS-Off Ver
    2201
    Posts
    29

    Re: Index Match on multiply columns

    Thanks for the solution, absolute and relative references the concept wasn't completely clear to me.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: Index Match on multiply columns

    Phew. I was 99.999% certain that was all your problem was, but we weren't getting through to each other for a while...

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) 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] Index/Match with 2 match columns, non-exact match
    By c1t in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-25-2019, 08:23 AM
  2. Replies: 4
    Last Post: 04-14-2017, 07:47 PM
  3. INDEX MATCH MATCH multiple columns with same heading
    By djm198 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-11-2016, 02:34 PM
  4. [SOLVED] Using Index & Match (or similar) to check two columns for a match
    By dvs in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-30-2015, 07:07 PM
  5. [SOLVED] Match Issue - Consolidate Columns of Data With Match/Index/etc?
    By excelsior123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2014, 05:14 PM
  6. If criteria match, multiply then sum across multiply worksheets
    By ciayers in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2013, 02:20 PM
  7. Match a condition and multiply columns
    By rniedzia in forum Excel General
    Replies: 2
    Last Post: 02-27-2012, 03:12 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