Lookup number above value in a list

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need two formulas to lookup the numbers above and below a certain value in
a list. I know how to get the one below, but can't figure out the higher
number.

Example:
A
1 97745
2 98913
3 100067
4 101248
5 102416
6
7 =VLOOKUP(A8,A1:A5,1)
8 100000
9 =???

A7 results in 98913
A9 results in 100067
 
try:

=INDEX(A1:A5,MATCH(A8,A1:A5,1)+1)

HOWVER, you need to cater for situation (if it can exist) that your number
is > than last in list OR < first in list.

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top