Counting multiple occurrences of a number

rac241985

New Member
Joined
Jan 30, 2017
Messages
27
Hello Everyone,

Column A contains multiple file ID numbers which can be repeated .

Column B contains the operator name who will work on the these file numbers.

I want to count the total number of unique file ID numbers which an operator will work on (i.e. not counting the repeated file ID numbers again).

[TABLE="width: 500"]
<tbody>[TR]
[TD]File ID[/TD]
[TD]Operator Name[/TD]
[/TR]
[TR]
[TD]123ABC
[/TD]
[TD]John [/TD]
[/TR]
[TR]
[TD]123ABD[/TD]
[TD]Adam[/TD]
[/TR]
[TR]
[TD]123ABB[/TD]
[TD]Alex[/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]123ABB[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]123ABD[/TD]
[TD]John[/TD]
[/TR]
[TR]
[TD]123ABD[/TD]
[TD]Adam[/TD]
[/TR]
</tbody>[/TABLE]

As you can see in this example there are 3 different File IDs and three different operators. John has worked on all three of them multiple times. However, I want the output for total number of unique files John has worked on to be 3.

Can someone please help me with the formula?

Thank you!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,223,244
Messages
6,170,976
Members
452,372
Latest member
Natalie18

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