Leave a cell blank until data is entered in different cell in Google Sheets

此生再无相见时 提交于 2019-12-13 22:10:48

问题


Can someone help me to type this formula: =IF($F5>0,I4/$F5,0)
inside this formula: =IF(F5="","",[I-want-to-type-it-here])

The first formula =IF($F5>0,I4/$F5,0) is to calculate the profit margin, and the second is to leave the cell empty until I enter data in a different cell.


回答1:


try it like this:

=IFERROR(IF($F5>0, I4/$F5, 0), )

=IF(F5="", , 
 IF($F5>0, I4/$F5, 0))

=IF(F5="", , IFERROR(IF($F5>0, I4/$F5, 0), 
                     IF($F3>0, I3/$F3, 0)))


来源:https://stackoverflow.com/questions/54843199/leave-a-cell-blank-until-data-is-entered-in-different-cell-in-google-sheets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!