Count a name once not multiple times

Patriot2879

Well-known Member
Joined
Feb 1, 2018
Messages
1,259
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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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