Google sheets 谷歌表单,如果这个和其他或

Google sheets 谷歌表单,如果这个和其他或,google-sheets,formula,google-sheets-formula,Google Sheets,Formula,Google Sheets Formula,我在谷歌工作表中遇到了一些问题。 我希望发生的是: 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" 在P1中使用此选项: =IF(O1="Yes",I

我在谷歌工作表中遇到了一些问题。 我希望发生的是:

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"
在P1中使用此选项:

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