OK, thanks for the confirmation.Yes, this formula was exactly what I needed. A very transparent formula. Thank you.
Excel Workbook | ||||
---|---|---|---|---|
A | B | |||
2 | 2017-11-01 | X | ||
3 | 2017-12-10 | Y | ||
4 | 2018-05-01 | X | ||
5 | 2018-05-01 | Y | ||
6 | 2018-05-10 | X | ||
7 | 2018-05-10 | Y | ||
8 | ||||
9 | ||||
10 | ||||
11 | 2015-01-01 | |||
12 | 2017-12-10 | 2017-11-01 | ||
13 | 2018-05-05 | 2018-05-01 | ||
14 | 2018-05-13 | 2018-05-10 | ||
Nearest Past Date (2) |