The MATCH portion of Harlan's formula assumes that Column 1 of Range is sorted
in ascending order. Since yours obviously is not sorted that way, his formula
should have read:
Thxs a lot Ron!
But can you pls explain to me step by step the reasoning behind the
formula as I'm not used to complex formula with index & match.
Hope to hear from u again
Thxs a lot Ron!
But can you pls explain to me step by step the reasoning behind the
formula as I'm not used to complex formula with index & match.
Hope to hear from u again
MATCH returns the relative position of an item in an array that matches a
specified value.
The array to which the MATCH function is applied is generated by the inner
INDEX function which generates an array consisting of the first column of your
Range.
The outer INDEX function refers to the cell in column 2 that is in the same
relative position as the MATCH in column 1.
The CELL function then returns the reference of that outer INDEX function.
MATCH returns the relative position of an item in an array that matches a
specified value.
The array to which the MATCH function is applied is generated by the inner
INDEX function which generates an array consisting of the first column of your
Range.
The outer INDEX function refers to the cell in column 2 that is in the same
relative position as the MATCH in column 1.
The CELL function then returns the reference of that outer INDEX function.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.