Below you will find a real-life example and the detailed explanation of the logic. In the example shown the formula in I5 is. The result is 58.
The INDIRECT function does not evaluate logical tests or conditions.
In the example shown the formula in I5 is. The formula is an advanced version of the iconic INDEX MATCH that returns a match based on a single criterion. That is half the numbers have values that are greater than the median and half the numbers have values that are less than. When we use MATCH it looks up for the value from the lookup column and return the cell number of that value.