Hello everybody,
I am trying to find a solution to a problem it's causing me many difficulties. I have a list of 7-8 dates of events, and a list of the days for the next 2 years. See the below example:
LIST OF EVENTS
18/04/2018
18/05/2018
20/08/2018
....
....
10/08/2019
CALENDAR
=today()
+1
+1
...
..
..
01/01/2020
I want to find for each day of the calendar the distance from the closest date in the EVENT list. For example today's date is the 15/04/2018, the closest date from the EVENT list is the 18/04/2018, so I want the formula to return the value 3. If I am looking at the 20/04/2018, I want the value -2 as it is 2 days after the closest date. If I am looking at the 22/05/2018 I want the formula to return -4 as it is 4 days after the closest date in the EVENT list 20/08/2019.
I tried many solutions from the forum but they don't really work on this case. I would be so grateful if somebody could help!
Thank you so much in advance.
I am trying to find a solution to a problem it's causing me many difficulties. I have a list of 7-8 dates of events, and a list of the days for the next 2 years. See the below example:
LIST OF EVENTS
18/04/2018
18/05/2018
20/08/2018
....
....
10/08/2019
CALENDAR
=today()
+1
+1
...
..
..
01/01/2020
I want to find for each day of the calendar the distance from the closest date in the EVENT list. For example today's date is the 15/04/2018, the closest date from the EVENT list is the 18/04/2018, so I want the formula to return the value 3. If I am looking at the 20/04/2018, I want the value -2 as it is 2 days after the closest date. If I am looking at the 22/05/2018 I want the formula to return -4 as it is 4 days after the closest date in the EVENT list 20/08/2019.
I tried many solutions from the forum but they don't really work on this case. I would be so grateful if somebody could help!
Thank you so much in advance.