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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
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:
Upvote 0

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