Mode for summarized data

azcat90

New Member
Joined
Dec 6, 2005
Messages
21
I'lll throw this out to you guys...

In Excel I am working with pasted output from an Access query that summarizes shipped packages by Service Type, pricing zone and rated weight.

Goal is to find the mode weight for each service type.

Currently I pivot the results and make the service type columns, the weights rows and sum of packages the data and then place the following formulas at the tops of the columns:

cell b2 =INDEX($A$5:$A$110,MATCH(MAX(B5:B110),B5:B110,0),1)
cell c2 =INDEX($A$5:$A$110,MATCH(MAX(C5:C110),C5:C110,0),1)
cell d2 =INDEX($A$5:$A$110,MATCH(MAX(D5:D110),D5:D110,0),1)
cell e2 =INDEX($A$5:$A$110,MATCH(MAX(E5:E110),E5:E110,0),1)

This will find the weight row with the max number of packages and then match it with the row header weight value.

I am looking for a less clunky way to derive the mode for each service type from the original summarized query results to streamline the processs for each new customer project.
 
Last edited:

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,215,046
Messages
6,122,849
Members
449,096
Latest member
Erald

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