如果“0”然后将单元格留空 [英] If "0" then leave the cell blank
本文介绍了如果“0”然后将单元格留空的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果方程等于0,我该如何使该单元格为空白?
= H15 + G16-F16
是我目前使用的公式。
解决方案
您可以更改数字格式列到此自定义格式:
0; -0 ;; @
pre>
这将隐藏所有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.
How Can I make that cell blank if the equation equals 0?
=H15+G16-F16
is the formula I am currently using.
解决方案You can change the number format of the column to this custom format:
0;-0;;@
which will hide all 0 values.
To do this, select the column, right-click > Format Cells > Custom.
这篇关于如果“0”然后将单元格留空的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文