The MATCH function finds the row index of 'value' in @vector1 and returns it. If the area is longer than it is wide then the sense of the search is rotated. Alternatively a single array can be used. if type = 1, finds largest value <= seek,if type = 0, finds first value == seek,if type = -1, finds smallest value >= seek,
If LOOKUP can't find @value it uses the next largest value less than value. The data must be sorted.
If @value is smaller than the first value it returns #N/A