Excel:将秒转换为dd天hh:mm:ss格式 [英] Excel: convert seconds to dd Days hh:mm:ss format

查看:275
本文介绍了Excel:将秒转换为dd天hh:mm:ss格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将秒转换为dd hh:mm:ss.

这就是我所拥有的: 我有一个值为457003的单元格(A1),在单元格B1中,我正在= Text(A1/(24 * 60 * 60),"dd hh:mm:ss"并返回05 06:56:43. /p>

我正在寻找的是05 06:56:43.

请帮助!

谢谢

解决方案

使用以下公式:

=TEXT(A1/(24*60*60),"dd \d\a\y\s hh:mm:ss")

尽管我只使用公式部分,并使用dd \d\a\y\s hh:mm:ss的自定义格式.这样,该数字便可以在以后的计算中使用.

I want to convert seconds into dd days hh:mm:ss.

This is what I have: I have a cell (A1) with value 457003 and in Cell B1 I am doing =Text(A1/(24*60*60),"dd hh:mm:ss" and it is returning 05 06:56:43.

What i am looking for is 05 days 06:56:43.

Please help!!

Thank you

解决方案

Use this formula:

=TEXT(A1/(24*60*60),"dd \d\a\y\s hh:mm:ss")

Though I would simply use the formula part and do a custom format of dd \d\a\y\s hh:mm:ss. That way the number can be used in later calculations.

这篇关于Excel:将秒转换为dd天hh:mm:ss格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆