IF statement: how to leave cell blank if condition is false (“” does not work)

前端 未结 15 2061
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 12:14

I would like to write an IF statement, where the cell is left blank if the condition is FALSE. Note that, if the following formula is entered in C1 (for which the co

15条回答
  •  醉话见心
    2020-12-04 12:46

    I think all you need to do is to set the value of NOT TRUE condition to make it show any error then you filter the errors with IFNA().

    Here is what your formula should look like =ifna(IF(A1=1,B1,NA()))

    Here is a sheet that returns blanks from if condition : https://docs.google.com/spreadsheets/d/15kWd7oPWQmGgYD_PLz9YpIldwnKWoXPHtHQAT3ulqVc/edit?usp=sharing

提交回复
热议问题