Extract Unique Value List from a range - Multiple columns to 1 list

willow1985

Well-known Member
Joined
Jul 24, 2019
Messages
888
Office Version
  1. 365
Platform
  1. Windows
I am hoping someone could help me with a Unique formula that makes a unique list from a range of cells (multiple columns)

Below is an example of what I am looking for however the actual data may be 30 columns and roughly 200 rows (and the columns may not be all beside each other)

Thank you very much to anyone who can help!

Change Request.xlsm
ABCDEF
11234Result
2BlueYellowRedPinkBlue
3RedYellowPurpleBlueGreen
4YellowGreenRedBluePink
5Purple
6Red
7Yellow
Sheet2
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
ATG.xlsx
ABCDEFG
11234ResultResult
2BlueYellowRedPinkBlueBlue
3RedYellowPurpleBlueGreenGreen
4YellowGreenRedBluePinkPink
5PurplePurple
6RedRed
7YellowYellow
Sheet1
Cell Formulas
RangeFormula
G2:G7G2=LET(tbl,A2:D4,c,COLUMNS(tbl),seq,SEQUENCE(ROWS(tbl)*c,,0),SORT(UNIQUE(INDEX(tbl,INT(seq/c)+1,MOD(seq,c)+1))))
Dynamic array formulas.
 
Upvote 0
Solution
Check out this thread:

 
Upvote 0
ATG.xlsx
ABCDEFG
11234ResultResult
2BlueYellowRedPinkBlueBlue
3RedYellowPurpleBlueGreenGreen
4YellowGreenRedBluePinkPink
5PurplePurple
6RedRed
7YellowYellow
Sheet1
Cell Formulas
RangeFormula
G2:G7G2=LET(tbl,A2:D4,c,COLUMNS(tbl),seq,SEQUENCE(ROWS(tbl)*c,,0),SORT(UNIQUE(INDEX(tbl,INT(seq/c)+1,MOD(seq,c)+1))))
Dynamic array formulas.

Thank you very much! Works perfectly ? ? ?
 
Upvote 0
Just FYI, lrobbo314's formula assumes all the columns are adjacent, and have the same number of rows. The link I posted has columns on different sheets.
 
Upvote 0
Just FYI, lrobbo314's formula assumes all the columns are adjacent, and have the same number of rows. The link I posted has columns on different sheets.
Thank you very much, I made it work with everything adjacent but made a note of the other formula.
 
Upvote 0

Forum statistics

Threads
1,215,254
Messages
6,123,894
Members
449,132
Latest member
Rosie14

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