Create the Mode for a group of values according to value in column A

Plaaskind

New Member
Joined
Nov 15, 2017
Messages
1
I need to calculate multiple means depending on the qualification codes. I have an example where I did it manually, but it is a lot of data that needs to be processed and there must be and easier way. Currently I'm using the following to calculate the mean: =+MODE($B$3:$B$12), but I need to do that grouping according to the groupings in the Qual column. Please assist.

[TABLE="class: grid, width: 421, align: left"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]Qual.[/TD]
[TD]Level 1[/TD]
[TD]Mean Level 1[/TD]
[TD]Validation 1[/TD]
[/TR]
[TR]
[TD]1DU[/TD]
[TD="align: right"]132[/TD]
[TD="align: right"]132[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]132[/TD]
[TD="align: right"]120[/TD]
[TD]Alignment needed[/TD]
[/TR]
[TR]
[TD]1GB[/TD]
[TD="align: right"]132[/TD]
[TD="align: right"]120[/TD]
[TD]Alignment needed[/TD]
[/TR]
[TR]
[TD]1GC[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GC[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GC[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GD[/TD]
[TD="align: right"]128[/TD]
[TD="align: right"]128[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]132[/TD]
[TD="align: right"]120[/TD]
[TD]Alignment needed[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]132[/TD]
[TD="align: right"]120[/TD]
[TD]Alignment needed[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]112[/TD]
[TD="align: right"]120[/TD]
[TD]Alignment needed[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]112[/TD]
[TD="align: right"]120[/TD]
[TD]Alignment needed[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
[TR]
[TD]1GE[/TD]
[TD="align: right"]120[/TD]
[TD="align: right"]120[/TD]
[TD]OK[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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