Counting unique values with multiple arguments

dgexcellent

New Member
Joined
Nov 5, 2012
Messages
20
Hi, I have a 900+ line data set like the below. What I need is a formula that counts the number of unique occurrences in the second column in reference to the first. This value would then be referenced into a second table using the unique values of the first.

So I'm after two formulas :
create a list of the unique values from Data1 (having this auto-sorted numerically would be fantastic but not vital)
count the number of unique values in Data2.

Thanks greatly in advance,

Dave :-)

Data and intended Results look like :
[TABLE="width: 647"]
<tbody>[TR]
[TD]Data1[/TD]
[TD]Data2[/TD]
[TD][/TD]
[TD][/TD]
[TD]Results[/TD]
[TD]No. Of Unique Values in Data 2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]f720298[/TD]
[TD="align: right"]3608866336[/TD]
[TD][/TD]
[TD][/TD]
[TD]f720298[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]f722942[/TD]
[TD="align: right"]9897888929[/TD]
[TD][/TD]
[TD][/TD]
[TD]f722942[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]f724251[/TD]
[TD="align: right"]3501430051[/TD]
[TD][/TD]
[TD][/TD]
[TD]f724251[/TD]
[TD="align: right"]2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]f724251[/TD]
[TD="align: right"]3501430051[/TD]
[TD][/TD]
[TD][/TD]
[TD]f807531[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]f724251[/TD]
[TD="align: right"]9897888929[/TD]
[TD][/TD]
[TD][/TD]
[TD]g341351[/TD]
[TD] 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]f807531[/TD]
[TD="align: right"]1867781528[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]g341351[/TD]
[TD="align: right"]1867781528[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Thanks to everyone, this has now solved an inter-departmental war and for the first time created solid reporting on a months old KPI :-).

I love this community of learning and continual improvement.
 
Upvote 0
Hi Dave,

I'm pleased you have resolved this and thanks for the feedback. :biggrin:

You know where to come for all your Excel problems, see you again soon ;)

Ak
 
Upvote 0

Forum statistics

Threads
1,225,482
Messages
6,185,253
Members
453,283
Latest member
Shortm88

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