ExcelNoob222
Board Regular
- Joined
- Jun 17, 2020
- Messages
- 77
- Office Version
- 365
- Platform
- Windows
Hi all, I have two sets of data and I need to vlookup from one to the other. The problem is dates.
First table:
My second set of data:
I need to vlookup the adjustd price column from the second set of data into the first set. However, I only want the row for each item that is on or after the same date from the first table. As an example my combined data would like this:
First table:
Item | Date | Price |
1 | 1-Jan-21 | 6 |
1 | 15-Jan-21 | 10 |
1 | 25-Jan-21 | 14 |
My second set of data:
Item | Date | Adjusted Price |
1 | 1-Jan-21 | 7 |
1 | 2-Jan-21 | 9 |
1 | 5-Jan-21 | 9.5 |
1 | 19-Jan-21 | 11.75 |
1 | 24-Jan-21 | 12 |
1 | 26-Jan-21 | 14.5 |
1 | 28-Jan-21 | 16 |
I need to vlookup the adjustd price column from the second set of data into the first set. However, I only want the row for each item that is on or after the same date from the first table. As an example my combined data would like this:
Item | Date | Price | Vlookup |
1 | 1-Jan-21 | 6 | 7 |
1 | 15-Jan-21 | 10 | 11.75 |
1 | 25-Jan-21 | 14 | 14.5 |