Repeat names based on UNIQUE items for that name

Sufiyan97

Well-known Member
Joined
Apr 12, 2019
Messages
1,614
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
I have below data

When I filter name A and then filter Type in column K, I have 3 unique items, so I want to repeat name "A" 3 times in another sheet, same way I have name "B" and when I filter name B and then filter type in column K, I have 2 unique items so now I want to repeat name B in another sheet after name A

Let me know if any other info is needed


Book4
ABCDEFGHIJKLMNOP
1TypeNames
2SANGHA_SESSIONA
3SANGHA_SESSIONA
4INTEREST_GROUPA
5COMMUNITY_SITA
6INTEREST_GROUPA
7SANGHA_SESSIONA
8SANGHA_SESSIONA
9SANGHA_SESSIONA
10SANGHA_SESSIONA
11SANGHA_SESSIONA
12SANGHA_SESSIONA
13SANGHA_SESSIONA
14SANGHA_SESSIONA
15SANGHA_SESSIONA
16INTEREST_GROUPA
17COMMUNITY_SITA
18INTEREST_GROUPA
19SANGHA_SESSIONA
20SANGHA_SESSIONA
21SANGHA_SESSIONA
22ExplorerB
23ExplorerB
24ExplorerB
25ExplorerB
26ExplorerB
27ExplorerB
28ImmersionB
29ImmersionB
30ExplorerB
31ImmersionB
32ImmersionB
33ExplorerB
34ImmersionB
35ExplorerB
36ImmersionB
37ExplorerB
38ExplorerB
39ImmersionB
40ExplorerB
41ExplorerB
42ImmersionB
43ImmersionB
44ExplorerB
45ImmersionB
46ExplorerB
47ImmersionB
48ExplorerB
49ExplorerB
50ExplorerB
51ImmersionB
52ImmersionB
53ImmersionB
54ImmersionB
55ExplorerB
56ImmersionB
57ExplorerB
58ImmersionB
59ImmersionB
60ExplorerB
61ExplorerB
62ImmersionB
63ImmersionB
64ExplorerB
65ImmersionB
66ExplorerB
67ExplorerB
68ExplorerB
69ExplorerB
70ExplorerB
71ExplorerB
72ExplorerB
73ImmersionB
74ExplorerB
75ImmersionB
76ImmersionB
77ImmersionB
78ImmersionB
79ImmersionB
80ImmersionB
81ExplorerB
82ExplorerB
83ExplorerB
84ExplorerB
85ExplorerB
86ExplorerB
87ExplorerB
88ImmersionB
89ExplorerB
90ExplorerB
91ExplorerB
92ExplorerB
93ExplorerB
94ImmersionB
95ImmersionB
96ExplorerB
97ExplorerB
98ExplorerB
99ExplorerB
100ImmersionB
101ExplorerB
102ExplorerB
103ExplorerB
104ExplorerB
105ImmersionB
106ExplorerB
107ExplorerB
108ExplorerB
109ImmersionB
110ExplorerB
111ExplorerB
112ExplorerB
113ExplorerB
114ExplorerB
115ImmersionB
116ImmersionB
117ExplorerB
118ExplorerB
119ExplorerB
120ExplorerB
121ImmersionB
122ExplorerB
123ExplorerB
124ExplorerB
125ExplorerB
126ImmersionB
127ImmersionB
128ExplorerB
129ExplorerB
130
Sheet1
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
How about
Excel Formula:
=TAKE(UNIQUE(FILTER(CHOOSECOLS(Sheet1!K2:N1000,1,-1),Sheet1!K2:K1000<>"")),,-1)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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