Reference to the N-largest value in an array
You say you *only* want the row number, not the entire address?
You should have asked for what you exactly want at the outset.
This much shorter *array* formula will return the row number:
=MAX((A1:B5=LARGE(A1:B5,2))*ROW(A1:B5))
Don't forget the CSE entry!
--
HTH,
RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===
wrote in message
ups.com...
Thanks. This works.
I am now trying to further develop this formula, i.e. use the value
that I get in a condition.
For this, I need to extract the row of the reference
=ROW(your formula)
But this seems impossible, probably because I put an array formula
where a scalar value belongs.
I tried both CSR, and normal entry, but to no avail. i get an error.
Is there a workaround?
Thanks again
|