Return unique values from large dataset

AccountantGuy

New Member
Joined
Jul 3, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,

Long time reader, first time poster.

I have a large dataset of relationships between "C Items" and "R Items". For a given "C Item" I would like to return each associated unique "R Item" only one time. Some "C Items" may have only one "R Item" and others may have fifty. I've included screenshots of a mock up of the data and the desired outcome I'm seeking to reach.

I imagine this is much easier than I'm making it but after going down a rabbit hole of countif's and index matching, its time to ask the experts. Any recommendations?
Thanks!

1656853733216.png


1656853763288.png
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
How about in A5
Excel Formula:
=UNIQUE('Data File'!A2:A21)
and in B5 dragged down
Excel Formula:
=TRANSPOSE(UNIQUE(FILTER('Data File'!$B$2:$B$21,'Data File'!$A$2:$A$21=A5)))
 
Upvote 0
Solution
You're a legend mate, been reading your responses for years.

As usual, this was the solution! Thank you for your help.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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