View Single Post
  #3   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

For a given observation in the data set,

=SUMPRODUCT(--(obsQUARTILE(allData,{1,2,3,4})))+1

should do it.

Jerry

tika528 wrote:

I would like to use a formula to return which quartile the given data array
falls into- that is I would like to return 0,1,2,3,4. 0= min, 1=25%, 2=50%,
etc.

The quartile function only returns the value of the various quartiles, while
I need to know within which quartile the value falls.

Any help is appreciated.