Finding average in a single range with multiple criteria

bwatkiss

New Member
Joined
Apr 26, 2021
Messages
7
Office Version
  1. 2011
Platform
  1. MacOS
Hello, i’m trying to do a formula that gives me the average of scores from one column based on the group the individuals are in in another column. For example, let’s say I have 20 groups with four or five people in each of those groups designated in their column by their group number. In another column each of those individuals has a score, how would I then add up each of those scores for those in the same group and get the average for that group put into another column using a formula?

thank you!
 
Here is a snippet of my sheet, each of these rows contains an individual, I need a formula to input into the cells of the Mean column that calculates the average from the Pts column based on the group from the Grp column. For example, the result for the first 4 rows of the Mean column would be the result of the average from the Pts column 23+34+39+45=141 divided by 4 = 35.3

However the groups won't always be in sequential order like my snippet, the group column could read like this.
1
3
5
1
6

GrpMeanPts
123
134
139
145
228
230
240
244
345
339
335
329
426
435
438
441
529
530
532
536
615
627
632
645
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,389
Messages
6,119,232
Members
448,879
Latest member
VanGirl

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top