Skip i'r prif gynnwys

Sut i drosi fformat amser dd hh mm i oriau neu funudau yn Excel?

Gan dybio bod gennych chi restr o fformat dyddiad fel DD: HH: MM sy'n golygu dyddiau, oriau, munudau, ond nawr, mae angen i chi drosi hwn yn oriau neu funudau. Bydd yr erthygl hon yn siarad am sut i drosi'r fformat amser DD: HH: MM i oriau neu funudau yn Excel.

Trosi DD: HH: fformat amser MM i oriau a munudau

Trosi DD HH: MM: fformat amser SS i funudau yn unig


swigen dde glas saeth Trosi DD: HH: fformat amser MM i oriau a munudau

Er enghraifft, i drosi 01:23:15 (1 diwrnod, 23awr, 15 munud) i 47:15 (47awr, 15 munud), defnyddiwch y fformiwla ganlynol:

Rhowch y fformiwla hon:

=24*LEFT(A2,FIND(":",A2)-1)+MID(A2,FIND(":",A2)+1,LEN(A2)-2-LEN(RIGHT(A2,LEN(A2)-FIND("@",SUBSTITUTE(A2,":","@",2))))-LEN(LEFT(A2,FIND(":",A2)-1)))&":"&TEXT(RIGHT(A2,LEN(A2)-FIND("@",SUBSTITUTE(A2,":","@",2))),"00") i mewn i gell wag lle rydych chi am allbynnu'r canlyniad, ac yna llusgwch y ddolen llenwi i lawr i'r celloedd rydych chi am gymhwyso'r fformiwla hon, ac mae'r holl fformat amser DD: HH: MM wedi'i drosi i'r fformat amser HH: MM , gweler y screenshot:

doc trosi ddhhmm i oriau 1


swigen dde glas saeth Trosi DD HH: MM: fformat amser SS i funudau yn unig

Os oes angen i chi drosi'r fformat dyddiad DD HH: MM: SS i funudau yn unig, fel trosi 01 23:15:00 (1day, 23hours, 15minutes, 0second) i 2835 munud. Defnyddiwch y fformiwla hon:

Rhowch y fformiwla hon mewn cell wag:

=CONVERT(DATE(1900,1,LEFT(A2,FIND(" ",A2)-1))+TIME(RIGHT(LEFT(A2,FIND(":",A2)-1),FIND(" ",LEFT(A2,FIND(":",A2)-1))),LEFT(RIGHT(A2,LEN(A2)-FIND(":",A2)),FIND(":",RIGHT(A2,LEN(A2)-FIND(":",A2)))-1),RIGHT(A2,LEN(A2)-FIND(":",A2,FIND(":",A2)+1))),"day","mn") ac yna llusgwch y ddolen llenwi i lawr i'r celloedd i gynnwys y fformiwla hon, ac mae'r fformat dyddiad DD HH: MM: SS wedi'i drosi i ddim ond munudau, gweler y screenshot:

doc trosi ddhhmm i oriau 2


Trosi hh: mm: fformat amser ss i oriau / munudau / eiliadau:

Kutools ar gyfer Excel's Amser Trosi gall nodwedd eich helpu chi i drosi fformat amser lluosog i oriau, munudau neu eiliadau fel roeddech chi eisiau. Cliciwch i lawrlwytho a threialu am ddim Kutools ar gyfer Excel nawr!

doc trosi 12 awr i 24 awr 4

Kutools ar gyfer Excel: gyda mwy na 300 o ychwanegiadau Excel defnyddiol, am ddim i geisio heb unrhyw gyfyngiad mewn 30 diwrnod. Dadlwythwch a threial am ddim Nawr!

 

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!

 

Comments (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How would you convert the DD HH:MM:SS formula provided to output minutes if the original format is DD HH:MM instead of DD HH:MM:SS?
This comment was minimized by the moderator on the site
Hello, Caroline
To solve your problem, please apply the below formula:
=1440*(LEFT(A2,FIND(" ",A2)-1)+TIME(MID(A2,FIND(" ",A2)+1,FIND(":",A2)-FIND(" ",A2)-1),MID(A2,FIND(":",A2)+1,2),0))

Please try, hope it can help you!
This comment was minimized by the moderator on the site
I need to convert HH:MM:SS to hours only. It is coming into Excel from our database 3/01/1900 10:00:00 AM which is presenting as 82:00:00. I want this cell to just show 82 as a number. I found a formula using MROUND to achieve this very simply but I have lost the formula now! Any ideas?
This comment was minimized by the moderator on the site
Hello, Caitriona C
To solve your problem, maybe the below formula can help you:
=CONVERT(A2,"day","hr")


Please try, hope it can help you!
This comment was minimized by the moderator on the site
i have hours i need convert to day:hour:mint
This comment was minimized by the moderator on the site
Hi, prem,
To convert hours to dd:hh:mm format, please apply the below formula:
=DAY(A2/24)&":"&MOD(INT(A2),24)&":"&INT(MOD(A2,1)*60)

https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-covert-to-dd-hh-mm.png
Please try, hope it can help you!
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
Hello, Gogara
Sorry, I can't get your point, could you upload a screenshot or attachment to explain your problem?
Thank you!
This comment was minimized by the moderator on the site
I have DD:HH:MM:SS and I want to convert to HH:MM:SS
This comment was minimized by the moderator on the site
I thought the formula for coverting DD:HH:mm:ss looked a little funky. I've been working with Excel for ages and i'm pretty good at getting it to do what I want but have a bit of trouble with data files generated by LANDH systems and need to convert to decimals. SInce I don't know python, my options are limited.

This funky formula did not work for me. The syntax is not like formulae I have used before so I'm just not going to mess with this one. I'm guessing I have to buy something first? I already bought office, that should be sufficient.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations