对指定数值序号内的单元格值求和
上次找到一个对序号求和的函数,想实际套用一下,没有达到预期效果,求高手指点。=SUM(OFFSET(AE3,,,,-A2*2)) =SUMIF($C$2:$AF$2,"<="&A2,C3:AF3)
好像模拟结果对不上? =SUM(INDIRECT(ADDRESS(ROW(AE3),MATCH(A3,$2:$2,0))&":"&ADDRESS(ROW(AE3),COLUMN(AE3))))
=SUM(OFFSET(AE3,0,0,1,-(COLUMN(AE3)-MATCH(A9,$2:$2,0)+1)))
看样子OFFSET还是简单不少,最后这个向左多少列就要看你的表格具体能不能简写了,
=LOOKUP(A2,SUBTOTAL({2,9},OFFSET(AE3,,,,-ROW($1:$30))))
页:
[1]