Let's say I have the following table.
Team Score
AA 81
BB 67
CC 44
DD 1.5
JJ 279
LL 49
TT 201
GG 158
MM 32
HH 89
I want all teams to score over 80 in another table. I tried the Index + Match function as follows, but that only gives me the smallest value greater than 80.
Here is the code:
=INDEX($A$2:$A$11,MATCH(80,$B$2:$B$11,-1))
Although I put the values in the lookup_array argument in descending order, this function gives me only one answer: the smallest value is greater than 80.
I am trying to do this without having to sort an array and with a huge database. Thank.
source
share