Try this, it adds one more criteria to the days formula...in AB4:

=SUMPRODUCT(($A$4:$A$60=$Z4) * ($B$4:$R$60<0.5) * ($B$4:$R$60>0) * (MOD(COLUMN($B$3:$R$3)-1,3)=1)) + SUMPRODUCT(('Store 15'!$A$4:$A$60=$Z4) * ('Store 15'!$B$4:$R$60<0.5) * ('Store 15'!$B$4:$R$60>0) * (MOD(COLUMN('Store 15'!$B$3:$R$3)-1,3)=1))