如果“0”然后将单元格留空 [英] If "0" then leave the cell blank

查看:107
本文介绍了如果“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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆