跳到主要内容

如何在Excel中将十进制小时/分钟转换为时间格式?

在某些情况下,您可以将时间记录为十进制小时或分钟,例如31.23,如何将十进制小时或十进制分钟转换为标准时间格式hh:mm:ss,如下图所示。 在本文中,我介绍了一些技巧,可帮助您快速完成Excel中的转换。
doc将十进制小时转换为时间1

使用公式将十进制小时/分钟转换为时间格式

将时间转换为十进制小时/分钟/秒


箭头蓝色右气泡 使用公式将十进制小时/分钟转换为时间格式

这里有一些简单的公式,可以帮助您快速将十进制小时或十进制分钟转换为hh:mm:ss。

1.选择要输出转换结果的空白单元格,然后输入此公式 = A2 / 24,将填充手柄拖到所需的单元格上。 看截图:
doc将十进制小时转换为时间2

2.保持公式单元格突出显示,然后右键单击以显示上下文菜单并选择 单元格格式. 而在 单元格格式 对话框中选择 时间 来自 产品分类 列表,然后从右侧部分中根据需要选择一种时间类型。 看截图:

doc将十进制小时转换为时间3 向右射箭 doc将十进制小时转换为时间4

3。 点击 OK。 现在,十进制小时已转换为时间格式。
doc将十进制小时转换为时间5

备注:如果要将小数分钟转换为时间格式,可以应用此公式 = A2 / 1440,然后将单元格格式化为所需的时间格式。 如果您想浪费几秒钟的时间,请使用以下公式 = A2 / 86400。 看截图:
doc将十进制小时转换为时间6


箭头蓝色右气泡 将时间转换为十进制小时/分钟/秒

如果要将时间hh:mm:ss转换为十进制小时,分钟或秒,则 转换时间 实用程序 Kutools for Excel 快速解决这项工作。

Kutools for Excel, 与超过 300 方便的功能,使您的工作更加轻松。 

安装后 Kutools for Excel,请执行以下操作:(立即免费下载Kutools for Excel!)

选择要转换的时间单元,单击 库工具 > 内容 > 转换时间 > 上班时间/分钟时间/时间到秒.
doc转换时间1
doc转换时间2

如果要将转换结果保存在其他位置,请单击 库工具 > 内容 > 转换时间 > 转换时间,然后在弹出的对话框中,根据需要检查操作,然后选择一个单元格放置结果。
doc转换时间3


在Excel中轻松地将天/年/月/小时/分钟/秒添加到日期时间

假设您在一个单元格中有一个日期时间格式数据,现在您需要在该日期中添加若干天,年,月,小时,分钟或秒。 通常,使用公式是所有Excel用户的第一种方法,但是很难记住所有公式。 用 Kutools for Excel日期和时间助手 实用程序,您可以轻松地将天,年,月,小时,分钟或秒添加到日期时间,此外,您可以计算出日期差或基于给定生日的年龄,而无需记住任何公式。 点击即可获得 30 天的全功能免费试用!
doc第二小时添加小时
 
Kutools for Excel:拥有300多个便捷的Excel加载项,可以在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 (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
안녕하세요.
상기 방법으로 십진수를 시간으로 변경했는데...
31.23 => 변환 했더니 7:13:48 로 나오네요... 31:13:48로 안나오는데...
서식에서도 영문과 같은 예시는 없네요....
This comment was minimized by the moderator on the site
https://cdn.extendoffice.com/images/stories/comments/sun-comment/format_time.png
Hi, you may need to format the result as 37:30:55. Select the result cell, press Ctrl + 1 to enable the Format Cells dialog, and choose 37:30:55 from the Type in the Time section.
This comment was minimized by the moderator on the site
Thanks a lot, Sunny.
:-)
This comment was minimized by the moderator on the site
Hello,
How to ask excel to show more then 31 days in format "DD:HH:MM"?
Thanks in advance.
This comment was minimized by the moderator on the site
Hi, Gogara, just format the cell as dd:hh:mm in the Format Cells dialog. Please see the screenshot:https://www.extendoffice.com/images/stories/comments/sun-comment/doc-format-dd-hh-mm.png
This comment was minimized by the moderator on the site
I have the starting time and total hours required, how will i find the ending time in excel.
This comment was minimized by the moderator on the site
My way of converting mm:ss to decimal equivalent:
2:42 in any cell e.g. A1 then in Cell A2 Formula =(A1-INT(A1))*24 - hit "enter" & Voila! there's your answer: 2.70
Hope this helps. Good luck
This comment was minimized by the moderator on the site
Okay good, but what about the other way around? Decimal minute back to mm:ss ??
This comment was minimized by the moderator on the site
Thanks for reply.
This comment was minimized by the moderator on the site
Why do you need to divide the decimal value into 24 (hours) or 1440 (min)?
This comment was minimized by the moderator on the site
You cannot format it as time format if you do not divide them.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations