问题
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