I’m trying to create spreadsheet to monitor the timeliness of backups executed. Backups must be executed within 15 minutes of the target time, in order to be considered compliant. The raw data downloaded from the online monitoring application has the following relevant columns:
- Date of Transaction
- Tape Label
- Time Scheduled
- Time Executed
I’ve added the following additional columns to it:
Compliant (Yes/No)
=IF(AND(TIME(HOUR(D3), MINUTE(D3), SECOND(D3))>F3,TIME(HOUR(D3), MINUTE(D3), SECOND(D3))<G3),"Yes","No")
-15min (Time Scheduled minus 15 minutes)
=IF(OR(C3=TIME(0,0,0),C3=TIME(0,1,0)),TIME(23,59,0),C3)-TIME(0,15,0)+IF(C3=TIME(0,0,0),TIME(0,1,0),TIME(0,0,0))+IF(C3=TIME(0,1,0),TIME(0,2,0),TIME(0,0,0))
+15min (Time Scheduled plus 15 minutes)
=C3+"0:15"
All time columns are using Time format “13:30”.
It almost works, but there is a problem when the Time Executed is “0.01” and the Time Scheduled is “0:00”. This is marked as not compliant, when it is compliant. Please can someone assist in making this work?
I'm using MS Office 2013.
UPDATE
Other Criteria:
- The "Schedule Time" is the time that the backup is executed on whatever day it is run, so it can't include a date as it is true for all dates.
- Backups are sometimes executed before the scheduled time. This is okay, so long as this is within 15 minutes of the scheduled time.
I've realized that I need to slightly change my sheet to look like the following with the dates of the month extending to the right as below and I will remove the transaction date also, as the transaction will appear under the relevant date. However, please use the above for the purpose of the examples (the image below is provided to help understand what we need to accommodate).