1、以E:G列为辅助列,在E2单元格输入以下公式,然后向下填充公式
=IF(COUNTIF($B2:$D2,"无")=0,CHOOSE(COLUMN(A1),50%,30%,20%),IF(COUNTIF($B2:$D2,"无")=1,CHOOSE(COLUMN(A1),55%,45%,0),CHOOSE(COLUMN(A1),100%,0,0)))
2、在J2单元格输入以下公式,然后向下填充公式
=SUMPRODUCT((B$2:D$17=I2)*E$2:G$17)
1、以E:G列为辅助列,在E2单元格输入以下公式,然后向下填充公式
=IF(COUNTIF($B2:$D2,"无")=0,CHOOSE(COLUMN(A1),50%,30%,20%),IF(COUNTIF($B2:$D2,"无")=1,CHOOSE(COLUMN(A1),55%,45%,0),CHOOSE(COLUMN(A1),100%,0,0)))
2、在J2单元格输入以下公式,然后向下填充公式
=SUMPRODUCT((B$2:D$17=I2)*E$2:G$17)