假设平均报价在A1,报价在B1,C1输入
=IF(ABS(B1-A1)/A1>0.5,"无效报价",25+MIN((B1-A1)/A1/0.05*IF(B1>A1,-2,1),10))
看看我理解的对不?
如果不足10%的按5%算,用这个
=IF(ABS(B1-A1)/A1>0.5,"无效报价",25+INT(MIN((B1-A1)/A1/0.05*IF(B1>A1,-2,1),10)))
报价A 平均价B 基准分C
= $C$2-IF(ABS(IF(A:A>$B$2,2,1)*INT(100*(A:A/$B$2-1)/5))>10,SIGN(A:A-$B$2)*10,IF(A:A>$B$2,2,1)*INT(100*(A:A/$B$2-1)/5))
假设报价在A列,偏离度在B列,得分在C列
B2=(A2-AVERAGE($A:$A))/AVERAGE($A:$A)
C2=IF(ABS(B2)<=50%,IF(B2<0,25-ROUNDDOWN(B2/5%,0),25-MIN(10,ROUNDDOWN(B2/5%,0)*2)),"")