I want to add up the entire value according to the correct criteria and determine if the final condition is true or not. If true, the sumifs will be performed; otherwise, "0" will be returned. The value in each column will be zero if there is no date.
D9=SUMIFS(STORE!$C$6:$C$1000;STORE!$A$6:$A$1000;"*"&SUMMARY!$D$5&"*";STORE!$D$6:$D$1000;"*"&SUMMARY!$C$9&"*";STORE!$E$6:$E$1000;"*"&SUMMARY!D8&"*")