Percentile function using a cell reference for the array

  • Thread starter Thread starter wdhluck
  • Start date Start date
W

wdhluck

The Excel help says that the percentile function will not work unless the
array is a constant. "Make sure the array constant is not a cell reference,
formula, or function." I am calculating the array address in a separate
cell, such as A2:A7, and would like to find a way to reference that address
within the Percentile function. Any ideas or compound text expressions would
be appreciated.
 
Suppose your data values are in A2:A7, and that B1 contains the text
A2:A7. You can use this formula:

=PERCENTILE(INDIRECT(B1),0,25)

for example, and it will work on the data within A2:A7.

Hope this helps.

Pete
 
Back
Top