Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Return the row number if value is between two values in excel

If I have a lookup table with a range of number (Min and Max) in two columns. ON the second sheet, it contains the numbers (1-100). And I'd like to lookup the row number from the lookup table. How can I do?

enter image description here

like image 902
Jfang Avatar asked Nov 24 '15 00:11

Jfang


1 Answers

Consider:

=INDEX(A$2:A$11,MATCH(D2,B$2:B$11,1))

enter image description here

like image 90
Gary's Student Avatar answered Oct 09 '22 21:10

Gary's Student