|
数组三键:
I9- =SUM(MMULT(N(TEXT(SUBSTITUTE($B$9:$B$27,".","/"),"e-m")=$L$5&"-"&IF($M$5="全年",COLUMN($A:$L),$M$5)),ROW(INDIRECT("1:"&IF($M$5="全年",12,1)))^0)*($C$9:$C$27=$H9)*($E$9:$E$27=$J9)*$D$9:$D$27)
复制代码 ,下拉。
K9- =SUM(MMULT(N(TEXT(SUBSTITUTE($B$9:$B$27,".","/"),"e-m")=$L$5&"-"&IF($M$5="全年",COLUMN($A:$L),$M$5)),ROW(INDIRECT("1:"&IF($M$5="全年",12,1)))^0)*($C$9:$C$27=$H9)*($E$9:$E$27=$J9))
复制代码 ,下拉。
L9- =SUM(MMULT(N(TEXT(SUBSTITUTE($B$9:$B$27,".","/"),"e-m")=$L$5&"-"&IF($M$5="全年",COLUMN($A:$L),$M$5)),ROW(INDIRECT("1:"&IF($M$5="全年",12,1)))^0)*($C$9:$C$27=$H9)*($E$9:$E$27=$J9)*($F$9:$F$27=IF(LEFT(L$8)="已","是","否"))*$D$9:$D$27)
复制代码 ,右拉、下拉。
|
|