|
E4=IFERROR(OFFSET(INDIRECT("2汇总表!r"&MATCH($B4,'2汇总表'!$B:$B,)&"c"&LOOKUP(1,0/(MONTH(N(OFFSET(INDIRECT("2汇总表!r"&MATCH($B4,'2汇总表'!$B:$B,)&"c4",),,5*ROW(INDIRECT("1:"&(MATCH(MAX(INDIRECT("2汇总表!r"&MATCH($B4,'2汇总表'!$B:$B,),)),INDIRECT("2汇总表!r"&MATCH($B4,'2汇总表'!$B:$B,),),)-4)/5)))))=MONTH(LOOKUP(9^9,$E$2:E$2))),MATCH(N(OFFSET(INDIRECT("2汇总表!r"&MATCH($B4,'2汇总表'!$B:$B,)&"c4",),,5*ROW(INDIRECT("1:"&(MATCH(MAX(INDIRECT("2汇总表!r"&MATCH($B4,'2汇总表'!$B:$B,),)),INDIRECT("2汇总表!r"&MATCH($B4,'2汇总表'!$B:$B,),),)-4)/5)))),INDIRECT("2汇总表!r"&MATCH($B4,'2汇总表'!$B:$B,),),)),),,MOD(COLUMN(C1),3)-3),"")
下拉、右拉。 |
|