Minx_Minxy
New Member
- Joined
- Jul 13, 2015
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
Apologies if this question has been raised before, I did look through the old posts but nothing that got close to an answer for me.
I need the count of how many times the ID occurs during a period. But I need to count them uniquely.
Here is an example of the data
This is the formula I am using
=COUNTIFS([ID],A1,[Date],"<="&A2)
Where A1 = the ID I am filtering
and A2 = Today's date
It works fine for unique IDs such as 5129989, but for IDs that repeat during the day, like ID 5239926 , it gives me 4, but really I need it to give me 2.
I need the count of how many times the ID occurs during a period. But I need to count them uniquely.
Here is an example of the data
Date | ID |
22/07/2024 | 5239926 |
22/07/2024 | 5239926 |
22/07/2024 | 5129989 |
23/07/2024 | 5129989 |
24/07/2024 | 5239926 |
24/07/2024 | 5239926 |
24/07/2024 | 5245569 |
26/07/2024 | 5129989 |
27/07/2024 | 5245569 |
This is the formula I am using
=COUNTIFS([ID],A1,[Date],"<="&A2)
Where A1 = the ID I am filtering
and A2 = Today's date
It works fine for unique IDs such as 5129989, but for IDs that repeat during the day, like ID 5239926 , it gives me 4, but really I need it to give me 2.