跳到主要内容

如何在Excel中添加或求和超过24小时的时间?

通常,在Excel中添加或求和时间时,您将在24小时内获得最终计算出的结果,如左图所示。 如何在24小时内相加或相加以显示实际结果呢? 本文可以为您提供帮助。

通过更改结果单元格的格式在24小时内相加或相加时间


通过更改结果单元格的格式在24小时内相加或相加时间

您只需要更改结果单元格的格式即可实现。 请执行以下操作。

1.在对时间求和后,选择并右键单击结果单元格,然后选择 单元格格式 从右键单击菜单中。 看截图:

2.在 单元格格式 对话框,转到 联系电话 标签,选择 定制版 ,在 产品分类 框,然后输入 [HH]:MM or [HH]:MM:SSType 框,最后单击 OK 按钮。 看截图:

现在,求和时间的结果将在24小时内显示,如下图所示。

最佳办公生产力工具

🤖 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 (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