Create Dynamic list from grid (formula, not VBA)

GuyGadois

Active Member
Joined
Jan 12, 2009
Messages
342
Office Version
  1. 2019
Platform
  1. Windows
I have the following grid (simplified) where I would like the user enters a product in F1 (entered in as "Product 1") and the corresponding percentage is displayed on the right. I will use Data Validation for a drop-down list for F1 to make it easy for the user to choose the product and then the parts and percentages are automatically pulled over to F2 and G2. Can anyone help with this?

Cheers,

Guy

Product 1Product 2Product 3Product 1<<-Where you enter in Product Name
A
33.33​
A
33.33​
<<- Results
B
0​
33.33​
C
33.33​
C
33.33​
33.33​
D
33.34​
D
33.34​
33.33​
E
0​
33.34​
33.34​
F
0​
33.33​
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try

Book2
BCDEFGHIJ
1Product 2
2Product 1Product 2Product 3<<-Where you enter in Product Name
3A33.33A33.330<<- Results
4B033.33B33.3333.33
5C33.3333.33C33.3433.33
6D33.3433.33D0
7E033.3433.34E33.34
8F033.33F
Sheet1
Cell Formulas
RangeFormula
I3:I7I3=INDEX($C$3:$E$8,MATCH(G3,$B$3:$B$8,0),MATCH($F$1,$C$2:$E$2,0))
 
Upvote 0
Thanks for your reply. It is kind of what I am looking for but not getting the end results. The result should be a dynamic list where it shows the "Parts" (Column A) and the percentages for the product Chosen. If there is no "Part" for that product then the Part should not show. For example...

PartProduct 1Product 2Product 3Product 1%Product 3%
A33.33A33.33D25
B033.33C33.33E25
C33.3333.33D33.34F25
D33.3425ZZ25
E033.3425
F025
S
ZZ25

Note that in the example above the yellow text is where the user chooses a Product. Below the Part will be listed if there is a percentage assigned to it. The next column shows the value associated to that part for that product. If the product does not use the part then it will not be shown in the results.

Cheers

Guy
 
Upvote 0
How about
+Fluff 1.xlsm
ABCDEFG
1PartProduct 1Product 2Product 3Product 1%
2A33.33A33.33
3B033.33C33.33
4C33.3333.33D33.34
5D33.3425  
6E033.3425  
7F025  
8S  
9ZZ25
10
11
Main
Cell Formulas
RangeFormula
F2:F8F2=IFERROR(INDEX($A$2:$A$100,AGGREGATE(15,6,(ROW($A$2:$A$100)-ROW($A$2)+1)/($B$1:$D$1=$F$1)/($B$2:$D$100>0),ROWS(F$2:F2))),"")
G2:G8G2=IF(F2="","",INDEX($B$2:$D$100,MATCH(F2,$A$2:$A$100,0),MATCH($F$1,$B$1:$D$1,0)))
 
Upvote 0

Forum statistics

Threads
1,215,632
Messages
6,125,908
Members
449,273
Latest member
mrcsbenson

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