Count a name once not multiple times

Patriot2879

Well-known Member
Joined
Feb 1, 2018
Messages
1,231
Office Version
  1. 2010
Platform
  1. Windows
Hi goodmorning, please can you help, I have a spreadsheet where it has peoplesnames and dates but for example there can be the same name on the same date inputtedmany times so Jo Bloggs on 1st April could be listed 10 times, but Ionly want to count the name once and not 10 times please can you help with thisplease as the code below doesn’t work, it counts the name multiple times.
Code:
[FONT=Times New Roman][SIZE=3][COLOR=#000000][/COLOR][/SIZE][/FONT][FONT=Calibri][SIZE=3][COLOR=#000000]=SUM(COUNTIFS('Activities-Complex'!C:C,"Jo Bloggs",'Activities-Complex'!AB:AB,D3)+SUM(COUNTIFS('Activities-Complex'!C:C,"JaneBloggs",'Activities-Complex'!AB:AB,D3)[/COLOR][/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3][COLOR=#000000][/CO[/COLOR][/SIZE][/FONT]DE]
 
That is amazing, thank you works great, please can you advise how I can add other names to the list as well please, for example: Jo Bloggs, Jane Smith, John Doe, etc
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Why don't you make a list of names along with a list of dates and take the the name the same way you take the date - refer to the cell with the name.
If you have jo Bloggs in E3 then use this:
Code:
=MIN(1,COUNTIFS('Activities-Complex'!C:C,E3,'Activities-Complex'!AB:AB,D3))
then you can fill all names in a column and use this formula for every name, rather than trying to put all names in one very long formula.
At the bottom of the column you can get the sum you need.
 
Upvote 0
That is a fantastic idea thank you so much for the help it works great :)
 
Upvote 0

Forum statistics

Threads
1,216,109
Messages
6,128,883
Members
449,477
Latest member
panjongshing

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