B=A*(1-K),A、K都是已经给出数据,d是手动输入数据组(d0-d10)。我想在Excel表格了注入一个逻辑判断式
当d大于A或小于B时=No,否则=Yes,判断结果在“结论”里标注出来;结论为Yes的进行排序,d大于B且最接近B的=1,一直等于到7,大于且接近B的第8位及以后的=no...
当d大于A或小于B时=No,否则=Yes,判断结果在“结论”里标注出来;结论为Yes的进行排序,d大于B且最接近B的=1,一直等于到7,大于且接近B的第8位及以后的=none,排序结果在“排序”里标注出来。问题是这样,因为A\K\B三个是合并单元格的,试着用单元格判断不行后就直接输入数据,判断式=IF(OR(C2>26957125,C2<23183127.5),"No","Yes");那么怎么来做排序?
展开
2个回答
展开全部
G2=IF(C2=0,"",IF(OR(C2>$D$2,C2<$F$2),"NO","YES"))
下拉至G16即可
H2=IF(ISERROR(MATCH(C2-$F$2,SMALL(IF(($C$2:$C$16<=$D$2)*($C$2:$C$16>=$F$2),$C$2:$C$16-$F$2,4^4),ROW($1:$7)),)),"",MATCH(C2-$F$2,SMALL(IF(($C$2:$C$16<=$D$2)*($C$2:$C$16>=$F$2),$C$2:$C$16-$F$2,4^4),ROW($1:$7)),))
按CTRL+SHIFT+ENTER结束
下拉至H16即可
下拉至G16即可
H2=IF(ISERROR(MATCH(C2-$F$2,SMALL(IF(($C$2:$C$16<=$D$2)*($C$2:$C$16>=$F$2),$C$2:$C$16-$F$2,4^4),ROW($1:$7)),)),"",MATCH(C2-$F$2,SMALL(IF(($C$2:$C$16<=$D$2)*($C$2:$C$16>=$F$2),$C$2:$C$16-$F$2,4^4),ROW($1:$7)),))
按CTRL+SHIFT+ENTER结束
下拉至H16即可
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询