For parameters 1-13 inclusive the array passed to AGGREGATE must be an actual worksheet range.
Only with parameters 14-19 can you use arrays which are array constants. This applies also to arrays resulting from some calculation performed on another array, e.g.:
=AGGREGATE(14,6,B1:B10/(A1:A10="A"),1)
which returns the largest value in B1:B10 whose corresponding entry in column A is "A".
Ok, I get it, but for me personally it does not make much sense. Microsoft could take a look at it. Or maybe this is programmed this way on purpose. Either way, thank you very much!
Ok, I get it, but for me personally it does not make much sense. Microsoft could take a look at it. Or maybe this is programmed this way on purpose. Either way, thank you very much!
And I totally agree with you. Not only can I not see a great reason why the decision to give this functionality to only a small number of the available parameters was made, but it also seems to have come very poorly advertised, inasmuch as only a few people seem to know about precisely which parameters have this functionality.
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.