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 between two dates and return corresponding value in Excel?

doc-vlookup-date-1

Supposing you have a report of some projects schedule, now, you want to get the specific project of a given time which is between two given dates of the schedule. Take the following screenshot data for example, I would like to look up the given date 8/13/2015, if this date falls between the start dates and end dates within the report, then return its corresponding project name. This article, I will introduce you the LOOKUP function to deal with this problem.

Vlookup between two dates and return corresponding value with LOOKUP formula


Vlookup for a value in a list:

With this formula of Kutools for Excel, you can quickly vlookup the exact value from a list without any formulas.

doc-vlookup-function-6

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


arrow blue right bubble Vlookup between two dates and return corresponding value with LOOKUP formula


To get the relative value which date falls between two dates, the below Lookup formula may help you. Please do as this:

Enter this formula into a blank cell where you want to place the result: =LOOKUP(2,1/($A$2:$A$7<=F1)/($B$2:$B$7>=F1),$C$2:$C$7), (A2:A7 is the range of start dates and B2:B7 is the end date range in your report, the F1 is the given date which you want to get its corresponding value.), and then press Enter key to get the result you need. See screenshot:

doc-vlookup-date-2

Note: If the date doesn’t exist, you will get an error value after typing this formula.



Related articles:

How to vlookup to return multiple values in one cell in Excel?

How to vlookup next largest value in Excel?

How to vlookup in two dimensional table in Excel?


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.
    Pete C · 4 days ago
    Hi. What is the logical explanation to use this formula: =LOOKUP(2,1/($A$2:$A$7<=F1)/($B$2:$B$7>=F1),$C$2:$C$7)? How does it work? Thanks.
  • To post as a guest, your comment is unpublished.
    Terry · 19 days ago
    a godsend - exactly what I was looking for! much thanks
  • To post as a guest, your comment is unpublished.
    Jeromy · 2 months ago
    hello, what if in the columns, there are data aside from dates. How can I get the date from the range?

    E.g. Column A - 03/19/2019, Column B - Approved, Column C - Pending, Column D - ---. In this case, how can I get 03/19/2019?
  • To post as a guest, your comment is unpublished.
    prashant · 11 months ago
    i have two sheets, Sheet No 1 has Selling date, Grade & Item Code, Sheet no 2 has Price applicable from date, to date, Item code & Garde. please help to solve using vlookup, index or any other function in excel ?
  • To post as a guest, your comment is unpublished.
    Tom · 11 months ago
    Hello, what if I want to add another criteria. For example, if there was another column D called "Group ID" that I want to add in the formula. i.e. If group ID=302511 then LOOKUP(2,1/($A$2:$A$7<=F1)/($B$2:$B$7>=F1),$C$2:$C$7). Is this possible?
    • To post as a guest, your comment is unpublished.
      skyyang · 11 months ago
      Hello, Tom,
      Can you give your problem more detailed? You can insert a screenshot here.