Index and match question

Med4040

Board Regular
Joined
Jan 9, 2018
Messages
55
Hi guys,

I need to find the smallest batch size of a product that is made on particular equipment
So on the right I have Equipment 1 (Cell K4) and on this equipment, Product A and Product are made
What are the smallest batch sizes of these products? The source table is on the left
The results should be 221.4 in M4 and 64.4 in M5 because these are the only batch sizes

Now, on equipment 3 in, there are 2 products A (with different batch sizes), product B and Product D. In this case for the product A, the smallest batch size should be the result, when I select product A.

I made an attempt to do that but I couldn't do it.

Thank you.

fcup3a.png
 
Last edited:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Thanks again Aladin,

So here is the question, the products listed in col H have a designation in col B. On the right where I am showing equipment 1 and the products made on it, which product has designation B.
In the attached image, product C has designation B in col I, so in col N, only N5 will have designation B.


1zmlc83.png
 
Upvote 0
@ Med4040

In N4 enter and copy down:

=IF(INDEX($H$4:$H$8,MATCH($K$4,$A$4:$A$8,0))=$L4,INDEX($I$4:$I$8,MATCH($K$4,$A$4:$A$8,0)),"")

Note. Try to post your data in a way that is copiable into Excel. Otherwise, the data your images must be re-typed (There is no joy in that for a helper.).
 
Upvote 0

Forum statistics

Threads
1,221,417
Messages
6,159,789
Members
451,589
Latest member
Harold14

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