"IF"表示Excel中使用多个条件的公式 [英] "IF" formula in excel using multiple conditions
本文介绍了"IF"表示Excel中使用多个条件的公式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在Excel中使用多个条件来解决"IF"公式问题.这就是我需要的:
I need help with an "IF" formula in excel using multiple conditions. This is what I need:
如果(cell)为<201,则* $ 2,如果(cell)为201-400,则* $ 1.15,如果(cell)为> 400,则* $ 1)
我正在尝试创建一个结算"电子表格.
I am trying to create a "settlement" spreadsheet.
推荐答案
您可以尝试以下方法:
=IF(A1<201,"2",IF(AND(A1>201,A1<400),"1.15",1))
但是,您没有提到当单元格值为201时要执行的操作.如果希望它生成 $ 2
,则将公式更改为 A1 <= 201
,否则,如果您希望它产生 $ 1.15
,则编写 A1> = 201
,同样值等于400.
However, you've not mentioned what do you want to do when cell value is 201. If you want it to result in $2
then change formula to A1<=201
or else if you want it to result in $1.15
then write A1>=201
and same aplies to 400.
EDIT :
=IF(A1<=200,"2",IF(AND(A1>200,A1<=400),"1.15",1))
这篇关于"IF"表示Excel中使用多个条件的公式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文