Creating a List From the Unique Data of Two Separate Rows.

LearningExcel0

New Member
Joined
Dec 1, 2015
Messages
3
I am attempting to create a list from the unique data of 2 row. I have tried VLOOKUP, MATCH, and PivotTables and couldn't find what I'm looking for, I am still new to Excel and its various functions.

An example of what I'm trying to accomplish is:
In A1 to A5 we have: a,b,c,d,e and in B1 to B5 we have: a,b,c,f,g

I want row C to show e,d as a list and row D to show f,g as a list.

As row C removes the duplicates between rows A and B and as a list keeps the unique values of row A, while row D removes the duplicates between rows A and B and as a list keeps the unique values of row B.

If anyone could help me out with a formula or a direction of which formula or functions I could use it would be greatly appreciated.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
There is no such thing as Row C
Your quote:"I want row C to show e,d as a list and row D to show f,g as a list."

In Excel we have Columns A,B,C,D etc. etc.
And we have Rows 1,2,3,4 etc. etc.
 
Upvote 0
Row\Col
A​
B​
C​
D​
1​
aadf
2​
bbeg
3​
cc
4​
df
5​
eg

In C2 control+shift+enter, not just enter, and copy down:
Rich (BB code):

=IFERROR(INDEX($A$1:$A$5,SMALL(IF(1-ISNUMBER(MATCH($A$1:$A$5,$B$1:$B$5,0)),
  ROW($A$1:$A$5)-ROW($A$1)+1),ROWS($C$2:C2))),"")

In D2 control+shift+enter, not just enter, and copy down:
Rich (BB code):

=IFERROR(INDEX($B$1:$B$5,SMALL(IF(1-ISNUMBER(MATCH($B$1:$B$5,$A$1:$A$5,0)),
  ROW($B$1:$B$5)-ROW($B$1)+1),ROWS($D$2:D2))),"")
<strike></strike><strike></strike>
 
Upvote 0
Thank you. Corrected it should say:

An example of what I'm trying to accomplish is:
In A1 to A5 we have: a,b,c,d,e and in B1 to B5 we have: a,b,c,f,g

I want column C to show e,d as a list and column D to show f,g as a list.

As column C removes the duplicates between columns A and B and as a list keeps the unique values of column A, while column D removes the duplicates between columns A and B and as a list keeps the unique values of columns B.

Is there a way to edit my original document? This is my first post, Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,784
Messages
6,121,536
Members
449,037
Latest member
tmmotairi

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