简体   繁体   English

如何为Google表格中的两个单元格之间的if语句创建公式

[英]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公式执行如下操作:

  1. =IF(cell "" = 0, cell "" = 0) = IF(储存格「」= 0,储存格「」= 0)
  2. =IF(cell "" > 0, cell "" = (cell * cell * cell) = IF(储存格“”> 0,储存格“” =(储存格*储存格*储存格)

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.

相关问题 如何比较谷歌表格中的两个公式(计算)单元格 - How to compare two formula (calculated) cells in Google Sheets 在 Google 表格中 IF 多个单元格的公式 - In Google Sheets IF formula over several cells 如何在单独的单元格中使用多个 IF 语句创建公式? - How do I make a formula with Mulitple IF statements in seperate cells? 如何为 Google 表格上的多个单元格应用 Arrayformula,其中包括固定单元格和可变单元格? - How can I apply an Arrayformula for multiple cells on Google Sheets which includes fixed and variable cells? 如何将 ELSE IF 作为谷歌表格插入,因为我似乎无法在同一个单元格中使用 2 个 IF 语句? - How to insert an ELSE IF in as google sheets, as I can't seem to use 2 IF Statements in the same cell? 单元格在Google Sheets / Excel中如何具有2个公式条件? - How can a cell have 2 formula conditions in Google Sheets/Excel? Google Spreadsheet如何通过if语句使用“ onedit”更改单元格? - How can Google Spreadsheet use “onedit” to change cells with if statements? 如何依次填充Google表格中的大量单元格? - How do I sequentially fill a big range of cells in Google Sheets? 这个公式可以用在 Google Sheets 的 ARRAYFORMULA 中吗? - Can this formula be used in an ARRAYFORMULA in Google Sheets? 是否可以计算Google表格中的空白单元格,但仅当它们位于具有值的单元格之间时才可以计数? - Is there a way to count blank cells, but only if they are between cells with values, in Google Sheets?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM