excel判断大于或小于某数值语句

更新时间:02-08 综合 由 挽木琴 分享

使用if嵌套语句,公式如下:

=if(B2>=10, 1, if(5<B2<10, 0.8, if(5<=B2,0,3, "NA")))

返回“NA”表示这个数值不存在。

excel自带的if函数解释:

IF function in Excel

SYNTAX :  IF(Something is True, then do this, otherwise do this)

Example: =IF(A1

EXPLANATION : If the value in A1 is less than the value in B1, the value "OK" is returned, otherwise return a 0.

声明:关于《excel判断大于或小于某数值语句》以上内容仅供参考,若您的权利被侵害,请联系13825271@qq.com
本文网址:http://www.25820.com/all/15_2610470.html