Hi Team,
I would like to find two solution for the same requirement. I tried Multi-Row formula but not getting the expected result its adding the values without condition. It will be great if any one can assist me.
- Enclosed my sample data. In that, future date values need to be calculate based on condition (service and city).Example: future data is starts from Row no 38 (highlighted in orange) right now the values is 0. Need to find the average based on previous value . Screen short 1 : Row no 38 : sum_A expected value should be 351 (excel formula =(SUM(D36,D31,D24))/3). Need to calculate 3 previous same service and city value and divide by 3 . Same way need to find the values future date values for all columns

Expected Result: Same way have to find the remaining all future date values.
2.Need to find the subtotal based on service. Expected Result 
Thanks