Index match match not using second set of match criteria

ajw34229

New Member
Joined
Oct 28, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
What I'm trying to do is pull the vendor name from the raw data file by matching both the item number and low location name, but I can't seem to get the second set of match criteria to work. Here is the existing formula that I have in place: =INDEX('Raw Data Bill Only'!$K$7:$K$7642,MATCH(A7,'Raw Data Bill Only'!$B$7:$B$7642,MATCH(R7,'Raw Data Bill Only'!$J$7:$J$7642,0)))

Based on the data, the return vendor value should be "Online Packaging, Inc." as that matches both the 'item' and 'low location' criteria, but it returns "Champion Packaging & Distributing" instead.

Any help would be appreciated!

mr excel 1.jpg


mr excel 2.jpg
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi & welcome to MrExcel.
How about
Excel Formula:
=TAKE(FILTER('Raw Data Bill Only'!$K$7:$K$7642,(A7='Raw Data Bill Only'!$B$7:$B$7642)*(R7='Raw Data Bill Only'!$J$7:$J$7642)),1)
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=TAKE(FILTER('Raw Data Bill Only'!$K$7:$K$7642,(A7='Raw Data Bill Only'!$B$7:$B$7642)*(R7='Raw Data Bill Only'!$J$7:$J$7642)),1)
This worked!!

Can you briefly explain what the TAKE/FILTER function does? I'll have to dig into that one further so I can understand it better. THANK YOU!!
 
Upvote 0
The filter returns all rows in col K that match the criteria & take will "take" the 1st of them.
 
Upvote 0

Forum statistics

Threads
1,224,815
Messages
6,181,136
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top