跳到主要内容

如何在Excel中删除小数点后的数字?

有时您需要删除小数点后的所有数字,以使数字成为整数。 您可能会认为“减少十进制”功能可以解决此问题。 实际上,“减小十进制”功能只是更改数字的显示值,例如,将2.5显示为3,但在公式栏中显示的实际值仍然是2.5。 因此,如何在Excel中删除小数点后的数字? 有几种方法适合您。


使用INT函数或TRUNC函数删除小数点后的数字

假设我们有一个购买表,如下面的屏幕截图所示,现在我们需要删除“金额”列中值的小数点后的数字。 Excel函数可以帮助您轻松删除小数点后的数字。 您可以执行以下操作:

INT功能:在除值之外的空白单元格中,您将删除小数点后的数字,输入公式 = INT(E2),然后将“填充手柄”拖动到所需的范围。

笔记:
(1)在公式中 = INT(E2),E2是要在小数点后删除数字的单元格。
(2)INT函数也可以保留小数点后的某些数字位。 例如,要删除除小数点后的第一个数字以外的所有数字,可以应用公式= INT(E2 * 10)/ 10。

TRUNC功能:除了要在小数点后删除数字的值外,输入公式 = TRUNC(E2,0) 放入空白单元格,然后将“填充手柄”拖动到所需的范围。

笔记:
(1)在公式中 = TRUNC(E2,0),E2是您要删除小数点后数字的单元格,0表示删除小数点后的所有数字;
(2)要删除除小数点后的第一个数字以外的所有数字,可以应用公式 = TRUNC(E2,1);

Tips::删除公式,但保留公式结果: (1)选择所有公式单元格; (2) 按下并复制这些公式单元格 按Ctrl + C 同时按键; (3) 右键单击目标范围的第一个单元格,然后选择 价值观 如下。 粘贴选项 在上下文菜单中。
顺便说一句,如果你安装了 Kutools for Excel,你可以应用它 到实际 功能,只需单击一下即可快速将所有公式转换为其公式结果。 查看屏幕截图:
实际广告5

批量将小数点添加到没有公式的列/列表中的现有数字

如您所知,当您通过Excel选项>高级>输入数字时,小数点可以自动添加到指定的小数位。 自动插入小数点。 但是,此选项将影响整个工作表。 仅在Excel中指定范围内的现有数字中自动插入小数点怎么办? 尝试 Kutools for Excel操作 效用!


广告操作工具添加小数点

通过舍入实用程序删除没有公式的小数点后的数字

所有函数都不会在Excel中修改原始值,但是有时您可能只需要更改原始值。 要直接从原始值中删除小数点后的数字,您可以应用 圆形 实用程序 Kutools for Excel.

Kutools for Excel - 包含 300 多个 Excel 基本工具。 享受全功能 30 天免费试用,无需信用卡! 现在下载!

1。 选择要删除小数点后的数字的单元格,然后单击 库工具 > 圆形.
doc删除十进制4后的数字

2。 在没有公式的回合对话框中,在 小数位 框,选中 四舍五入 选项,然后单击 Ok 按钮。

Kutools for Excel - 使用 300 多种基本工具增强 Excel 功能。 享受全功能 30 天免费试用,无需信用卡! 立即行动吧!


演示:在Excel中不带公式的小数点后删除数字


Kutools for Excel:超过 300 个方便的工具触手可及! 立即开始 30 天免费试用,没有任何功能限制。 立即下载!

相关文章:

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

产品描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (13)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
hello ,
i have a number in decimal 0.36 , how to change in rupees values like 36000 in excel , plzz help ......
This comment was minimized by the moderator on the site
Hi, in your case, you can simply multiply 0.36 by 100000.

For example, if 0.36 is in cell A1, you can enter a formula: A1*100000 in cell B1.

Amanda
This comment was minimized by the moderator on the site
Спасибо большое!
очень помогло
This comment was minimized by the moderator on the site
Thank You!
This comment was minimized by the moderator on the site
Many thanks; it has yielded 2 hrs back to me, let me take a deep sleep
This comment was minimized by the moderator on the site
helps a lot, thanks
This comment was minimized by the moderator on the site
awesome very informative
This comment was minimized by the moderator on the site
NICE INFORMATION
This comment was minimized by the moderator on the site
Hi.. I would like to Round the digits to 2 or 3 decimals, but when i use ROUND command it round up the number to the 2 or 3 decimals if the number contains more decimal places. But if the number is whole number for example , it displays as 1. Is there any command to make it as 1.00
This comment was minimized by the moderator on the site
Hi Suhas,
After apply the ROUND function, keep the formula cells selected, and click the Increase Decimal button and Decrease Decimal button under Home tab to unify their decimal places.
This comment was minimized by the moderator on the site
Thanks very helpfull
This comment was minimized by the moderator on the site
Thanks it's very helpful.... :-)
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations