Daily tips for using Microsoft Excel.

Thursday, May 23, 2002

Daniel asks

“14 20
12 25
10 35
8 50
4 65
I have a cell at let say E5 = to 30
the next number up is 35 and i want
to display the 10.
If E5 = to 55 than i want it to display
4
What is the formula for this?”


If the data is located in A2:B6, then use this formula:

=INDEX($A$2:$A$6,MATCH(E5,$B$2:$B$6)+1)