Help with getting all unique values from 4 columns

Styx

New Member
Joined
Nov 19, 2021
Messages
20
Office Version
  1. 2007
Platform
  1. Windows
I have 4 columns with all kinds of values with a lot of duplicates.
With help of a matrix formula I want to have 1 column with all unique values.

One column is not a problem:
={ALS.FOUT(INDEX(B$7:B$19;VERGELIJKEN(ONWAAR;ISGETAL(VERGELIJKEN(B$7:B$19;$H$6:H6;0));0));"")}
How to do this with 4 columns (and yes, column D is always empty)

Thanks in advance!
 

Attachments

  • Knipsel.PNG
    Knipsel.PNG
    14.3 KB · Views: 18

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
are you still using version 2007 excel
if using a later version 365
=UNIQUE(VSTACK(B3:B11,C3:C11,E3:E11,F3:F11))

Book8
ABCDEFGH
1
2
313101991
414102982
525103994
622104997
714101989
845102993
922103995
107410498101
11952299102
12103
13104
1422
1599
1698
Sheet1
Cell Formulas
RangeFormula
F3,F11,F8:F9,F5:F6F3=99
H3:H16H3=UNIQUE(VSTACK(B3:B11,C3:C11,E3:E11,F3:F11))
Dynamic array formulas.


OR
=SORT(UNIQUE(VSTACK(B3:B11,C3:C11,E3:E11,F3:F11)))
to sort in order
 
Upvote 0
are you still using version 2007 excel
if using a later version 365
=UNIQUE(VSTACK(B3:B11,C3:C11,E3:E11,F3:F11))

Book8
ABCDEFGH
1
2
313101991
414102982
525103994
622104997
714101989
845102993
922103995
107410498101
11952299102
12103
13104
1422
1599
1698
Sheet1
Cell Formulas
RangeFormula
F3,F11,F8:F9,F5:F6F3=99
H3:H16H3=UNIQUE(VSTACK(B3:B11,C3:C11,E3:E11,F3:F11))
Dynamic array formulas.
Hi etaf,

Thans for your answer!
I indeed use an older version of Excel, so that formula will not work for that (older) computer.
Nevertheless I'll take your solution in mind, but still need the 2007 solution ;)
 
Upvote 0
ok, sorry cant help with that , been a long while since i used 2007 ....
 
Upvote 0
See if the attached link helps. You may want to look at this option:

Extract unique values from multiple columns with Pivot Table

 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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