I have data that sometimes changes dates. if the customer wants a date in the future, I want the formula to look at the first date. If it is in the past, sum the information based on the parameters, if it is in the future, continue with the parameters. The current formula is =sumproduct(sumifs(input!$G:$g,Input!$C:$C,$B7, Inpt!$B:$B, $C7,Input$E:$E,7:$F7,Input!$A:A,H$2))