[英]How can I create a formula for if statements between 2 cells in google sheets
In Google Sheets I'm trying to have 2 IF formula's do something like this: 在Google表格中,我尝试让2个IF公式执行如下操作:
The intention is to automatically disengage a value in a cell from a separate equation if $0 and to include the value if the separate cell is greater than $0. 目的是自动将单元格中的值与单独的等式分离(如果$ 0),并在单独的单元格大于$ 0时包括该值。
在其他单元格中,这种情况:
=if(or(cell="",cell=0),0,IF(cell>0,cell^3,"TBD"))
If you want to add more ifs I have something that might work for you. 如果您想添加更多ifs,我有一些适合您的东西。 Its a measure of how something is being handled based on a time value percentage.
它根据时间值百分比来衡量某事物的处理方式。 0 in the reference cells makes it to be 'ended' and the other values change according.
参考单元格中的0使其变为“终止”,而其他值随之变化。
=IF(K1=0, "ended",IF(AND(K1>=0.000001, K1<0.49),"on time", IF(AND(K1>=0.5, K1<0.75),"Pending", iF(AND(K1>=0.75, K1<1), "Retard",iF(AND(K1>=1), "Out of time", "Undefined")))))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.