Hello!
I am trying to write an If statement using the multi-row formula tool to index rows together given specific values. I am indexing based off a 30-Day Claim Period. If the Claim Period is <= 30 days then that is one index. If the difference between one claim period and another is > 30 days then that is a new index.
In the attached image, you will see the difference in claim periods which shows a break in indexes from Index 1 to Index 2. Since the difference in claim periods for records the bottom two records is < 30 they should be grouped together.
I can't upload an image so I will post the data via text below. Thank you!
Case Request TS (Date) | Claim Period | Claim Period Difference | Claim Period minus Difference | Incorrect Index | Correct Index |
2023-05-31 0 0 0 1 1
2023-05-31 0 0 0 1 1
2023-05-31 0 0 0 1 1
2023-05-31 0 0 0 1 1
2023-05-31 0 0 0 1 1
2023-05-31 0 0 0 1 1
2023-05-31 0 0 0 1 1
2023-05-31 0 0 0 1 1
2023-06-09 9 9 0 1 1
2023-07-15 36 27 9 2 2
2023-08-07 23 13 10 4 2