Extract Unique Values

YasserKhalil

Well-known Member
Joined
Jun 24, 2010
Messages
852
Hello everybody
I have data in range (A1:A5) the value A and in range(A6:A10) the value B and in range(A11:A15) the value C

Three values in column A : A,B and C

In column B different values
A
s
A
f
A
d
A
d
A
f
B
r
B
q
B
u
B
t
B
x
C
n
C
m
C
k
C
p
C
p

<tbody>
</tbody>

I want to extract unique values of Column A to Column E
The result should be :
E1 : A E2: B E3: C

In F1 ,G1 and H1 the values should be : s f d
In F2 , G2 ,H2, I2 and J2 the values should be : r q u t x
In F3,G3,H3 and I3 the values should be: n m k p

I want the solution to be in formulas

Thanks advanced
 
I have inserted a row at first row and the formulas' results vanished
I tried to edit the formula but it's no use..
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hello everybody
I have data in range (A1:A5) the value A and in range(A6:A10) the value B and in range(A11:A15) the value C

Three values in column A : A,B and C

In column B different values
A
s
A
f
A
d
A
d
A
f
B
r
B
q
B
u
B
t
B
x
C
n
C
m
C
k
C
p
C
p

<TBODY>
</TBODY>

I want to extract unique values of Column A to Column E
The result should be :
E1 : A E2: B E3: C

In F1 ,G1 and H1 the values should be : s f d
In F2 , G2 ,H2, I2 and J2 the values should be : r q u t x
In F3,G3,H3 and I3 the values should be: n m k p

I want the solution to be in formulas

Thanks advanced

E1, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX($A$1:$A$30,SMALL(IF(FREQUENCY(IF($A$1:$A$30<>"",
  MATCH($A$1:$A$30,$A$1:$A$30,0)),ROW($A$1:$A$30)-ROW($A$1)+1),
  ROW($A$1:$A$30)-ROW($A$1)+1),ROWS(E$1:E1))),"")
 
Upvote 0

Forum statistics

Threads
1,217,382
Messages
6,136,231
Members
450,000
Latest member
jgp19

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