I want to find the maximum number of times a person accessed a system in any ten-day period. The data are a single row for each occasion that the person logged in, including a timestamp:
Person Date Login
xxx 2/1/17 10:03:01 yes
xxx 2/1/17 12:03:21 yes
xxx 2/3/17 12:00:41 yes
xxx 2/5/17 16:03:01 yes
xxx 2/7/17 10:03:01 yes
zzz 2/7/17 10:03:01 yes
If I make a pivot table and choose grouping, I can calculate how often each person logged in fixed ten-day increments. But in some cases the person's maximum may be from a ten-day period that is not in the fixed list that the pivot table creates. I need to basically have all possible ten-day ranges for each person. Any ideas? Thanks in advance.
Person Date Login
xxx 2/1/17 10:03:01 yes
xxx 2/1/17 12:03:21 yes
xxx 2/3/17 12:00:41 yes
xxx 2/5/17 16:03:01 yes
xxx 2/7/17 10:03:01 yes
zzz 2/7/17 10:03:01 yes
If I make a pivot table and choose grouping, I can calculate how often each person logged in fixed ten-day increments. But in some cases the person's maximum may be from a ten-day period that is not in the fixed list that the pivot table creates. I need to basically have all possible ten-day ranges for each person. Any ideas? Thanks in advance.