Hi, struggling with producing an INDEX MATCH formula that will achieve the following:
For each Name in WS1, if its Date < 365 days from the Date of the matching Name in WS2, return "N" in WS1 Col C, otherwise return the value in WS2 Col C corresponding to that Name.
The results should be WS1 Col C in the example below.
Any help is deeply appreciated!
For each Name in WS1, if its Date < 365 days from the Date of the matching Name in WS2, return "N" in WS1 Col C, otherwise return the value in WS2 Col C corresponding to that Name.
The results should be WS1 Col C in the example below.
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | NAME | DATE | NEW LABEL | ||
2 | Name1 | 12/1/2021 | N | ||
3 | Name2 | 12/2/2021 | N | ||
4 | Name3 | 12/3/2021 | S | ||
5 | Name4 | 12/4/2021 | N | ||
6 | Name5 | 12/5/2021 | F | ||
WS1 |
Book1 | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | NAME | DATE | LABEL | ||
2 | Name1 | 1/20/2020 | N | ||
3 | Name2 | 8/9/2021 | IP | ||
4 | Name3 | 5/23/2019 | S | ||
5 | Name4 | 9/1/2021 | F | ||
6 | Name5 | 3/7/2020 | F | ||
WS2 |
Any help is deeply appreciated!