EXCEL中多条件公式,
如图,将表格格式稍作改动,A2公式:
=LOOKUP(SUM(--(IF(SUMIFS($C$2:$G$8,$B$2:$F$8,$B$2:$F$8,$D$2:$H$8,"胜")>0,SUMIFS($C$2:$G$8,$B$2:$F$8,$B$2:$F$8,$D$2:$H$8,"胜"),"")<C2))/(COUNT(IF(SUMIFS($C$2:$G$8,$B$2:$F$8,$B$2:$F$8,$D$2:$H$8,"胜")>0,SUMIFS($C$2:$G$8,$B$2:$F$8,$B$2:$F$8,$D$2:$H$8,"胜"),""))-1),{0,0.7,0.8,1},{0,500,800,1200})*(D2="胜")+IF(D2="负",IF(C2>=0.7,300,IF(C2>=0.6,0,-300)),0)+IF(AND(C2<0.5,G2<0.5,D2="胜"),-400,IF(AND(C2<0.5,G2<0.5,D2="负"),-500,0))
ctrl+shift+回车下拉
I2公式:
=LOOKUP(SUM(--(IF(SUMIFS($C$2:$G$8,$B$2:$F$8,$B$2:$F$8,$D$2:$H$8,"胜")>0,SUMIFS($C$2:$G$8,$B$2:$F$8,$B$2:$F$8,$D$2:$H$8,"胜"),"")<G2))/(COUNT(IF(SUMIFS($C$2:$G$8,$B$2:$F$8,$B$2:$F$8,$D$2:$H$8,"胜")>0,SUMIFS($C$2:$G$8,$B$2:$F$8,$B$2:$F$8,$D$2:$H$8,"胜"),""))-1),{0,0.7,0.8,1},{0,500,800,1200})*(H2="胜")+IF(H2="负",IF(G2>=0.7,300,IF(G2>=0.6,0,-300)),0)+IF(AND(C2<0.5,G2<0.5,H2="胜"),-400,IF(AND(C2<0.5,G2<0.5,H2="负"),-500,0))
ctrl+shift+回车下拉
=IF(CI<1.4,“1”,IF(C1<=5,"1.5",(CI-5)*0.1+1.5))
加上“”后,它以为是文本,所以就直接输出了,并没计算
我感觉 你不是在回答的我的问题
2019-05-05 · 知道合伙人软件行家