filter/sorting

ADEYADEEL

New Member
Joined
Mar 3, 2023
Messages
4
Office Version
  1. 2019
I have sheet 1 with bill of materiel (product & material).
on 2nd sheet i have only material list with available stock(use in sheet 1 products).
i want separate cell on sheet 2 ,where i type/ select products and its show only material use in that product.
 

Attachments

  • mrexcel.PNG
    mrexcel.PNG
    13 KB · Views: 12

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.
You can try this:

Book1
ABCDEFGHIJ
1Sheet 1Sheet 2Type Product:Product B
2ProductsMaterialMaterialStock
3Product AMat AMat A6Mat B7
4Product AMat BMat B7Mat A6
5Product AMat CMat C6Mat Y9
6Mat Y9
7Product BMat B
8Product BMat A
9Product BMat Y
ADEYADEEL
Cell Formulas
RangeFormula
H3:H5H3=INDEX($A$3:$B$9,MATCH($I$1,$A$3:$A$9,0),2):INDEX($A$3:$B$9,MATCH($I$1,$A$3:$A$9,0)+COUNTIF($A$3:$A$9,$I$1)-1,2)
I3:I5I3=IF(COUNTIF($A$3:$A$9,$I$1)>=ROWS(I$2:I2),VLOOKUP(H3,$E$3:$F$6,2,0),"")
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,345
Messages
6,124,408
Members
449,157
Latest member
mytux

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