Did you know that Excel limits the number of numbers that appear in a cell, in General format? I discovered that limitation this week, while updating my page on rounding functions in Excel.

您是否知道Excel以常规格式限制单元格中出现的数字数量? 我在更新Excel中的舍入函数页面时发现了这个限制。

Have you run into this limit? It was something that I hadn't noticed before, and there doesn't seem to be any setting to adjust this.

你遇到这个限制了吗? 这是我之前从未注意到的事情,而且似乎没有任何设置可以调整此设置。

这些去十一 (These Go to Eleven)

What's the character limit for numbers? Maybe someone at Microsoft is a fan of the movie, This is Spinal Tap, because "these go to eleven".

数字的字符数限制是多少? 也许Microsoft的某人是这部电影的粉丝, 这就是Spinal Tap ,因为“这些电影达到了11岁”。

In the screen shot below, the full number in cell B2 is shown, because it has 11 characters, including the decimal point. However, the number in cell B3 has an additional 3 characters added, and they don't appear. Even though there is enough space in the column, the number is rounded, and only 11 characters appear.

在下面的屏幕截图中,显示了单元格B2中的完整数字,因为它有11个字符,包括小数点。 但是,单元格B3中的数字又添加了3个字符,并且不会出现。 即使列中有足够的空间,数字也会四舍五入,并且仅显示11个字符。

不只是小数 (Not Just Decimals)

It's not just decimals that are rounded. Integers have their formatting changed to Scientific, if they exceed 11 characters.

舍入的不仅是小数。 如果整数超过11个字符,则将其格式更改为“科学”。

In the next screen shot, the 11 characters show up correctly in cell B2. In cell B3, I added one more number at the end, and the number was switched to Scientific format. Again, there is plenty of room in that column – more than enough to show all the numbers.

在下一个屏幕快照中,单元格B2中正确显示了11个字符。 在单元格B3中,我在末尾添加了一个数字,该数字已切换为科学格式。 同样,该栏中有足够的空间-足以显示所有数字。

更自动的格式化 (More Automatic Formatting)

Excel does other types of automatic formatting too, if the cell is in General format.

如果单元格为常规格式,则Excel也会执行其他类型的自动格式设置。

In the screen shot below, you can see 11-character numbers at their full width, in column B. As the column width is reduced, the numbers are rounded, either by rounding the decimals, or changing to Scientific format.

在下面的屏幕快照中,您可以在B列中看到全角的11个字符。随着列宽度的减小,这些数字将通过四舍五入小数或更改为科学格式进行四舍五入。

Finally, when no format fits, number signs (pound signs / hash tags) are shown in the cell.

最后,当没有合适的格式时,单元格中会显示数字符号(井号/井号标签)。

If there are numbers signs in the cell, you can see the actual value by either of these methods:

如果单元格中有数字符号,则可以通过以下两种方法之一查看实际值:

  • click on the cell, and look in the formula bar 单击该单元格,然后在编辑栏中查看
  • point to the cell, and see the number in the pop-up tip 指向单元格,然后在弹出的提示中看到数字

停止自动格式化 (Stop the Automatic Formatting)

If you don't want Excel to automatically adjust the number formatting, you can apply a specific format, such as Number, or use a Custom number format. These specific formats will only change to number signs, if the column is too narrow to display them. The formatting won't automatically change, at other times.

如果您不希望Excel自动调整数字格式,则可以应用特定格式,例如Number,或使用Custom number format 。 如果列太窄而无法显示,则这些特定格式将仅更改为数字符号。 在其他时候,格式不会自动更改。

The Custom formats are created and stored in the Format cells dialog box, on the Number tab.

将创建自定义格式并将其存储在“数字”选项卡上的“格式单元格”对话框中。

A few examples of custom formats are shown below.

自定义格式的一些示例如下所示。

You can even use a custom number format to line up numbers that have varying decimal places. The question mark (?) is a placeholder that adds extra spacing, so the numbers line up at the decimal point.

您甚至可以使用自定义数字格式来排列具有不同小数位的数字。 问号(?)是一个占位符,它增加了额外的间距,因此数字在小数点处对齐。

There are more examples of Custom formats on the Microsoft website: Create a Custom Number Format

Microsoft网站上有更多自定义格式的示例: 创建自定义数字格式

视频:Excel中的自动舍入 (Video: Automatic Rounding in Excel)

To see how Excel can automatically round numbers with the General format, please watch this short video.

若要查看Excel如何自动以“常规”格式舍入数字,请观看此简短视频。

演示地址

Or watch on YouTube: Excel Rounding With Number Formats

或在YouTube上观看: 数字格式的Excel舍入

翻译自: https://contexturesblog.com/archives/2015/04/16/round-numbers-with-excel-formatting/


http://www.taodudu.cc/news/show-6904576.html

相关文章:

  • 用EXCEL绘制精确的甘特图
  • Excel 入门
  • 数据库中为什么叫“非平凡”的函数依赖Nontrivial Function Dependency? nontrivial的本意探讨
  • Normal Equation & Non-invertibility
  • mips的旁路_NonTrivialMIPS
  • numpy的nonzero()和logical_and/or/not()
  • c++ advanced (2) details about default member functions
  • Nonfibonacci numbers
  • Non-linear Optimization
  • A non-serializable value
  • 机器学习领域中的一些概念
  • C++中的trivial和non-trivial构造/析构/拷贝/赋值函数及POD类型
  • mysql 查找相似数据_跳槽必备:MySQL高频面试题,都在这了!
  • 第三方接口的自动化管理---智能路由
  • 室内外融合一体化智能定位-室内定位-蓝牙定位-新导智能
  • 人脸识别翼闸使用规范_人脸识别翼闸安装步骤
  • 万字长文详解数据治理体系
  • 方案分享-RK3399-C开发板常见问题及解决方案分享
  • [元带你学: eMMC协议 7] eMMC 概述 与 eMMC总线协议
  • P2P平台的我要借款功能,是否需要上传借款人的相关资料
  • 【设计模式】第十三章:模板方法模式详解及应用案例
  • 关于使用QAxObject类操作Excel中出现QAxBase : Error calling IDispatch member SaveAs:Exception thrown by server解决
  • Oracle EBS AR_PAYMENT_SCHEDULES_ALL表整理
  • SAP BILLING_SCHEDULE_SAVE
  • excel.CreateDispatch(_T( Excel.Application ))失败
  • SAP ABAP BADI ACC_DOCUMENT创建财务凭证扩展字段增强
  • GrapeCity Documents for Excel:GcExcel 5.1.0
  • vxe-table 表格里每行的项的下拉选项不同的处理方式
  • EasyExcel ExcelWriter.finish()所需要注意的地方
  • PowerBI 新手入门 ---- 新建一个表(直接输入或粘贴表内容)

用Excel格式舍入数字相关推荐

  1. Table用JS导出Excel格式后数字格式问题

    最近做一个将Table数据导出到Excel的需求,从网上找了两款对应的代码,我用的是 使用JS将Table数据导出到Excel里(2中方法)里的第二种,刚开始感觉挺好的,之后发现有点不对劲,数据若是0 ...

  2. C# 设置Excel中的数字字符串格式

    在Excel中,数字字符串用不同格式表示,可代表不同数据意义.例如在财务报表里需要用特定的数字字符串格式来反映金额信息.货币币种.数据精确程度.增减趋势等等.下面分享如何通过C#编程来设置Excel表 ...

  3. 怎么把html格式转换成数字,Excel文本格式怎么转化成数字格式 excel文本转化数字格式教程...

    怎么将excel表格中的文本转化为数字格式呢?我们在使用excel表格的时候,数字格式的数据会更方便用户编辑,所以很多用户都会选择把文本格式转换为数字格式,具体如何操作大家请看下方的excel文本转化 ...

  4. 使用计算机制作数字文本格式,电脑excel表格如何将文本格式变成数字格式

    电脑excel表格如何将文本格式变成数字格式 文本格式和数字格式的单元格显示是有部分不一样的,今天小编就告诉大家电脑excel表格如何将文本格式变成数字格式. 具体如下: 1.首先我们打开电脑中的Ex ...

  5. Excel中的数字格式与文本格式进行转换

    Excel中的数字格式与文本格式进行转换 有时候因为在excel中的单元格中要输入比较多的数字例如身份证号或者银行账户号等,excel中的单元格就会出现类似下面图片中的"乱文". ...

  6. EXCEL表格 显示 超长 数字 E+ 变成 文本格式,数字全部显示

    EXCEL表格 显示 超长 数字 E+ 变成 文本格式,数字全部显示 选中整列,数据-->分列-->固定列宽度(第二项)-->-->下一步-->下一步-->文本-- ...

  7. excel将常规数字转为日期格式

    如何在excel将常规数字转为日期格式?? 将如下格式的数字转为日期格式 在[开始]位置设置了[日期]格式以后,所有数据成为了#### 在[数据]-[分列]下面: 根据分列向导,第一步.第二步选择默认 ...

  8. Excel怎么把数字样式日期转为标准日期格式

    今天跟大家分享一下Excel怎么把数字样式日期转为标准日期格式 1.打开Excel文件 2.选择要处理的单元格区域 3.点击下图选项(Excel工具箱,百度即可了解详细下载安装信息,本文这里就不做详细 ...

  9. Excel批量把数字格式变成文本格式且不用双击出现左上绿标

    Excel批量把数字格式变成文本格式且不用双击出现左上绿标 解决方案 问题描述: excel里面有大量数字,并且小数点后几位都不显示, 复制到txt文本里面都是缩略的数据, 于是设置成文本格式,复制过 ...

最新文章

  1. Don’t Use the Win32 API PostThreadMessage() to Post Messages to UI Threads(翻译)
  2. 机器学习的数学基础 - 常见分布函数
  3. vue中通过数据双向绑定给video标签的src赋值,只有第一次有效,怎么解决?
  4. opencv鼠标操作,画矩形
  5. 设备翻转时viewController调用的方法
  6. SharePoint2013开发环境搭建(完整版:图文并茂)
  7. 打破PermGen神话
  8. 第九十八期:TIOBE11月榜单:C、Swift、Go、D与Rust起起伏伏
  9. php 属性名字访问,php – 如何使用连字符的名称访问此对象属性?
  10. webstorm 搜狗输入法,输入汉字变成繁体字
  11. 如何使用DOSBox软件编写运行汇编语言程序
  12. ES 数据导出和数据导入
  13. java replaceLast
  14. 数据库 之 round函数
  15. 可爱女生开糖果花店,她两年时间就挣了一百万元
  16. ESD-CAN安装调试笔记
  17. 深入理解Lua的闭包:概念和应用
  18. 洛谷P2036 PERKET
  19. 福州大学计算机专硕考纲,2020年福州大学硕士研究生招生考试考试大纲
  20. TPM模拟器和TPM2-TSS安装

热门文章

  1. 347-linux虚拟地址空间
  2. Ubuntu关机异常慢的解决方法
  3. 怎么玩转LINE 群聊
  4. ArcGIS API for JavaScript - 将图片设为map的底图
  5. BGP 互联网接入_什么是互联网骨干网,它是怎样工作的 | Linux 中国
  6. 更换计算机电源线,生活小事不求人之教你自己更换电脑硬盘
  7. sudo命令自动添加密码
  8. linux通配符怎么使用方法,linux 通配符使用小结
  9. Java中的WADL:温和的介绍
  10. Nginx(七)防盗链