Filter Unique Values out of a Multi-Column List

SanjayGMusafir

Well-known Member
Joined
Sep 7, 2018
Messages
1,503
Office Version
  1. 2021
Platform
  1. MacOS
Hi Experts,

I wanted to get a one column list out a range. So far have been able to extract a multicolumn list. But I want it to be one column list so that it could be filtered further for unique values.

Got kind of stuck somewhere.

Please help
Thanks in advance

Underneath is the formula I have used to extract data so far

=
Excel Formula:
LET(fMob,FILTER(Clients[[PMobile]:[sR2]],{1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0}),SORT(UNIQUE(fMob),,-1))
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Maybe:

Book1
ABCDEFGHI
1
2PmobileHeadingAHeadingBHeadingCHeadingDsR2Z
3ABCDEFX
4GHIJKLR
5MBAXKLP
6BCRPOZN
7BANANAM
8L
9J
10I
11G
12F
13D
14C
15B
16A
Sheet10
Cell Formulas
RangeFormula
I2:I16I2=LET( t,Clients[#Data], r,ROWS(t), sel,{1,3,4,6}, c,COLUMNS(sel), s,SEQUENCE(r*c,,0), fMob,INDEX(t,MOD(s,r)+1,INDEX(sel,INT(s/r)+1)), SORT(UNIQUE(fMob),,-1) )
Dynamic array formulas.


Adapt the sel variable to include the columns you want.
 
Upvote 0
Solution
How about
Excel Formula:
=SORT(UNIQUE(TOCOL(CHOOSECOLS(Clients[[PMobile]:[sR2]],1,4,7,10,13,16))),,-1)
 
Upvote 0
Maybe:

Book1
ABCDEFGHI
1
2PmobileHeadingAHeadingBHeadingCHeadingDsR2Z
3ABCDEFX
4GHIJKLR
5MBAXKLP
6BCRPOZN
7BANANAM
8L
9J
10I
11G
12F
13D
14C
15B
16A
Sheet10
Cell Formulas
RangeFormula
I2:I16I2=LET( t,Clients[#Data], r,ROWS(t), sel,{1,3,4,6}, c,COLUMNS(sel), s,SEQUENCE(r*c,,0), fMob,INDEX(t,MOD(s,r)+1,INDEX(sel,INT(s/r)+1)), SORT(UNIQUE(fMob),,-1) )
Dynamic array formulas.


Adapt the sel variable to include the columns you want.
Worked like charm. Thanks @Eric W
 
Upvote 0
Hi

=SORT(UNIQUE(TOCOL(CHOOSECOLS(Clients[#Data];1;3;4;6);3));;-1)
Can't comment on the functionality as it didn't work on my system due to lack of some formula option.

Anyways Thanks for your help @ISY
 
Upvote 0
How about
Excel Formula:
=SORT(UNIQUE(TOCOL(CHOOSECOLS(Clients[[PMobile]:[sR2]],1,4,7,10,13,16))),,-1)
Thanks @Fluff for reverting.

Can't comment on the functionality as it didn't work on my system due to lack of some formula option.

Thanks again for your help
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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