跳到主要內容

如何在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);

尖端:刪除公式,但保留公式結果: (1)選擇所有公式單元格; (2) 按下並複制這些公式單元格 按Ctrl + C 同時按鍵; (3) 右鍵單擊目標範圍的第一個單元格,然後選擇 價值觀 下面 粘貼選項 在上下文菜單中。
順便說一句,如果您安裝了Kutools for Excel,則可以應用它 到實際 功能,只需單擊一下即可快速將所有公式轉換為其公式結果。 查看屏幕截圖:
實際廣告5

批量將小數點添加到沒有公式的列/列表中的現有數字

如您所知,當您通過Excel選項>高級>輸入數字時,小數點會自動添加到指定的小數位。 自動插入小數點。 但是,此選項將影響整個工作表。 僅在Excel中指定範圍內的現有數字中自動插入小數點怎麼辦? 嘗試 Excel的Kutools手術 效用!


廣告操作工具添加小數點

通過舍入實用程序刪除小數點後沒有公式的數字

所有函數都不會在Excel中修改原始值,但是有時您可能只需要更改原始值。 要直接從原始值中刪除小數點後的數字,您可以應用 圓形 的效用 Excel的Kutools.

Excel的Kutools - 包含 300 多個 Excel 基本工具。 享受全功能 30 天免費試用,無需信用卡! 現在下載!

1。 選擇要刪除小數點後的數字的單元格,然後單擊 庫工具 > 圓形.
doc刪除十進制4後的數字

2。 在沒有公式的回合對話框中,在 小數位 框,選中 四捨五入 選項,然後單擊 Ok 按鈕。

Excel的Kutools - 使用 300 多種基本工具增強 Excel 功能。 享受全功能 30 天免費試用,無需信用卡! 立即行動吧!


演示:在Excel中不帶公式的小數點後刪除數字


Excel的Kutools:超過 300 個方便的工具觸手可及! 立即開始 30 天免費試用,沒有任何功能限制。 現在就下載!

相關文章:

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為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