本帖最后由 delete_007 于 2012-12-27 16:54 编辑
- =IF(SUM(A$14:E14)<SUM(A$2:E$11),IF(COLUMN()=5-MOD(MATCH(-1%-SUM(A$14:E14),SUBTOTAL(9,OFFSET(F$12,-ROW($1:$50)/5,,,-MOD(ROW($5:$54),5)-1))-SUBTOTAL(9,OFFSET(A$2,,,11-ROW($1:$50)/5,5)))-1,5),-TEXT(SUM(A$14:E14)+LOOKUP(-1%-SUM(A$14:E14),SUBTOTAL(9,OFFSET(F$12,-ROW($1:$50)/5,,,-MOD(ROW($5:$54),5)-1))-SUBTOTAL(9,OFFSET(A$2,,,11-ROW($1:$50)/5,5))),"[>-10];-1!0"),""),"")
复制代码 A15:E15数组公式。
先给个长的公式,有空再来简化。
区域转换(delete_007).zip
(14.33 KB, 下载次数: 35)
简化一下,A15数组公式:- =TEXT((1-COUNT(-T(OFFSET(A15,,-{1,2,3,4}))))*SUM(A$2:A$11*(SUM(--TEXT($A$14:$E14,"0;;;!0"))>=SUMIF(OFFSET($A$1,,,ROW($1:$10),5),"<>")),-TEXT(A$14:A14,"0;;;!0")),"[>9]1!0;[>];")
复制代码
|