“IF” formula in excel using multiple conditions

两盒软妹~` 提交于 2019-12-24 19:26:54

问题


I need help with an "IF" formula in excel using multiple conditions. This is what I need:

IF (cell) is <201, then *$2, if (cell) is 201-400, then *$1.15, if (cell) is >400, then *$1)

I am trying to create a "settlement" spreadsheet.


回答1:


You may try this:

=IF(A1<201,"2",IF(AND(A1>201,A1<400),"1.15",1))

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))



回答2:


How many IF statements are you needing to string together? You are on the right track, they just get confusing the more you need to string together.



来源:https://stackoverflow.com/questions/45384879/if-formula-in-excel-using-multiple-conditions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!