Min and Index Match or Vlookup with multiple criteria

nyconfidential

New Member
Joined
Jul 22, 2015
Messages
49
Office Version
  1. 365
  2. 2016
Hi all - I am trying to do either a vlookup or an index match that will find the min value from one column that has a matching value in another column. See below - my goal is to take ALL of the values in Row 2, and search column F for the rows that match, and then return the min value of Column G. So, in this case, I'd want to return the value of "43", since the min Qty of the values listed in Row 2 is 43(RAM-B-238 from Row 2). Can anyone tell me the best way to accomplish this? thanks!

component1.PNG
 

Attachments

  • component.PNG
    component.PNG
    22.8 KB · Views: 5

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
What version of Excel are you using?
Please update your account details to show this, as it affects which functions you can use.
 
Upvote 0
Ok, how about
+Fluff v2.xlsm
ABCDEFG
1
2abcdefhijxyz27
3122519abc21
4mno17
5hij30
6def25
7abc12
8def29
9xyz28
10hij19
11abc30
Master
Cell Formulas
RangeFormula
A3:C3A3=AGGREGATE(15,6,$G$2:$G$11/($F$2:$F$11=A2),1)
 
Upvote 0
Sorry Fluff, its 2016, will update my account shortly
Ok, how about
+Fluff v2.xlsm
ABCDEFG
1
2abcdefhijxyz27
3122519abc21
4mno17
5hij30
6def25
7abc12
8def29
9xyz28
10hij19
11abc30
Master
Cell Formulas
RangeFormula
A3:C3A3=AGGREGATE(15,6,$G$2:$G$11/($F$2:$F$11=A2),1)
Thanks Fluff - I notice that you are searching for one value at a time (explicitly specifying A2 in the formula) - is there a way i can do this by searching for all of the values in row 2 at once (abc, def, hij) and return the min value from row G in one formula?
 
Upvote 0
Ok, how about
Excel Formula:
=AGGREGATE(15,6,$G$2:$G$11/(($F$2:$F$11=A2)+($F$2:$F$11=B2)+($F$2:$F$11=C2)),1)
You have shown that you also have Excel 365, do you have the Filter function?
 
Upvote 0

Forum statistics

Threads
1,215,038
Messages
6,122,798
Members
449,095
Latest member
m_smith_solihull

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