excel - How to change Format "Hours" to "hour : minutes" in excel
问题描述
hi everyone i have one columns is Duration columns, the column is in hour format, and I want to convert it to "hour:minutes" format, what formula can I use in excel?
i use =TEXT(A1/24,"hh:mm")
解决方案
You need to divide hours by 24. Try below formula-
=TEXT(A1/24,"hh:mm")
Check this article from exceljet.net Convert decimal hours to Excel time.
From @Gary's Student answer, you can also use same format with text function.
=TEXT(A1/24,"[hh]:mm")
推荐阅读
- php - Mezzio 应用程序在内置 php 服务器上运行良好,但在 docker 容器中运行时出错
- r - 无法正确执行 stl 分解
- javascript - 使用车把而不是 wokring 将对象数组传递到 expressjs 中的部分视图
- spring - 控制器、服务和存储库返回的对象如何命名?
- rust - 如何在 Rust 中为结构实现 Rng 和 RngCore?
- python - 是否可以矢量化 scipy.optimize.fminbound?
- ros - ROS:tf 与 RPlidar
- laravel - Nginx 配置以允许应用程序中的自定义域
- php - zsh:找不到命令:php
- python - Pandas 根据条件填充 NaN