My data looks like this:
Employee Date1 Date2
emp 1 - 1 2022-08-01 2022-08-09
emp 1 - 2 2022-08-22 2022-08-26
emp 1 - 3 2022-11-08 2022-11-09
can someone help with a multi-row formuls that would help me determine:
is date1 of row 2 2022-08-22
more than 5 days from date 2 of row 1 (which in this example is 2022-08-09
and again, is date 1 of row 3 2022-11-08 more than 5 days since row2, date 2 which in this example is 2022-08-26
Thank you in advance