Table Statistics by Subgroup - Microsoft Access 2016

lavrentios

New Member
Joined
Apr 13, 2016
Messages
3
I currently have a table in access with the following form:

GROUPVALUE
A1
A2
A3
A4
A5
B6
B7
B8
B9
B10
C11
C12
C13
C14
C15

<tbody>
</tbody>



I am trying to create a query that will generate the following data broken down at the group level:

GROUPMEDIAN1ST QUARTILEMINMAX3RD QUARTILE
A
B
C

<tbody>
</tbody>


The only luck i have had thus far is to break the data into smaller groups as the calculations see to occur at the aggregate level.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Upvote 0
I added the user defined function from the link that you provided and it seems to calculate the quartiles correctly. However, I still can't seem to get it to calculate for each group. Here is a link the a sample access database: https://www.dropbox.com/s/gkj4o1dxmojolwl/test.accdb?dl=0

If you run the "1st Quartile" query you will get the following output:

GroupQ1
A20
B20

<tbody>
</tbody>





I currently have the query set to return the 100th percentile (for testing purposes)...it is returning the 100% for all "Number" field values for the entire table. I am trying to get the "A" group 1st Quartile and the "B" group 1st Quartile to calculate independently. With the current setting at 100% i am trying to achieve the following output:

GroupQ1
A8
B20

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,221,821
Messages
6,162,157
Members
451,750
Latest member
pnkundalia

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