quartile calculation relative to a multiple, non-contiguous cell range

ciuccioli

New Member
Joined
Nov 20, 2017
Messages
1
Goodmorning ,
I have to calculate the first quartile (25 percentile) and the third quartile (75 percentile) of a multiple, non-contiguous cell range.
While calculating the minimum and maximum of the same non contiguous cell range, the min and max functions also work on multiple cell ranges, the same does not happen for the percentile or inc.percentile function.
I understand that it is necessary to switch to the aggregate function, but I was not able to write the correct formula with this function.
Can anyone help me?
Thank you in advance,
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Canapone

Active Member
Joined
May 10, 2007
Messages
463
Hi,

is there anything you could exploit in the adiacent columns in order to deliver the right numbers to the array read by the function?



A small example using AGGREGATE(17...bla bla bla ...numbers in B1:B100, conditions in C1:C100.

=AGGREGATE(17,6,B1:B100/(C1:C100="X"),3)

or

=QUARTILE(IF(C1:C100="X",B1:B100),1)

array entered.

Hope it could be a little step forward.
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,132,685
Messages
5,654,747
Members
418,149
Latest member
amamiche67

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