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 vlookup and return matching data between two values in Excel?

In Excel, we can apply the normal Vlookup function to get the corresponding value based on a given data. But, sometimes, we want to vlookup and return the matching value between two values as the following screenshot shown, how could you deal with this task in Excel?

Vlookup and return matching data between two values with formula

Vlookup and return matching data between two values with a useful feature


Vlookup between two values and return corresponding records in Excel

Kutools for Excel's LOOKUP between Two Values utility helps you to vlookup and return the corresponding records based on the given values quickly and easily without remembering any formulas. Click to download Kutools for Excel!

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Download and free trial Now!


Vlookup and return matching data between two values with formula

To get the matching data from a given value which between two values, the following formula can help you to finish this job as quickly as you need.

1. Please enter this formula into a blank cell where you want to output the result:

=LOOKUP(2,1/($A$2:$A$15<=E2)/($B$2:$B$15>=E2),$C$2:$C$15)

2. Then, drag the fill handle down to the cells that you want to apply this formula, and all the matching values between the dates are extracted at once, see screenshot:

Notes:

1. In this formula: A2:A15 is the range of smaller values and B2:B15 is the range of larger numbers in your report, the E2 is the given value which you want to get its corresponding value, C2:C15 is the column data which you want to extract from.

2. This formula also can help you to get the correct result when your lookup values in a left column, see screenshot:

3. If the value doesn’t exist, you will get an #N/A error value.


Vlookup and return matching data between two values with a useful feature

If you have Kutools for Excel, with its LOOKUP between Two Values feature, you can quickly get the corresponding data between two given values.

Tips:To apply this LOOKUP between Two Values feature, firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily.

After installing Kutools for Excel, please do as this:

1. Click Kutools > Super Lookup > LOOKUP between Two Values, see screenshot:

2. In the LOOKUP between Two Values dialog box, please do the following operations:

  • Select the lookup value cells and output cells from the Lookup values and Output Range section;
  • Then, specify the corresponding items from the Data range section.

Note: If you want to replace the error value when the date doesn’t exist with other specific text, please check Replace #N/A error value with a specified value option.

3. Then, click OK button, the matching data based on the given value have been extracted as following screenshot shown:

Click to Download Kutools for Excel and free trial Now!


More relative articles:

  • Vlookup Values Across Multiple Worksheets
  • In excel, we can easily apply the vlookup function to return the matching values in a single table of a worksheet. But, have you ever considered that how to vlookup value across multiple worksheet? Supposing I have the following three worksheets with range of data, and now, I want to get part of the corresponding values based on the criteria from these three worksheets.
  • Use Vlookup Exact And Approximate Match In Excel
  • In Excel, vlookup is one of the most important functions for us to search a value in the left-most column of the table and return the value in the same row of the range. But, do you apply the vlookup function successfully in Excel? This article, I will talk about how to use the vlookup function in Excel.
  • Vlookup Matching Value From Bottom To Top In Excel
  • Normally, the Vlookup function can help you to find the data from top to bottom to get the first matching value from the list. But, sometimes, you need to vlookup from bottom to top to extract the last corresponding value. Do you have any good ideas to deal with this task in Excel?
  • Vlookup Values From Right To Left In Excel
  • Vlookup is a useful function in Excel, we can use it to quickly return the corresponding data of the leftmost column in the table. However, if you want to look up a specific value in any other column and return the relative value to the left, the normal vlookup function will not work. Here, I can introduce you other formulas to solve this problem.

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
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.
    nida · 2 months ago
    what if the range of values are not consecutive like what you have in the example? the range of values would be 100-300; 101-250; 200-350, how would you use lookup and return several results