在Excel中显示引用单元格中的空白值

在Excel工作表中,我在一个单元格中填充了另一个单元格的值,例如单元格C2 = A2

但是,当单元格A2空白单元格C2的值填充0(零)。

无论如何,使C2领域只是空白?

这应该解决你的问题:

=IF(ISBLANK(A2),"",A2) 

或者你甚至可以试试C2 IF(A2="","",A2)

如果可行的话,仅仅改变格式(比如单个整列)可能就适合了。 例如, 0.00显示数字和零(至2 2DP) 0.00;-0.00; 不显示零。

更多细节在这里 ,包括:

 Create a custom number format Open the workbook in which you want to create and store a custom number format. On the Home tab, click the Dialog Box Launcher Button image next to Number. In the Category box, click Custom. In the Type list, select the number format that you want to customize. The number format that you select appears in the Type box above the Type list. Note When you select a built-in number format in the Type list, Excel creates a copy of that number format that you can then customize. The original number format in the Type list cannot be changed or deleted. 

虽然表面上看起来相同,但是一个空单元和一个包含“”的单元可能会有不同的performance。