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

前端 未结 15 2030
爱一瞬间的悲伤
爱一瞬间的悲伤 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:45

    You could try this.

    =IF(A1=1,B1,TRIM(" "))

    If you put this formula in cell C1, then you could test if this cell is blank in another cells

    =ISBLANK(C1)

    You should see TRUE. I've tried on Microsoft Excel 2013. Hope this helps.

提交回复
热议问题