I want to do sum sales based on two dates (Date 1 i.e Order date and date 2 i.e Order date - 30 days) and customer ID
PFA the sample excel file where F column ("Last 30 days sum" is the desired result -> formula used: = SUMIFS($D$3:$D$21,$C$3:$C$21,">="&E3,$C$3:$C$21,"<="&C3,$B$3:$B$21,B3)
Try to provide the solution scalable because later I want to do this for last 60, 90, 120 and 150 days.
Thank you!