google 工作表 IF AND 语句不起作用

google sheets IF AND statements not working

您好,我正在尝试在现有 IF 语句中执行 AND IF 语句,但它没有从单元格 O:O

中读取值

这是代码 - sheet 包含的屏幕截图

关于我做错了什么的任何想法

=数组公式(IF(ROW(G:G)=1,"Status",IF(A:A="","",IF(E:E="","In Progress",IF(E:E<5000,"Completed",(if(AND(E:E>=5000,O:O="Accept"),"Completed","") ))))))

AND 在数组中不起作用。看看这个(稍微修改过的)公式是否适合你?

=Arrayformula(IF(ROW(G:G)=1,"Status",IF(A:A="","",IF(E:E="","In Progress",IF(E:E<5000,"Completed",if( (E:E>=5000)*(O:O="Accept"),"Completed",""))))))