I would like to create a metric that will work for each risk ID. The risk contains 4 phases: 4 rows. After the 4th row. I want the function to consider a new risk. What's the best way to kind of group the spreadsheet into buckets of 4 rows; each bucket for a risk and have the function reinitialized after the 4th row. I tried to use the group button but it doesn't seem to work when I do the function.
Please find the spreadsheet attached for more details. It shows also the desired output.
Thank you for your suggestions,