Finding unique values within subcategory using function

ulooz

New Member
Joined
Nov 18, 2014
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a number of Unique ID's in a column, many of them are dups so I need the count of the # of unique value hits, which I can do using (assuming they are in column A) =SUM(IF(FREQUENCY(A:A,A:A)>0,1)) -So let's say we return 100 results. Now Column A represents two months of data which is housed in Column B - I need the # of unique hits per column A but also for each particular month, so Month 1 would have 80 hits and Month 2 would have 20.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Assuming your Unique IDs are in column A, and your Months are in column B... and your input values are in D1 (unique ID) and D2 (month) then in D4 you can use:

=SUMPRODUCT(--(A:A=D1),--(B:B=D2))
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,185
Members
449,071
Latest member
cdnMech

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