麻烦根据条件编写一个EXCEL表格的函数公式
2、评标测算价分值设为30分,各投标方的评标价与评标测算价相比,每低于评标测算价3%加1分,每高于评标测算价3%减1分,加或减后余下分值,即为投标方投标报价的最后得分,最高分不超过45分,最低分不低于15分。分项报价没有或不详细,按投标价应得分扣2-5分。(不带整数的按插入法计算,保留小数点后两位)
根据以上条件编写一个EXCEL函数公式 展开
2018-07-04
以下答案需要有一点excel基础(我自己也就一点基础。。。):
做了个简单例子如图
评测测算价计算公式(G2位置): = IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B))
初步得分计算公式(参考): =IF(B2<G2,IF((30-QUOTIENT(B2-G2,G2*0.03))<45,30-QUOTIENT(B2-G2,G2*0.03),45),IF((30-QUOTIENT(B2-G2,G2*0.03))>15,30-QUOTIENT(B2-G2,G2*0.03),15))
实际表格中将G2替换成G2的计算公式后如下(C2位置):=IF(B2<IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B)),IF((30-QUOTIENT(B2-IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B)),IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B))*0.03))<45,30-QUOTIENT(B2-IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B)),IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B))*0.03),45),IF((30-QUOTIENT(B2-IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B)),IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B))*0.03))>15,30-QUOTIENT(B2-IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B)),IF(COUNTIF(B:B,">0")>5,((SUM(B:B)-MAX(B:B)-MIN(B:B))/(COUNT(B:B)-2)),AVERAGE(B:B))*0.03),15))
剩下的C3-C9 下拉即可。
说明:
公式:
IF(条件,满足条件时的输出项,不满足条件时的输出项)
SUM 求和 MAX 最大值 MIN 最小值 COUNT 计算总数 AVERAGE 求平均值
商的整数部分 QUOTIENT(被除数,除数))
另外,这个函数只取了B2一个变量可以随意拉、复制,B列整列都在算式中,请确定B列的数值准确性并不要有其他不相关数值。我邮件 380995144@qq.com