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!
 

bwatkiss

New Member
Joined
Apr 26, 2021
Messages
7
Office Version
  1. 2011
Platform
  1. MacOS
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
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
62,162
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Forum statistics

Threads
1,140,922
Messages
5,703,176
Members
421,280
Latest member
Jaycee01

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
Top