populate output values

abdulla88

New Member
Joined
Jan 23, 2021
Messages
14
Office Version
  1. 2019
Platform
  1. Windows
Can anyone help me with this?

How can I filter the values in Table No. 1 by selecting from the dropdown list of Table No. 2 and thus populate the output in Table No. 3?
For example, if I choose grade A1 from the drop-down list in Table 2, I must get all students belonging to this class in Table 3 by name and academic number.

Thanks for the help in advance.


الشعبة 2 وحد 1.xlsx
ABCDEFGHIJK
1123
2NoNameAcademic NoClassClassNameAcadmic No
31Tom123A1A3
42Jack321A1
53Roben456A2
64Ali654A2
75Nasser789A3
86William987A2
97Peter963A3
108Tomas852A1
119Moh'd741A1
1210Harry147A3
Sheet1
Cells with Data Validation
CellAllowCriteria
H3ListA1,A2,A3
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Is this what you mean?

22 04 14.xlsm
ABCDEFGHIJK
1123
2NoNameAcademic NoClassClassNameAcadmic No
31Tom123A1A3Nasser789
42Jack321A1Peter963
53Roben456A2Harry147
64Ali654A2  
75Nasser789A3  
86William987A2  
97Peter963A3  
108Tomas852A1  
119Moh'd741A1  
1210Harry147A3  
Filtered List
Cell Formulas
RangeFormula
J3:K12J3=IFERROR(INDEX(B$3:B$12,AGGREGATE(15,6,(ROW(B$3:B$12)-ROW(B$3)+1)/($D$3:$D$12=$H$3),ROWS(J$3:J3))),"")
 
Upvote 0
Solution
Is this what you mean?

22 04 14.xlsm
ABCDEFGHIJK
1123
2NoNameAcademic NoClassClassNameAcadmic No
31Tom123A1A3Nasser789
42Jack321A1Peter963
53Roben456A2Harry147
64Ali654A2  
75Nasser789A3  
86William987A2  
97Peter963A3  
108Tomas852A1  
119Moh'd741A1  
1210Harry147A3  
Filtered List
Cell Formulas
RangeFormula
J3:K12J3=IFERROR(INDEX(B$3:B$12,AGGREGATE(15,6,(ROW(B$3:B$12)-ROW(B$3)+1)/($D$3:$D$12=$H$3),ROWS(J$3:J3))),"")
Yes, exactly ??
Thank you
 
Upvote 0
You're welcome. Thanks for the confirmation. :)
 
Upvote 0

Forum statistics

Threads
1,214,808
Messages
6,121,684
Members
449,048
Latest member
81jamesacct

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