英文:
Google sheets formatting percentages wrong
问题
我希望这不是我忽略的一些可怕简单的事情。
我有一个表格文档,直接从外部来源导入数据。来源以原始格式上传数字,如32.6,但当我尝试将其格式化为百分比时,我得到了326.000%,而我需要32.6%,我似乎找不到解决方法。
正在使用一个索引匹配公式来检索这个数字,但我看不出为什么这会影响格式。当我在Excel中尝试时,除非我手动输入数字,否则我会得到相同的结果。
一切顺利
路易斯·桑托斯
英文:
I hope this isn't something horrible simple I've overlooked.
I have a sheets document which imports data directly from an external source.
The source uploads numbers in a raw format such as 32.6, when I try to format this to a percentage I get 326.000% when I need 32.6%, I can't seem to find a workaround.
There is an index match formula being used to retrieve this number, but I can't see why that would effect formatting.
When I try it in excel I get the same result unless I manually type out the number.
All the best
Luis Santos
答案1
得分: 2
不要回答我要翻译的问题。以下是要翻译的内容:
"Instead of formating 32.6 to %, you could choose formating one of the following :
- 0.326
- =32.6/100
- 32.6%
It seems that when you want to format in % you have to use a number between 0 and 1, 0 corresponding to 0%, 1 to 100%."
英文:
Instead of formating 32.6 to %, you could choose formating one of the following :
- 0.326
- =32.6/100
- 32.6%
It seems that when you want to format in % you have to use a number between 0 and 1, 0 corresponding to 0%, 1 to 100%.
答案2
得分: 0
你可以使用顶部菜单中的 编辑
--> 查找和替换
功能,并执行以下步骤:
- 查找:
(\d+.\d+)
- 替换为:
$1%
- 搜索范围: 选择您的范围
- 使用正则表达式进行搜索
- 替换所有
完成后,点击“完成”。
接下来,只需按下完成按钮。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论