Google Sheets如果是这样,否则

时间:2019-02-15 15:48:50

标签: google-sheets formula google-sheets-formula

尝试在Google表格中完成以下操作时遇到了一些问题。 我想发生的事情是:

IF Cell O1 has a value of "Yes" AND Cell E1 is <= 25,000 
Cell P1 = "DEFM-HW-A"

OR Cell O1 has a value of "Yes" AND Cell E1 is > 25,000 
Cell P1 = "DEFM-HW-B"

OR IF O1 = "No"
Cell P1 = "No"

1 个答案:

答案 0 :(得分:1)

在P1中使用它:

=IF(O1="Yes",IF(E1<=25000,"DEFM-HW-A","DEFM-HW-B"),"No")