unique list from range

uk747

Well-known Member
Joined
Jul 20, 2011
Messages
843
Office Version
  1. 365
Platform
  1. Windows
Hi
Trying to get a unique list from a range of cells in Columns A:D below

Normally I use =UNIQUE(A2:A10) but not sue how to use for a2:D20 especially if columns have different numbers of names

alanamytombob
johnmaryjeffmary
bobkeithkeithalan
tombilltommary
bobfredian
mavisjackjohn
keithmary
fred

End result should be

alan
amy
bill
bob
fred
ian
jack
jeff
john
keith
mary
mavis
tom
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
How about
+Fluff 1.xlsm
ABCD
1
2alanamytombob
3johnmaryjeffmary
4bobkeithkeithalan
5tombilltommary
6bobfredian
7mavisjackjohn
8keithmary
9fred
10
11
12
13
14alan
15amy
16bill
17bob
18fred
19ian
20jack
21jeff
22john
23keith
24mary
25mavis
26tom
27
Data
Cell Formulas
RangeFormula
A14:A26A14=LET(Data,A2:D10,r,ROWS(Data),s,SEQUENCE(r*COLUMNS(Data),,0),I,INDEX(Data,MOD(s,r)+1,INT(s/r)+1),SORT(UNIQUE(FILTER(I,I<>""))))
Dynamic array formulas.
 
Upvote 0
thanks, but unfortunately don't have LET formula yet
 
Upvote 0
Not a problem, it just makes the formula a bit longer.
Excel Formula:
=SORT(UNIQUE(FILTER(INDEX(A2:D10,MOD(SEQUENCE(ROWS(A2:D10)*COLUMNS(A2:D10),,0),ROWS(A2:D10))+1,INT(SEQUENCE(ROWS(A2:D10)*COLUMNS(A2:D10),,0)/ROWS(A2:D10))+1),INDEX(A2:D10,MOD(SEQUENCE(ROWS(A2:D10)*COLUMNS(A2:D10),,0),ROWS(A2:D10))+1,INT(SEQUENCE(ROWS(A2:D10)*COLUMNS(A2:D10),,0)/ROWS(A2:D10))+1)<>"")))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,225,476
Messages
6,185,205
Members
453,283
Latest member
Shortm88

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