if i insert a value on a cell it will filter a column and give the data to a column

mark692

Active Member
Joined
Feb 27, 2015
Messages
321
Office Version
  1. 2016
Platform
  1. Windows
i have this 2 table
table 1 is a table with name and a group and table 2 is column for name. i want a formula that will give me the names from column B to column D depending on a group letter that i will put on cell D1. if i put group A names on table 2 will appear that have a group A on table 1. is that possible in excel formula?

sample table below
Book1
ABCD
1Group A
2NameGroup Name
3MickeyAMickey
4MinnieAMinnie
5GoofyAGoofy
6A
7A
8A
9GokouB
10GohanB
11GotenB
12B
13B
14sailor moonC
15Sailor MarsC
16C
17C
Sheet1
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
is that possible in excel formula?
Sure. With your 2016 version of Excel, try this, copied down.

20 07 24.xlsm
ABCD
1Group A
2NameGroup Name
3MickeyAMickey
4MinnieAMinnie
5GoofyAGoofy
6A 
7A 
8A 
9GokouB 
10GohanB 
11GotenB 
12B 
13B 
14sailor moonC 
15Sailor MarsC 
16C 
17C 
18 
19 
20 
Names
Cell Formulas
RangeFormula
D3:D20D3=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(B$3:B$20)/((B$3:B$20=D$1)*(A$3:A$20<>"")),ROWS(D$3:D3))),"")
 
Upvote 0
Sure. With your 2016 version of Excel, try this, copied down.

20 07 24.xlsm
ABCD
1Group A
2NameGroup Name
3MickeyAMickey
4MinnieAMinnie
5GoofyAGoofy
6A 
7A 
8A 
9GokouB 
10GohanB 
11GotenB 
12B 
13B 
14sailor moonC 
15Sailor MarsC 
16C 
17C 
18 
19 
20 
Names
Cell Formulas
RangeFormula
D3:D20D3=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW(B$3:B$20)/((B$3:B$20=D$1)*(A$3:A$20<>"")),ROWS(D$3:D3))),"")
thank you sir this works!
 
Upvote 0

Forum statistics

Threads
1,214,998
Messages
6,122,639
Members
449,093
Latest member
Ahmad123098

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