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
Google sheets 四舍五入_Google Sheets - Fatal编程技术网

Google sheets 四舍五入

Google sheets 四舍五入,google-sheets,Google Sheets,您好,我如何在不使用像“[>99999]0.0、,\M;[>999]0.0、\K;0”这样的自定义格式的情况下对该数字进行四舍五入 因为如果y将自定义格式与公式“=”EXAMPLE“&E24”一起使用,则将不使用该格式的值放入 试试: ="example "&IF(A1<1000, A1, IF(A1<1000000, TEXT(A1/1000, "#.0")&"K", I

您好,我如何在不使用像“[>99999]0.0、,\M;[>999]0.0、\K;0”这样的自定义格式的情况下对该数字进行四舍五入

因为如果y将自定义格式与公式“=”EXAMPLE“&E24”一起使用,则将不使用该格式的值放入

试试:

="example "&IF(A1<1000, A1,
 IF(A1<1000000,       TEXT(A1/1000,          "#.0")&"K",
 IF(A1<1000000000,    TEXT(A1/1000000,       "#.0")&"M",
 IF(A1<1000000000000, TEXT(A1/1000000000,    "#.0")&"B", 
                      TEXT(A1/1000000000000, "#.0")&"T"))))
=“example”&IF(A1
=“example”&convert(A3;“g”;“kg”)和“K”
,将给出
示例77,7K
。如果添加适当的舍入,您应该能够得到
示例77K