Quantcast
Viewing all articles
Browse latest Browse all 1418

Lookup Dates

Hi, 

I want to lookup the date from Table 1 and evaluate if the date is between either of the dates in Table 2.

Could anyone help on how to do this using a lookup? 

Using a standard lookup it only evaluates against the 1st row in Table 2.

Table 1

ID

Date

Between Dates in Table 2 (Yes/No)

Expected Result

12345

07-07-2017

 

Yes

12345

01-01-2015

 

No

Table 2

ID

Start Date

End Date

12345

22-04-2010

06-05-2014

12345

04-05-2016

31-07-2017

Thanks


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>