Lookup First "Smaller-Than" Value Within a Specified Date Range and Return the Value and the Date the Value Occurs

DDURR

New Member
Joined
Nov 15, 2017
Messages
3
Hello,

I have been facing a "lookup" problem for most of the day today. I have tried vlookup and index-match, however I am unable to return the resulting values that I am looking for. Thank you in advance for your assistance.



In short, I am trying to do accomplish two things. These two things align with the two highlighted cells in the picture above.
1. Cell G1 - Identify (and return) the first Price below the Break Price within the specified Range
2. Cell H1 - Identify (and return) the corresponding date for this value

In the complete data set that I am working with, I am dealing with dates and times (combined), however I decided to simply for the above example.

Most of my attempts ended with the lowest value for the whole set (col A) being returned.

Thank you in advance for your assistance. :bow:

Durr
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Here is a third (and hopefully final) attempt to upload the image for my question above. Thank you.

30c4mbs.jpg
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top