I know how to do an index match when the date is static (i.e. put a date and it returns the name), but not sure how to write the formula with multiple dates because of the lack of ability to change the array within the formula. I am sure I am missing something simple. Here is the example of the data. The promo's run between certain dates and I am trying to match weeks of syndicated data that use the 'WE DATE' to what promo might have run during that week.
NAME | START | END | WS DATE | WE DATE | PROMO (OUTPUT) | |
PROMO 1 | 01/24/23 | 02/15/23 | 01/01/23 | 01/07/23 | - | |
PROMO 2 | 02/16/23 | 03/08/23 | 01/08/23 | 01/14/23 | - | |
PROMO 3 | 03/09/23 | 03/29/23 | 01/15/23 | 01/21/23 | - | |
PROMO 4 | 03/23/23 | 04/12/23 | 01/22/23 | 01/28/23 | PROMO 1 | |
PROMO 5 | 04/04/23 | 04/24/23 | 01/29/23 | 02/04/23 | PROMO 1 | |
PROMO 6 | 04/25/23 | 05/15/23 | 02/05/23 | 02/11/23 | PROMO 1 | |
PROMO 7 | 05/16/23 | 06/07/23 | 02/12/23 | 02/18/23 | PROMO 2 | |
PROMO 8 | 06/06/23 | 06/28/23 | 02/19/23 | 02/25/23 | PROMO 2 |