PC Review


Reply
Thread Tools Rate Thread

Calculating percentile on array with >65536 elements

 
 
pinkfloydfan
Guest
Posts: n/a
 
      26th Mar 2007
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

 
Reply With Quote
 
 
 
 
merjet
Guest
Posts: n/a
 
      26th Mar 2007
I made a 4x20,000 array (80,000 elements) and it worked fine for me.

Hth,
Merjet


 
Reply With Quote
 
pinkfloydfan
Guest
Posts: n/a
 
      26th Mar 2007

Unfortunately not...you cannot calculate a percentile on an array with
more than 1 dimension...

 
Reply With Quote
 
Niek Otten
Guest
Posts: n/a
 
      26th Mar 2007
According to HELP 8191 elements is the max

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"pinkfloydfan" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
|
| Unfortunately not...you cannot calculate a percentile on an array with
| more than 1 dimension...
|


 
Reply With Quote
 
pinkfloydfan
Guest
Posts: n/a
 
      26th Mar 2007
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

 
Reply With Quote
 
Bernie Deitrick
Guest
Posts: n/a
 
      26th Mar 2007
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
pinkfloydfan
Guest
Posts: n/a
 
      27th Mar 2007
Good idea Bernie, thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
to get its k-value from percentile and array =?Utf-8?B?UGV0ZXI=?= Microsoft Excel Programming 2 22nd Mar 2007 04:02 PM
to get its k-value from percentile and array =?Utf-8?B?UGV0ZXI=?= Microsoft Excel Worksheet Functions 3 22nd Mar 2007 02:46 PM
Calculating percentile in time Art Microsoft Excel Worksheet Functions 2 19th Apr 2004 05:23 PM
Calculating Mean, Median, Percentile Senka Microsoft Access Queries 0 16th Feb 2004 08:58 PM
Calculating Percentile Aly Microsoft Access 0 15th Sep 2003 08:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:53 AM.