Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/sockets/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google sheets 零值显示不一致_Google Sheets - Fatal编程技术网

Google sheets 零值显示不一致

Google sheets 零值显示不一致,google-sheets,Google Sheets,我有几个单元格,它们的格式是用来保存“会计”值的。它们的值都是使用此公式的某些变体定义的: =sum(SomeColumn1:SomeColumn1000)+sum(OtherColumn1:OtherColumn1000) 当该值为0时,大多数单元格显示为$-。但是,其中一些显示为$0.00 造成这种不一致的原因是什么?我可以做些什么来实施第一种格式?尝试以下方法: =round(sum(SomeColumn1:SomeColumn1000))+round(sum(OtherColumn1:

我有几个单元格,它们的格式是用来保存“会计”值的。它们的值都是使用此公式的某些变体定义的:

=sum(SomeColumn1:SomeColumn1000)+sum(OtherColumn1:OtherColumn1000)
当该值为0时,大多数单元格显示为
$-
。但是,其中一些显示为
$0.00

造成这种不一致的原因是什么?我可以做些什么来实施第一种格式?

尝试以下方法:

=round(sum(SomeColumn1:SomeColumn1000))+round(sum(OtherColumn1:OtherColumn1000))

0.00很可能是非零值,因为在您的工作表中,比您所询问的特定公式更上游。

就是这样。完美的