|
AO3=SUMPRODUCT(($A$2:$A$2545=$AP$1)*(CLEAN($I$2:$I$2545)="进")*(--LEFT($F$2:$F$2545,10)>=$AR$1)*(--LEFT($F$2:$F$2545,10)<=$AT$1))
AP3=SUMPRODUCT(($A$2:$A$2545=$AP$1)*(CLEAN($I$2:$I$2545)="进")*(--LEFT($F$2:$F$2545,10)>=$AR$1)*(--LEFT($F$2:$F$2545,10)<=$AT$1)*$AM$2:$AM$2545)
AQ3=SUMPRODUCT(($A$2:$A$2545=$AP$1)*(CLEAN($I$2:$I$2545)="出")*(--LEFT($F$2:$F$2545,10)>=$AR$1)*(--LEFT($F$2:$F$2545,10)<=$AT$1))
AR3=SUMPRODUCT(($A$2:$A$2545=$AP$1)*(CLEAN($I$2:$I$2545)="出")*(--LEFT($F$2:$F$2545,10)>=$AR$1)*(--LEFT($F$2:$F$2545,10)<=$AT$1)*$AM$2:$AM$2545) |
|