Formula to count scores in a date range and then average them
Hi all,
I have a pretty complex (well it is to me, probs not to the gurus :P) formula I need, however I think explaining what I need may be the harder part.
So some background. I have CSAT scores coming in, and I would like to define the monthly average score for each team.
I had some help earlier in the week to find the average score. These scores come in the form of a 10, 5 or 1 https://www.reddit.com/r/excel/comments/633idr/excel_averages_depending_on_the_row_they_are_in/
The formula that was provided to me (and works a treat) is: =SUMPRODUCT($B$1:$D$1,B2:D2)/SUM(B2:D2)
http://i.imgur.com/n7nKqMv.png
Now I would like to go further. Well my manager would like to go further. He would like to find the monthly scores by assignment group. So I need a formula that will find the number of scores found in a date range, select only the ones for March and then average those scores out.
Can it even be done in a single formula? Have I explained it well enough? I hope so, and really appreciate any help.
I think I should add - the data is coming from a collection of the scores, the columns I have is score, assignment group and created date
Posted Apr 6, 2017, 1:53 AM UTC
What is the assignment group? Is it the same as the 1, 5, or 10 columns (what you called teams before)? A screenshot or example table might help. It's certainly possible but the specific solution depends on your layout.
Thanks for responding and helping :)
Yes, teams.
Here is an example of the data I would have: https://i.imgur.com/EMUC6mK.png
And here is how I would like to output the formulas: https://i.imgur.com/bdcodi6.png
This should work
Hit Ctrl+Shift+enter, and note F1 in my example is 1/1/2017, formatted as
mmmm, and then G1 is=EDATE(F1,1). It just makes it easier.SOLUTION VERIFIED
You have awarded one point to rnelsonee.
^Find ^out ^more ^here.
Damn friend, nice work. You are an excel god :) Thanks a lot!!!