Hello all,
I hope somebody will be able to help with this (and that I explain it in a way that makes sense).
Back in August I was asked to design a form to allow my company's in-house quality assurance and coaching team to evaluate the level of service our customer service agents provide to customers and, thanks to the help of a few people on this forum, I was able to get it made. Now the quality team would like an update put in place to the form that changes the outcome of an evaluation based on more criteria.
The overall outcome is determined from the results of 8 assessed sections, each marked on a scale of Brand Damaging [BD] - Poor [P] - Fair [F] - Good [G] - Excellent [E] with points awarded for each (-2 for BD, -1 for P, 0 for F, 1 for G and 2 for E). Currently the score is weighted against the number of sections that are applicable and an overall outcome assigned with the below code (where Me.Max_Total counts how many sections are active for assessment and Me.Score_Sum is the overall score):
What I'm now being asked to do is add in conditions that will mean that:
+ 4 or more "Brand Damaging" results from the 8 sections will result in an overall "Brand Damaging" result all of the time.
+ 3 "Brand Damaging" results from the 8 sections will result in an overall "Poor" result but should only kick in if the calculated result from the combined score would conventionally return a "Fair", "Good" or "Great" score.
+ 2 "Brand Damaging" results from the 8 sections will result in an overall "Fair" result but should only kick in if the calculated result from the combined score would conventionally return a "Good" or "Great" score.
For example should an assessment return 3 "Brand Damaging" (-6 points) and 5 "Poor" (-5 points) our scoring should result in that being an overall "Brand Damaging" (scoring -11 points) without the condition above kicking in. Unfortunately try as I might I cannot figure out a way to get the code to function in such a way and it's applying in every instance even where it shouldn't, like with the 3 BD and 5 P example.
Any help anyone can offer would be very much appreciated.
Thank you in advance for your time and help!
I hope somebody will be able to help with this (and that I explain it in a way that makes sense).
Back in August I was asked to design a form to allow my company's in-house quality assurance and coaching team to evaluate the level of service our customer service agents provide to customers and, thanks to the help of a few people on this forum, I was able to get it made. Now the quality team would like an update put in place to the form that changes the outcome of an evaluation based on more criteria.
The overall outcome is determined from the results of 8 assessed sections, each marked on a scale of Brand Damaging [BD] - Poor [P] - Fair [F] - Good [G] - Excellent [E] with points awarded for each (-2 for BD, -1 for P, 0 for F, 1 for G and 2 for E). Currently the score is weighted against the number of sections that are applicable and an overall outcome assigned with the below code (where Me.Max_Total counts how many sections are active for assessment and Me.Score_Sum is the overall score):
Code:
If Me.Max_Total = 8 Then
Me.Overall_Outcome = IIf(Me.Score_Sum < -9, "Brand Damaging", IIf(Me.Score_Sum < -2, "Poor", IIf(Me.Score_Sum < 5, "Fair", IIf(Me.Score_Sum < 12, "Good", "Excellent"))))
ElseIf Me.Max_Total = 7 Then
Me.Overall_Outcome = IIf(Me.Score_Sum < -9, "Brand Damaging", IIf(Me.Score_Sum < -2, "Poor", IIf(Me.Score_Sum < 5, "Fair", IIf(Me.Score_Sum < 11, "Good", "Excellent"))))
ElseIf Me.Max_Total = 6 Then
Me.Overall_Outcome = IIf(Me.Score_Sum < -8, "Brand Damaging", IIf(Me.Score_Sum < -2, "Poor", IIf(Me.Score_Sum < 4, "Fair", IIf(Me.Score_Sum < 9, "Good", "Excellent"))))
What I'm now being asked to do is add in conditions that will mean that:
+ 4 or more "Brand Damaging" results from the 8 sections will result in an overall "Brand Damaging" result all of the time.
+ 3 "Brand Damaging" results from the 8 sections will result in an overall "Poor" result but should only kick in if the calculated result from the combined score would conventionally return a "Fair", "Good" or "Great" score.
+ 2 "Brand Damaging" results from the 8 sections will result in an overall "Fair" result but should only kick in if the calculated result from the combined score would conventionally return a "Good" or "Great" score.
For example should an assessment return 3 "Brand Damaging" (-6 points) and 5 "Poor" (-5 points) our scoring should result in that being an overall "Brand Damaging" (scoring -11 points) without the condition above kicking in. Unfortunately try as I might I cannot figure out a way to get the code to function in such a way and it's applying in every instance even where it shouldn't, like with the 3 BD and 5 P example.
Any help anyone can offer would be very much appreciated.
Thank you in advance for your time and help!