Column A Column B Column C
4/1/2020 4/21/2021 4/30/2021
4/1/2020 4/9/2021 4/27/2021
4/1/2020 4/15/2021 4/15/2021
Trying to find the average days between these dates, so instead of manually doing the subtraction and then finding the average. EX: 1st row, (21-1=20)(30-21=9) = 29, 29/2= 14.5 AVG of days.
I constructed a formula that makes my life easier for the zillion records I have :)
- =AVERAGE(DATEDIF(A1,B1,"D"),DATEDIF(B1,C1,"D")) The problem with the formula, it gives an error for the 3rd row since the start_date(B3) is the same as the end_date(C3).
So I included an IFS statement but still get an error
- =IFS(C1>B1,AVERAGE(DATEDIF(A1,B1,"D"),DATEDIF(B1,C1,"D")),FALSE,DATEDIF(A1,C1,"D"))
Any tips to work around this? Thanks in advance!
