Hi,
Of course, we don't give up. We fix it!
Problem is, I don't quite understand the problem. On the attached sheet I have inserted my formula at the bottom below yours. I have also filled in some data. As you can see, my formula doesn't produce the same result as yours. Perhaps you even like the result of your formula better. Please decide which one is doing the correct job or, using the data I have keyed in, work out the correct result and describe how you arrive at it.
Now, I have chosen data with an average of 2, not counting the NA. This seems to work out as 33% by your formula, and these are the same 33% my formula shows at the bottom because it ignores tests not taken. The overall formula, in plain English, shows the average score of those tests taken, not heeding those that were not taken (yet). If you fill another group with twos my total average will not change. Yours will, because it takes evaluations not yet in evidence into account. Only one of these approaches can be right.
Concentrating on the percentages in the K column I notice that they change when I replace a NA with the average (2). If this was your concern in the first place then I have been barking up the wrong tree. I have entered this formula in the topmost cell in column K.
- Code: Select all
=SUM(H5:J7)/(MAX(C5:F5)*COUNTIF(H5:J7,"<>NA"))*100
This formula ignores all NAs and just counts the actual results. I have adapted this formula to the requirements of rows 25 which I thought might be different, but actually it isn't. So, if you like this formula you may be able to adapt it to other cells in the K column by comparing how I did the adaptation in row 25.
For future development you need to know that the formula selects the maximum value in only one row (selecting more than one row doesn't make a difference), presuming the others to be the same. So, please avoid having different valuations within any one group in future.
That number is multiplied by the number of actual calls (excluding NA calls).
Let me know if we need to tweak some more.
Have a great day!
You do not have the required permissions to view the files attached to this post.
Have a great day!
Sisyphus
I do this for "honour and country" - much less of the latter, actually.
If I helped you, award points, plenty of them.
If I bored you, deduct points for being too long-winded. (I know, :lol)