Hi All,
I have been following the forums here for quite some time , but i finally managed to register today and i need fellow forum members advice on an issue i am having with one access query.
I am having the following database setup:
Client_id Respondent_Name Company_id Question 1 Question 2 Question 3
123 John Smith 111 Excellent Fair Good
123 Preedep Kumar 111 Fair Good Excellent
126 Dimitar Rushkov 111 Fair Fair Poor
The ratings for each question that i have in the survey are:
Poor;Fair;Average;Good;Excellent;N/A
Now what i have to do is enter in a new column at the end of the database the overall score for each question on a Company_id level where we use the following rule: N/A are not consider or if all ratings are N/A we should have N/A as overall score. The overall score is calculated as:
Any help will be appreciated here. Let me know in the topic if my instructions are unclear or you will need more details.
I have been following the forums here for quite some time , but i finally managed to register today and i need fellow forum members advice on an issue i am having with one access query.
I am having the following database setup:
Client_id Respondent_Name Company_id Question 1 Question 2 Question 3
123 John Smith 111 Excellent Fair Good
123 Preedep Kumar 111 Fair Good Excellent
126 Dimitar Rushkov 111 Fair Fair Poor
The ratings for each question that i have in the survey are:
Poor;Fair;Average;Good;Excellent;N/A
Now what i have to do is enter in a new column at the end of the database the overall score for each question on a Company_id level where we use the following rule: N/A are not consider or if all ratings are N/A we should have N/A as overall score. The overall score is calculated as:
Number of answers "Excellent"/"All ratings" grater than 0.51 (51%) then the rating overall rating for the company is "Excellent"
Number of answers "Excellent"+"Good"/"All ratings" grater than 0.51 (51%) then the rating overall rating for the company is "Good"
Number of answers "Excellent"+"Good"+"Average"/"All ratings" grater than 0.51 (51%) then the rating overall rating for the company is "Average"
Number of answers "Excellent"+"Good"+"Fair"/"All ratings" grater than 0.51 (51%) then the rating overall rating for the company is "Fair/Poor"
Any help will be appreciated here. Let me know in the topic if my instructions are unclear or you will need more details.