本帖最后由 Michael.Deng 于 2020-6-19 09:19 编辑
答案(6.8号已完成,6.19心血来潮又缩减了几个字符,94字符,带等号,大括号97字符)
L2=SUM((COUNTIF(B$2:B$37,B$2:B$37)<J2-{-4,0,1,2})*(D$2:D$37=J2-{0,1,2,3})*{10,9,8,7}/10*C$2:C$37)
留个简化思路吧
初始想法
L2=SUM(((J2=$D$2:$D$37)+(COUNTIF($B$2:$B$37,$B$2:$B$37)<J2)*($D$2:$D$37=J2-1)*0.9+(COUNTIF($B$2:$B$37,$B$2:$B$37)<J2-1)*($D$2:$D$37=J2-2)*0.8+(COUNTIF($B$2:$B$37,$B$2:$B$37)<J2-2)*($D$2:$D$37=J2-3)*0.7)*$C$2:$C$37)
简化1
L2=SUM(((COUNTIF($B$2:$B$37,$B$2:$B$37)<J2-{0,1,2})*($D$2:$D$37=J2-{1,2,3})*{0.9,0.8,0.7})*$C$2:$C$37)+SUM((J2=$D$2:$D$37)*$C$2:$C$37)
简化2
L2=SUM(((COUNTIF($B$2:$B$37,$B$2:$B$37)<J2-{-4,0,1,2})*($D$2:$D$37=J2-{0,1,2,3})*{1,0.9,0.8,0.7})*$C$2:$C$37)
三建 算是送分题吧,连我都能答出来,坐等开题
|