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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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