I'm using an array function to calculate the 95-percentile of a data. I have a number of data values per hour, and I have a cell in each row that truncates the timestamp of a result down to the hour.
My array function is {=PERCENTILE(IF($A2=DS!$AM:$AM,DS!$T:$T,FALSE),0.95)}, where column A2 is the key (the hour in question), DS!AM contains the truncated timestamp, and DS!T contains the values that I want to determine the 95-percentile of.
I've used this method quite successfully in a number spreadsheets, but I have one spreadsheet that returns some #NUM! error for some hourly values. I can see no reason why some hours work and not others. Comparisons between keys and truncated timestamps are ok, and the number of data values (12) is the same from one hour to the next.
Any clues?
Bookmarks