TheRussian68
New Member
- Joined
- May 26, 2016
- Messages
- 15
Question should be straight forward. I searched and being a newbie didn't find a solution - at least one that I understood.
Assume the table below. I would like count the number of unique numbers from the each of the names (Cat, Dog, Mouse). The real world problem is I have about 800,000 call records where each row contains the name of the service customer subscribes to (represented by Cat, Dog, Mouse) and the actual subscription # associated with the outbound call. So I want to count the number of Unique Subscriptions that are found in the Subscription Column based on the unique Plan Name.
In the example below, I look at Column A, find each name (Say Cat) and then look at the corresponding value in Column B (Sub #) and count it exactly once. Cat has Sub # "1" found in row 2 and row 6 so I only count the occurrence of Sub # 1 exactly once. Cat has Sub # 2 occuring at row5 and Sub #3 at row 12. The value returned for unique subscriptions associated with all the Cat names is exactly 3 since we ignored the one occurrence of a duplicate (the Sub #1 ). Hopefully what I explained makes sense.
<tbody>
</tbody>
Assume the table below. I would like count the number of unique numbers from the each of the names (Cat, Dog, Mouse). The real world problem is I have about 800,000 call records where each row contains the name of the service customer subscribes to (represented by Cat, Dog, Mouse) and the actual subscription # associated with the outbound call. So I want to count the number of Unique Subscriptions that are found in the Subscription Column based on the unique Plan Name.
In the example below, I look at Column A, find each name (Say Cat) and then look at the corresponding value in Column B (Sub #) and count it exactly once. Cat has Sub # "1" found in row 2 and row 6 so I only count the occurrence of Sub # 1 exactly once. Cat has Sub # 2 occuring at row5 and Sub #3 at row 12. The value returned for unique subscriptions associated with all the Cat names is exactly 3 since we ignored the one occurrence of a duplicate (the Sub #1 ). Hopefully what I explained makes sense.
<tbody> </tbody> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<tbody>
</tbody>