Steve 1962
Active Member
- Joined
- Jan 3, 2006
- Messages
- 382
- Office Version
- 365
- Platform
- Windows
Hi
I have a list of dates & values (columns D & E). I have lookup values (column A) that refer to the dates in the list and values are extracted from column E, according to the lookup date.
The problem I have is that not all dates in column D are consecutive. In the example, there is no 25/1/25 in the list in column D.
The solution that I need is that if the date does not exist in column D, then give the value from column E that is closest to the Lookup Date in column A (preceding closet value). In this case, the extracted value would be $52,466 (associated with 24/1/25). Formulas needed in column B.
Thanks
S
I have a list of dates & values (columns D & E). I have lookup values (column A) that refer to the dates in the list and values are extracted from column E, according to the lookup date.
The problem I have is that not all dates in column D are consecutive. In the example, there is no 25/1/25 in the list in column D.
The solution that I need is that if the date does not exist in column D, then give the value from column E that is closest to the Lookup Date in column A (preceding closet value). In this case, the extracted value would be $52,466 (associated with 24/1/25). Formulas needed in column B.
Thanks
S
Book1 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Lookup Date | Value | Date1 | List | |||
2 | 14/01/2025 | $54,319 | 10/01/2025 | $54,305 | |||
3 | 25/01/2025 | $52,466 | 13/01/2025 | $54,312 | |||
4 | 11/02/2025 | $25,111 | 14/01/2025 | $54,319 | |||
5 | 15/01/2025 | $54,341 | |||||
6 | 16/01/2025 | $54,349 | |||||
7 | 17/01/2025 | $54,356 | |||||
8 | 20/01/2025 | $54,363 | |||||
9 | 21/01/2025 | $54,371 | |||||
10 | 22/01/2025 | $54,392 | |||||
11 | 23/01/2025 | $54,400 | |||||
12 | 24/01/2025 | $52,466 | |||||
13 | 28/01/2025 | $52,473 | |||||
14 | 29/01/2025 | $52,480 | |||||
15 | 30/01/2025 | $52,508 | |||||
16 | 31/01/2025 | $52,515 | |||||
17 | 3/02/2025 | $52,522 | |||||
18 | 4/02/2025 | $52,529 | |||||
19 | 5/02/2025 | $52,550 | |||||
20 | 6/02/2025 | $52,557 | |||||
21 | 7/02/2025 | $50,620 | |||||
22 | 10/02/2025 | $65,222 | |||||
23 | 11/02/2025 | $25,111 | |||||
24 | 12/02/2025 | $35,222 | |||||
25 | 13/02/2025 | $65,412 | |||||
Sheet1 |