求前三天日均值
各位大神,帮忙啊,谢谢先!
=SUM(OFFSET($C$3,MATCH(DATE(2021,11,18),$B$4:$B$19,),,-3))/3 =AVERAGEIFS(C4:C19,B4:B19,"<="&TODAY(),B4:B19,">="&TODAY()-2) 数组函数
C2=AVERAGE(IF((B4:B19>TODAY()-3)*(B4:B19<=TODAY()),C4:C19,)) =SUMPRODUCT(($B$4:$B$19>(TODAY()-3))*($B$4:$B$19<=TODAY())*($C$4:$C$19))/3
=SUMIFS($C$4:$C$19,$B$4:$B$19,">"&(TODAY()-3),$B$4:$B$19,"<="&TODAY())/3 =AVERAGE(OFFSET(C3,MATCH(TODAY(),B4:B19),,-3)) =SUM(SUMIF(B:B,TODAY()-{0,1,2},C:C))/3 感谢至极! 感谢至极! 感谢至极!