跳到主要內容

如何在Excel中添加或求和超過24小時的時間?

通常,在Excel中添加或求和時間時,您將在24小時內獲得最終計算出的結果,如左圖所示。 如何在24小時內相加或相加以顯示實際結果呢? 本文可以為您提供幫助。

通過更改結果單元格的格式在24小時內相加或相加時間


通過更改結果單元格的格式在24小時內相加或相加時間

您只需要更改結果單元格的格式即可實現。 請執行以下操作。

1.在對時間求和後,選擇並右鍵單擊結果單元格,然後選擇 單元格格式 從右鍵單擊菜單中。 看截圖:

2。 在裡面 單元格格式 對話框,轉到 聯繫電話 標籤,選擇 習俗 ,在 類別 框,然後輸入 [HH]:MM or [HH]:MM:SS類別 框,最後單擊 OK 按鈕。 看截圖:

現在,求和時間的結果將在24小時內顯示,如下圖所示。

最佳辦公生產力工具

🤖 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 (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi,

I have these 2 time stamps. the sum of working hours is over 24h.

11/1/2023 7:33:46
11/2/2023 8:55:07


To calculate total hours I use formula: WORKDAY(F1,H1)+MOD(H1-F1,-1) but then if it is over 24h it calculates as 1:21:21

Any help to fix this is appriciated :)
This comment was minimized by the moderator on the site
Can anyone please explain what ;@ added to a custom time format does to the format?
This comment was minimized by the moderator on the site
It works... Thanks
This comment was minimized by the moderator on the site
Kindly help me total up times for my Log Book. The monthly hours need to be added upto the totals. Monthly hours go upto a maximum of 90:00 hrs and Total is in the 10s of Thousands. Eg 14928:22.
Please help
This comment was minimized by the moderator on the site
Hi Philip Cherian,
The method in this post can also help to solve the problem you mentioned.
This comment was minimized by the moderator on the site
Danke für den Hinweis. :-)Thank you so much!
This comment was minimized by the moderator on the site
Hey there, I am a beginner Excel user. I am trying to understand the use of double quotation mark for duration of time in formulas. Double quotation converts the numbers to text, right? But I am able to use it and it says as numbers in this formula; let's say there is 20:00:00, and I want to substract this from 30 hours. My formula would be ="30:00:00"-A2 and it works perfect! So here double quotation doesn't convert it to text. However, when I use double quotation in an IF formula inside a calculated field in pivottable, it doesn't work. For example: =IF('Field 1'>="1:00:00",1,0) Could you please explain and help me understand why I can not use double quotation in the if formula but I can use it when I substract it? I have been trying to understand this for 3 days... Going crazy. Thanks al lot...
This comment was minimized by the moderator on the site
hello my question is if i want to all time values in a specific cell and to restrict if time value is more than 24:00:00 then show dialog box error alert message etc Please any one help me...
This comment was minimized by the moderator on the site
Format to [h]:mm;@

It worked for me... took a while though!
This comment was minimized by the moderator on the site
What would you use if you had to sum these? I just need the total hours but am unable to find a solution. Ideas?



30039:12:56


26472:48:24


27641:05:20


28721:38:08


27766:17:52


24510:17:52


28532:04:48


31366:30:24


27428:28:56


31151:30:48


25722:07:28


24653:21:36
This comment was minimized by the moderator on the site
this is my problem to!
This comment was minimized by the moderator on the site
Good day,
Sorry can't help you with that.
This comment was minimized by the moderator on the site
Thank you!!
This comment was minimized by the moderator on the site
And it save my problem also. So easy when you know how! :-)
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