Counting Value with Multiple Duplicate Entries?

privxls

Board Regular
Joined
Nov 22, 2016
Messages
55
Office Version
  1. 2021
Platform
  1. Windows
Hello,

It has been a while since I've been here on the community, I've had some challenges with life and now I seem to be back on track and I hope everyone here are doing fine and well! I wanted to ask a questions regarding a problem that I am currently facing, I have a sheet where it has multiple duplicates.

I want to count the sort a list that contains duplicates. Now, while I understand that you may say just remove the duplicates, it is a bit tricky as I am not allowed to remove any duplicates. Let me provide you a bit of information about this: The sheet contains list of employees that have processed transactions for customers. I need to get the exact number that the employee has processed a transaction for each customer. The list contains more than 10K data and it's a combination of unique and duplicates. The reason for duplicates is that some customers are repeat customers and they use the same transaction number. See screenshot below:

1668652906533.png


I want to get each employee's number of interactions per customer. Also, I want to get each employee's number of interactions per customer excluding duplicates.

1668652944361.png


I've been playing around =COUNTIFS function and searched all over but can't seem to get an answer.

Hoping someone can help me :)

Thank you.
 

Attachments

  • 1668652849625.png
    1668652849625.png
    27.7 KB · Views: 23
  • 1668652860035.png
    1668652860035.png
    34.3 KB · Views: 25

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,224,618
Messages
6,179,916
Members
452,949
Latest member
beartooth91

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