Afternoon
I hope some kind some may be able to help me.
I have a worksheet where I would like to be able to calculate an anecdotal 'Result' against some date based fields. I.e. 'Response SLA' and 'Actual Response' - I would like to be able to compare these 2 dates and if the Actual SLA exceeds the response SLA I would like the 'Result' to calculate as 'Failed'. Similarly if the Actual does not exceed the Response I would like the Result to be 'Passed'. This is complicated by the fact that there are on occasion legitimate instances where there is no Response SLA or where there is no Actual SLA, albeit if the current date/time is beyond the response SLA I would still like the result to be failed. Where this is no data response SLA field I would like the 'Result' to read 'No Response Measure' or such like.
I am managing to do this at the moment with a couple of helper columns and a final calculation in a 3rd helper column but wonder if there is a way to do it in 1 succinct formula? I hope I've explained this correctly, an example is attached below; for some reason I can't post attachments to this forum.
I then want to do a similar calculation for the 'Fix SLA' calculated against the 'Date Service Completed' field, based on the same criteria detailed above. E.g. if there is a date present that exceeds the Fix SLA Target Date the result should be failed, if there is a date that is within the Fix SLA it should pass, if there is no Fix SLA Target Date data it should read 'No Measurable SLA' and if there is no Service Date Completed date but today's date/time exceeds the Fix SLA Target Date it should again be a 'Failed'.
Hopefully this makes sense and someone can help Happy to receive any of the much appreciated assistance this forum has rendered to me in the past.
Regards
Ian
[TABLE="width: 597"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Response SLA Target Date[/TD]
[TD]Date Work Started[/TD]
[TD]Fix SLA Target Date[/TD]
[TD]Date Service Completed[/TD]
[TD]Response RESULT[/TD]
[/TR]
[TR]
[TD="align: right"]14 Apr 18 03:53:00[/TD]
[TD] [/TD]
[TD="align: right"]15 Apr 18 01:53:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]14 Apr 18 01:32:00[/TD]
[TD="align: right"]14 Apr 18 09:55:00[/TD]
[TD="align: right"]14 Apr 18 23:32:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 23:51:00[/TD]
[TD] [/TD]
[TD="align: right"]14 Apr 18 21:51:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 22:26:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 18:26:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 21:30:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 17:30:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 21:12:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 17:12:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 21:10:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 17:10:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 19:07:00[/TD]
[TD] [/TD]
[TD="align: right"]14 Apr 18 17:07:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 21:06:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 17:06:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
</tbody>[/TABLE]
I hope some kind some may be able to help me.
I have a worksheet where I would like to be able to calculate an anecdotal 'Result' against some date based fields. I.e. 'Response SLA' and 'Actual Response' - I would like to be able to compare these 2 dates and if the Actual SLA exceeds the response SLA I would like the 'Result' to calculate as 'Failed'. Similarly if the Actual does not exceed the Response I would like the Result to be 'Passed'. This is complicated by the fact that there are on occasion legitimate instances where there is no Response SLA or where there is no Actual SLA, albeit if the current date/time is beyond the response SLA I would still like the result to be failed. Where this is no data response SLA field I would like the 'Result' to read 'No Response Measure' or such like.
I am managing to do this at the moment with a couple of helper columns and a final calculation in a 3rd helper column but wonder if there is a way to do it in 1 succinct formula? I hope I've explained this correctly, an example is attached below; for some reason I can't post attachments to this forum.
I then want to do a similar calculation for the 'Fix SLA' calculated against the 'Date Service Completed' field, based on the same criteria detailed above. E.g. if there is a date present that exceeds the Fix SLA Target Date the result should be failed, if there is a date that is within the Fix SLA it should pass, if there is no Fix SLA Target Date data it should read 'No Measurable SLA' and if there is no Service Date Completed date but today's date/time exceeds the Fix SLA Target Date it should again be a 'Failed'.
Hopefully this makes sense and someone can help Happy to receive any of the much appreciated assistance this forum has rendered to me in the past.
Regards
Ian
[TABLE="width: 597"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Response SLA Target Date[/TD]
[TD]Date Work Started[/TD]
[TD]Fix SLA Target Date[/TD]
[TD]Date Service Completed[/TD]
[TD]Response RESULT[/TD]
[/TR]
[TR]
[TD="align: right"]14 Apr 18 03:53:00[/TD]
[TD] [/TD]
[TD="align: right"]15 Apr 18 01:53:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]14 Apr 18 01:32:00[/TD]
[TD="align: right"]14 Apr 18 09:55:00[/TD]
[TD="align: right"]14 Apr 18 23:32:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 23:51:00[/TD]
[TD] [/TD]
[TD="align: right"]14 Apr 18 21:51:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 22:26:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 18:26:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 21:30:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 17:30:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 21:12:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 17:12:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 21:10:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 17:10:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 19:07:00[/TD]
[TD] [/TD]
[TD="align: right"]14 Apr 18 17:07:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
[TR]
[TD="align: right"]13 Apr 18 21:06:00[/TD]
[TD] [/TD]
[TD="align: right"]20 Apr 18 17:06:00[/TD]
[TD] [/TD]
[TD]Fail[/TD]
[/TR]
</tbody>[/TABLE]