Quartile Calculation Based on Category

TeamOSupremeO

New Member
Joined
May 16, 2018
Messages
4
I have read several other posts on this topic, but am still stuck.

I have about 8000 rows of data with columns A-O providing data elements for each row. I'd like to calculate the quartiles for Column J, but do so based on the field that is located in Column O. Column O has 6 different categories, and I would like to have quartiles for each category.

Ideally, I'd like to have a summary page that shows the quartiles for each category.

Here is the array formula I have tried, which has returned #N/A. In this example, I am looking for the 3rd quartile of the "Texas" category.

{=QUARTILE(IF('MASTER'!O2:O8000="Texas",'MASTER'!J2:J8000),3)}

Thank you!
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Welcome to the forum.

Your column J must have a formula reporting an error. This mock-up works just fine.


Book1
HIJKLMNO
168.5jayoh
2tobasco
368texas
436texas
561texas
6texas
783texas
878texas
922tobasco
1030
11FALSEtexas
1269texas
13243
1417texas
15peppertexas
1626texas
1790
1830texas
1961texas
2045TRUE
master
Cell Formulas
RangeFormula
H1{=QUARTILE(IF(O2:O20="texas",J2:J20),3)}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Thank you, DRSteele. Yes, that is accurate. I had several #N/A values in my column O. I converted all #N/As to "Not Valid" text and the formula worked just fine.

Kind regards!
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,249
Members
452,623
Latest member
Techenthusiast

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