I have a macro that was given to me by a colleague, which is great, but I need it to be modified in order for it to do what I want. I work at a hospital and each patient is given a survey. We use this survey to calculate the "% very good." Which is the highest selection that the patient can choose when filling out the survey for each question. We want the care to be the best, so hypothetically we would want the % very good to be 100% for each qusetion.
The macro is used to calculate the average of the % Very Good based on data that is created from where we get the survey data. The problem is that this macro calculates the % very good for all the questions for the whole hospital. I am interested in getting the % Very Good for specific nursing units. So when I run this macro on the unit output, it just gets rid of all the units and bundles the questions together. Is there a way to modify the macro so that it sorts each question by unit, and calculate the % Very Good for each question for each unit?
I also attached the file that the macro would be used on. I had to remove the data due to HIPAA regulations.
Thanks!!
Bookmarks