Steve 1962
Active Member
- Joined
- Jan 3, 2006
- Messages
- 379
- Office Version
- 365
- Platform
- Windows
Hi All
Trying to find a lookup formula that lives in columns B & C, that refers to a source table that lives in columns E, F & G.
I want the lookup to return a value from column G that corresponds with the lookup date (column A) & category (columns A or B). However, there are both gaps in the dates of the lookup and source (not sequential).
If the lookup date (column A) is not found in the source date (column E), then return the value from the nearest earlier date associated with column G.
Thanks
Trying to find a lookup formula that lives in columns B & C, that refers to a source table that lives in columns E, F & G.
I want the lookup to return a value from column G that corresponds with the lookup date (column A) & category (columns A or B). However, there are both gaps in the dates of the lookup and source (not sequential).
If the lookup date (column A) is not found in the source date (column E), then return the value from the nearest earlier date associated with column G.
Thanks
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | Date | A | B | Date | Category | Value | |||
2 | 3/06/2024 | 8/06/2024 | B | 55 | |||||
3 | 4/06/2024 | 10/06/2024 | A | 60 | |||||
4 | 5/06/2024 | 11/06/2024 | B | 21 | |||||
5 | 6/06/2024 | 16/06/2024 | B | 23 | |||||
6 | 7/06/2024 | 16/06/2024 | A | 11 | |||||
7 | 10/06/2024 | 60 | 55 | For Cat B - Require value from nearest earliest date | 18/06/2024 | B | 53 | ||
8 | 11/06/2024 | 21 | 19/06/2024 | Z | 85 | ||||
9 | 12/06/2024 | 22/06/2024 | F | 54 | |||||
10 | 13/06/2024 | ||||||||
11 | 14/06/2024 | ||||||||
12 | 17/06/2024 | 11 | 23 | For Cat A - Require value from nearest earliest date | |||||
13 | 18/06/2024 | 53 | |||||||
14 | 19/06/2024 | ||||||||
Sheet6 |