简体   繁体   中英

EXCEL IF FORMULA with multiple criteria

I would like to put a remark using IF formula in column C below based on criteria:

A   B   C   
10  56% Leader
20  10% Laggard
55  45% Mover
90  90% Cashcow

Criteria:

Remark      A       B
CASHCOW :   >50     >50%
MOVER   :   >50     BELOW 50%
LEADER  :   BELOW 50    >50%
LAGGARD :   BELOW 50    BELOW 50%

I am trying to figure out with this IF formula but not working: =IF(A1&B1>=100&50%, "laggard", IF(A1&B1>=50&50%, "mover", IF(A1&B1>50&50%, "leader", "cashcow")))

Can anyone enlighten me how to get it done?

Thank you.

这应该工作 -

=IF(AND(A1>50,B1>50%),"CASHCOW",IF(AND(A1>50,B1<50%),"MOVER",IF(AND(A1<50,B1>50%),"LEADER",IF(AND(A1<50,B1<50%),"LAGGARD","DO NOTHING"))))

This doesn't need an AND or OR just a couple of nested IFS .

If A1 ( 10 ) is greater than 50 we know it's going to be either a CASHCOW or MOVER so we just need to check if B1 ( 56% ) is greater or less than 50%:
=IF(A1>50,IF(B1>0.5,"CASHCOW","MOVER"))

If A1 is less than 50 then the FALSE part of the function is used to check if B1 if greater or less than 50% and return LEADER or LAGGARD as required.

=IF(A1>50,IF(B1>0.5,"CASHCOW","MOVER"),IF(B1>0.5,"LEADER","LAGGARD"))

The order of your TRUE/FALSE is important here as you don't state what happens if either value is exactly 50. The first part is saying IF A1 is greater than 50 - if it's equal to 50 then it's not greater so the FALSE part is used.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM