Hello all Excel Gurus,
I need help in pulling the price paid BEFORE a particular date. I am attaching 2 sample spreadsheets. One is the price sheet for a particular claim product ID and the date when the price was paid. The second sheet is the "Date of Service" sheet where I need to pull the price paid BEFORE the date of service but only pull the price that was right before the date of service. In the "Date of Service" sheet, I've manually entered the price paid right before the date of service 3/2/18 (3523.23). That was the purchase price paid on 2/26/18, right before 3/2/18. I have 40,000 rows that I need to do this for. Any help would be greatly appreciated.
I need help in pulling the price paid BEFORE a particular date. I am attaching 2 sample spreadsheets. One is the price sheet for a particular claim product ID and the date when the price was paid. The second sheet is the "Date of Service" sheet where I need to pull the price paid BEFORE the date of service but only pull the price that was right before the date of service. In the "Date of Service" sheet, I've manually entered the price paid right before the date of service 3/2/18 (3523.23). That was the purchase price paid on 2/26/18, right before 3/2/18. I have 40,000 rows that I need to do this for. Any help would be greatly appreciated.
Price Sheet.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Claim Product ID | Date | Price | ||
2 | 50242008701 | 02/06/2018 | $3,523.23 | ||
3 | 50242008701 | 02/13/2018 | $3,523.23 | ||
4 | 50242008701 | 02/13/2018 | $3,523.23 | ||
5 | 50242008701 | 02/13/2018 | $3,523.23 | ||
6 | 50242008701 | 02/21/2018 | $3,523.23 | ||
7 | 50242008701 | 02/26/2018 | $3,523.23 | ||
8 | 50242008701 | 03/06/2018 | $3,523.23 | ||
9 | 50242008701 | 03/06/2018 | $3,523.23 | ||
10 | 50242008701 | 03/27/2018 | $3,523.23 | ||
11 | 50242008701 | 04/24/2018 | $3,525.39 | ||
12 | 50242008701 | 05/16/2018 | $3,525.39 | ||
13 | 50242008701 | 05/22/2018 | $3,525.39 | ||
14 | 50242008701 | 06/04/2018 | $3,525.39 | ||
15 | 50242008701 | 08/20/2018 | $3,570.44 | ||
16 | 50242008701 | 08/27/2018 | $3,570.44 | ||
Sheet3 |
Date of service.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Clm Product ID | Date of Service | Price | ||
2 | 50242008701 | 3/2/2018 | $ 3,523.23 | ||
3 | 50242008701 | 3/2/2018 | |||
4 | 50242008801 | 3/2/2018 | |||
5 | 50242008701 | 3/23/2018 | |||
6 | 50242008701 | 3/23/2018 | |||
7 | 50242008801 | 3/23/2018 | |||
8 | 50242008801 | 5/24/2018 | |||
9 | 50242008801 | 5/24/2018 | |||
10 | 50242008801 | 5/24/2018 | |||
Sheet1 |