J
Josie Dethiers
Could someone tells me why the formula
=INDEX(A:A,MATCH(9.99999999999E+307,A:A,1),1)
returns the LAST value in a column instead of returning the LARGEST value ?
What I do not understand is the Type parameter of the MATCH function.
My French Excel help file tells me that, with a value of 1, MATCH is
supposed to find the biggest value smaller or equal to the value to be found
and that the values to be searched must be sorted in ascending order.
But the formula INDEX(...;EQUIV(...);...) returns the LAST value in the
column. That's what I want but I would like to know how it works. Since my
data are not sorted in ascending order, I would have thought that the
formula would return #NA as it does with the -1 type parameter when the
cells are not sorted in descending order.
Josie
=INDEX(A:A,MATCH(9.99999999999E+307,A:A,1),1)
returns the LAST value in a column instead of returning the LARGEST value ?
What I do not understand is the Type parameter of the MATCH function.
My French Excel help file tells me that, with a value of 1, MATCH is
supposed to find the biggest value smaller or equal to the value to be found
and that the values to be searched must be sorted in ascending order.
But the formula INDEX(...;EQUIV(...);...) returns the LAST value in the
column. That's what I want but I would like to know how it works. Since my
data are not sorted in ascending order, I would have thought that the
formula would return #NA as it does with the -1 type parameter when the
cells are not sorted in descending order.
Josie