Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to look up a value and return the cell above or below in Excel?

In Excel, we use VLOOKUP function to find a specific value from a range data, but do you know how to look up a value and then return its above or below values? Actually, you can use INDEX function to handle it.

Look up a value and return the cell above or below

Excel Productivity Tools

Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial

Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial


arrow blue right bubble Look up a value and return the cell above or below


Look up a value and return cell above

Select a blank cell that you want to place the return value, and type this formula =INDEX(A1:A8,MATCH(D1,A1:A8,0)-1,1), press Enter key to return the value. See screenshot:
doc look return cell above 1

Look up a value and return cell below

Select a blank cell that you want to place the return value, and type this formula =INDEX(A1:A8,MATCH(D1,A1:A8,0)+1,1), press Enter key to get the result. See screenshot:
doc look return cell above 2

Note: in the formulas, the first A1:A8 is the range where you look up for value, and the second A1:A8 is the range where you want to look up for the criterion, D1 is the value you look up, 1 indicate the column number you want to return.

If you want to look up for a value and return below and the 3 cells to the right of the reference, you can apply this formula =INDEX(F1:H8,MATCH(K1,F1:F8,0)+1,3).
doc look return cell above 3

Tip.If you want to quickly lookup a value and return in another column, please try to use the Kutools for Excel’s Look for a value in list as shown in the following screenshot. It’s full function without limitation in 60 days, please download and have a free trial now.

doc look return cell above 4


Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Jeyner Lopez · 22 days ago
    Hi, how to know how many times a value occur after certain value, example I have a list of numbers, I try to know how many time number 2 is after 1 and so on
  • To post as a guest, your comment is unpublished.
    ryan · 1 months ago
    I have a piece of text in cell A2 in spreadsheet A. In spreadsheet B I have the same text in cell A4 and in cell C4 I wish to use a formula that will return the value of cell B4 from spreadsheet A. Is this possible?
  • To post as a guest, your comment is unpublished.
    ryan · 1 months ago
    I have a piece of text in cell A2 in spreadsheet A. In spreadsheet B I have the same text in cell A4 and in cell C4 I wish to use a formula that will return the value of cell B4 from spreadsheet A. Is this possible?
  • To post as a guest, your comment is unpublished.
    Jim · 6 months ago
    I need this formula, but with multiple columns
    • To post as a guest, your comment is unpublished.
      Sunny · 5 months ago
      What's you need? You can describ your quetion with more details so that we can help you.
  • To post as a guest, your comment is unpublished.
    Mike · 1 years ago
    Lets say my names run across row 1 and the values directly below in row 2. How do I look it up then? This formula doesn't seem to work when the data is horizontal.
    • To post as a guest, your comment is unpublished.
      simon · 7 months ago
      I looked around quite a bit and found this:

      =INDEX(A1:Z1,MATCH(D3,A10:Z10,0))

      D3 is your lookup value; row 10 has the values you are searching; row 1 has the values you will return where there's a match in the relevant column in row 10 with D3