如果“0"然后将单元格留空 [英] If "0" then leave the cell blank
本文介绍了如果“0"然后将单元格留空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试创建一个简单的分类帐,在账簿"的最右侧,它汇总了我输入的任何借记/贷记.但它不会将未使用的行留空,而是不断将最新的总数重复到页面底部.
I am trying to create a simple ledger and on the far right of the "Book" it totals any debit/credit that I input. But instead of leaving the unused rows blank, it keeps repeating the latest total to the bottom of the page.
如果等式等于 0,我怎样才能将该单元格设为空白?
How Can I make that cell blank if the equation equals 0?
=H15+G16-F16
是我目前使用的公式.
推荐答案
您可以将列的数字格式更改为这种自定义格式:
You can change the number format of the column to this custom format:
0;-0;;@
这将隐藏所有 0 值.
which will hide all 0 values.
为此,请选择列,右键单击 > 设置单元格格式 > 自定义.
To do this, select the column, right-click > Format Cells > Custom.
这篇关于如果“0"然后将单元格留空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文