Hi,
I have 2 tables, Table 1 that log the amount of purchase at x date.
Table 2 log the price at x date.
I have 2 tables.
Table 1:
[ID] - [Date] - [Name] - [Quantity]
1 - 1JAN2017 - APPLE - 5
2 - 31JAN2017 - APPLE - 6
3 - 28FEB2017 - APPLE - 5
Table 2:
[ID] - [Date] - [Price]
1 - 31DEC2016 - 2$
2 - 2JAN2017 - 3$
3 - 28JAN2017 - 4$
4 - 28FEB2017 - 5$
If they select the record 3 in Table 1, it will populate in a control, the price at record 4 from Table 2.
If they select the record 2 in Table 1, it will populate in a control, the price at record 3 from Table 2.
Basically, the lookup formula should be "equal or after" a date.
Can anyone help me to create such formula or code?
Thanks
I have 2 tables, Table 1 that log the amount of purchase at x date.
Table 2 log the price at x date.
I have 2 tables.
Table 1:
[ID] - [Date] - [Name] - [Quantity]
1 - 1JAN2017 - APPLE - 5
2 - 31JAN2017 - APPLE - 6
3 - 28FEB2017 - APPLE - 5
Table 2:
[ID] - [Date] - [Price]
1 - 31DEC2016 - 2$
2 - 2JAN2017 - 3$
3 - 28JAN2017 - 4$
4 - 28FEB2017 - 5$
If they select the record 3 in Table 1, it will populate in a control, the price at record 4 from Table 2.
If they select the record 2 in Table 1, it will populate in a control, the price at record 3 from Table 2.
Basically, the lookup formula should be "equal or after" a date.
Can anyone help me to create such formula or code?
Thanks