excel 函数,请各位老师帮忙,感激不尽。
4个回答
展开全部
除了良和差的单独处理外,其余的都要吧统一到一个数组公式中,且比较简洁,详见附件。
G2中输入以下公式,并按Ctrl+Shift+回车,然后向下填充:
=IF((COLUMN()-COLUMN($F2))=LOOKUP(SUM(COUNTIF($B2:$F2,$B2:$F2)),{5,6,8,9,11,13,17},{1,2,3,4,5,6,7}),G$1,"")
J2中输入以下公式,并按Ctrl+Shift+回车,然后向右向下填充:
=IF((COLUMN()-COLUMN($F2))=LOOKUP(SUM(COUNTIF($B2:$F2,$B2:$F2)),{5,6,8,9,11,13,17},{1,2,3,4,5,6,7}),J$1,"")
H2:
=IF(SUM(COUNTIF($B2:$F2,$B2:$F2))=7,IF(MODE($B2:$F2)>4,H$1,""),"")
I2:
=IF(SUM(COUNTIF($B2:$F2,$B2:$F2))=7,IF(MODE($B2:$F2)>4,"",I$1),"")
百度又抽了,附件暂时发不上来。
G2中输入以下公式,并按Ctrl+Shift+回车,然后向下填充:
=IF((COLUMN()-COLUMN($F2))=LOOKUP(SUM(COUNTIF($B2:$F2,$B2:$F2)),{5,6,8,9,11,13,17},{1,2,3,4,5,6,7}),G$1,"")
J2中输入以下公式,并按Ctrl+Shift+回车,然后向右向下填充:
=IF((COLUMN()-COLUMN($F2))=LOOKUP(SUM(COUNTIF($B2:$F2,$B2:$F2)),{5,6,8,9,11,13,17},{1,2,3,4,5,6,7}),J$1,"")
H2:
=IF(SUM(COUNTIF($B2:$F2,$B2:$F2))=7,IF(MODE($B2:$F2)>4,H$1,""),"")
I2:
=IF(SUM(COUNTIF($B2:$F2,$B2:$F2))=7,IF(MODE($B2:$F2)>4,"",I$1),"")
百度又抽了,附件暂时发不上来。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
G2单元格写入公式
=IF(SUMPRODUCT(COUNTIF(B2:F2,B2:F2))=5,G$1,"")
H2单元格写入公式
=IF(OR(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)>1))>=4,SUMPRODUCT(--(COUNTIF(B2:F2,ROW($1:$10)-1)>2))),"",IF(SUMPRODUCT(--(COUNTIF(B2:F2,ROW($6:$10)-1)>1))>0,H$1,""))
I2单元格写入公式
=IF(OR(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)>1))>=4,SUMPRODUCT(--(COUNTIF(B2:F2,ROW($1:$10)-1)>2))),"",IF(SUMPRODUCT(--(COUNTIF(B2:F2,ROW($1:$5)-1)>1))>0,I$1,""))
J2单元格公式
=IF(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=2))=4,J$1,"")K2单元格公式=IF(AND(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=3)),SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=1))),K$1,"")
L2单元格写入公式
=IF(AND(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=3)),SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=2))),L$1,"") M2单元格写入公式=IF(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=4)),M$1,"")
=IF(SUMPRODUCT(COUNTIF(B2:F2,B2:F2))=5,G$1,"")
H2单元格写入公式
=IF(OR(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)>1))>=4,SUMPRODUCT(--(COUNTIF(B2:F2,ROW($1:$10)-1)>2))),"",IF(SUMPRODUCT(--(COUNTIF(B2:F2,ROW($6:$10)-1)>1))>0,H$1,""))
I2单元格写入公式
=IF(OR(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)>1))>=4,SUMPRODUCT(--(COUNTIF(B2:F2,ROW($1:$10)-1)>2))),"",IF(SUMPRODUCT(--(COUNTIF(B2:F2,ROW($1:$5)-1)>1))>0,I$1,""))
J2单元格公式
=IF(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=2))=4,J$1,"")K2单元格公式=IF(AND(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=3)),SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=1))),K$1,"")
L2单元格写入公式
=IF(AND(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=3)),SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=2))),L$1,"") M2单元格写入公式=IF(SUMPRODUCT(--(COUNTIF(B2:F2,B2:F2)=4)),M$1,"")
追问
太感谢了,完全是我想要的,感谢老师。谢谢
来自:求助得到的回答
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
有几个大数为良,有几个小数为差
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询