Counting accesses but with one condition.

Tom.Jones

Well-known Member
Joined
Sep 20, 2011
Messages
508
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Mobile
Howdy,

In column A there are different IDs, (not unique), in column B are the accesses of some data of those IDs. Column B has the date and time (in this format dd / mm / yyyy hh: mm).
We would like to count how many accesses of the same ID, they are in a certain day (but no matter how many accesses it has in 10 minutes, only one accession will be counted).

Thank you.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
hi,
It would be best to provide sample of your data using the xl2bb addin. That would be helpful in understanding the question and provision of the solution, rather then interpreting the query.
 
Upvote 0
Can't install xl2bb...
I think it's easy to understand
In column A (starting A2 is ID, in A1 is header)
In column B (starting B2 is data, in B1 is header) in this format dd/mm/yyyy hh:mm:ss
In col A................in col B
NK12547.........10/11/2019 14:22:36.... count
NK12547.........10/11/2019 14:24:36.... count
NK12547.........10/11/2019 14:28:26.... count ....cause are same ID and access (in col B) is inside 10 minutes count all 3 as 1.....so 1 for ID NK12547
NK12547.........10/11/2019 14:42:56 .... count as 1 and finally is 2 for ID NK12547
NK12600.........10/11/2019 14:49:06.... count
NK12600.........10/11/2019 14:53:16.... count ....cause are same ID and access (in col B) is inside 10 minutes count all 2 as 1.....so 1 for ID NK12600
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,183
Members
449,071
Latest member
cdnMech

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