Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calculating percentile on array with 65536 elements
Hi all
The Percentile worksheet function is great but unfortunately seems to have a limit of 65536 elements; try and use it on an array with more elements than that and it returns an error. So, if you have a larger array does anyone have any better ideas for calculating a specific percentile without sorting the array first? Thanks a lot Lloyd |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calculating percentile on array with 65536 elements
I made a 4x20,000 array (80,000 elements) and it worked fine for me.
Hth, Merjet |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calculating percentile on array with 65536 elements
Unfortunately not...you cannot calculate a percentile on an array with more than 1 dimension... |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calculating percentile on array with 65536 elements
According to HELP 8191 elements is the max
-- Kind regards, Niek Otten Microsoft MVP - Excel "pinkfloydfan" wrote in message oups.com... | | Unfortunately not...you cannot calculate a percentile on an array with | more than 1 dimension... | |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calculating percentile on array with 65536 elements
That is very true but in actual fact the function works with upto
65536 elements (having tested it out)...just a small example of the Help being inaccurate. However, back to the original problem...does anybody have any ideas how to calculate a specific percentile of a very large array without having to sort the array first please? Cheers Lloyd |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calculating percentile on array with 65536 elements
Lloyd,
You could use Percentile on a statistical sample (random selected values) of the array. Probably not a big error in doing so, if your numbers are well behaved ;-) Or just bite the bullet and sort. HTH, Bernie MS Excel MVP "pinkfloydfan" wrote in message oups.com... Hi all The Percentile worksheet function is great but unfortunately seems to have a limit of 65536 elements; try and use it on an array with more elements than that and it returns an error. So, if you have a larger array does anyone have any better ideas for calculating a specific percentile without sorting the array first? Thanks a lot Lloyd |
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
Calculating percentile on array with 65536 elements
Good idea Bernie, thanks
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
using percentile in an array formula | Excel Worksheet Functions | |||
Use formulas for array elements | Excel Discussion (Misc queries) | |||
to get its k-value from percentile and array | Excel Programming | |||
to get its k-value from percentile and array | Excel Worksheet Functions | |||
Use of Array Pivot Table for Percentile Calculation ... | Excel Worksheet Functions |