M
martin
I have to undertake the following task and am really struggling. Hope
someone can help.
My task is to identify the peak times within the 24-day when
burglaries are occurring within the police force area I work for.
I have the following variables for each of the 9,000 burglaries:
Start Date, End Date, Start Time, End Time
Example:
25/03/2003, 25/03/2003, 20:45, 21:30
What I want to achieve is a tally of burglaries occurring by 1-hour
windows of time within the 24-day e.g. the number starting (or in
progress) through 00:00 to 0:59, 01:00 to 01:59, 02:00 to 02:59 etc.
I plan to graph the tally counts.
BUT: how do I deal with this very common scenario, given the subject
matter:
Start Date, End Date, Start Time, End Time
25/03/2003, 26/03/2003, 23:45, 02:00
We do not know precisely when the burglary occurred, we just have a
window of time. This is common because victims don't often discover
their burglary for some time after it was committed, especially at
weekends and during vacations. So, many of windows of time span more
than one day (i.e. they are overnight burglaries).
I understand the principle behind the function:
=COUNTIF(Start Time,"<01:00")
for dealing with burglaries that were occurring (i.e. starting)
between 00:00 and 00:59
But I don't know how to include them again in situations when they
started before 00:00 but ran through to something past midnight. So,
a burglary starting at 23:45 on Saturday and finishing at 02:00 on
Sunday, I want to tally this kind of burglary to four windows e.g.
2300-23:59, 00:00-00:59, 01:00-01:59 and 02:00-02:59
Can anyone offer any suggestions regaridng formatting/formulas etc.?
Much appreciated.
Martin
someone can help.
My task is to identify the peak times within the 24-day when
burglaries are occurring within the police force area I work for.
I have the following variables for each of the 9,000 burglaries:
Start Date, End Date, Start Time, End Time
Example:
25/03/2003, 25/03/2003, 20:45, 21:30
What I want to achieve is a tally of burglaries occurring by 1-hour
windows of time within the 24-day e.g. the number starting (or in
progress) through 00:00 to 0:59, 01:00 to 01:59, 02:00 to 02:59 etc.
I plan to graph the tally counts.
BUT: how do I deal with this very common scenario, given the subject
matter:
Start Date, End Date, Start Time, End Time
25/03/2003, 26/03/2003, 23:45, 02:00
We do not know precisely when the burglary occurred, we just have a
window of time. This is common because victims don't often discover
their burglary for some time after it was committed, especially at
weekends and during vacations. So, many of windows of time span more
than one day (i.e. they are overnight burglaries).
I understand the principle behind the function:
=COUNTIF(Start Time,"<01:00")
for dealing with burglaries that were occurring (i.e. starting)
between 00:00 and 00:59
But I don't know how to include them again in situations when they
started before 00:00 but ran through to something past midnight. So,
a burglary starting at 23:45 on Saturday and finishing at 02:00 on
Sunday, I want to tally this kind of burglary to four windows e.g.
2300-23:59, 00:00-00:59, 01:00-01:59 and 02:00-02:59
Can anyone offer any suggestions regaridng formatting/formulas etc.?
Much appreciated.
Martin