Skip i'r prif gynnwys

Sut i ddangos amser gyda milieiliadau yn Excel?

Er enghraifft, mae amser wedi'i recordio yn cynnwys milieiliadau, fel 10: 33: 50.235. Pan fyddaf yn teipio'r amser hwn i mewn i gell yn Excel, mae'r amser yn dangos fel 33: 50.2. Ar ôl newid i'r fformat amser, mae'r amser yn dangos fel 10:33:50 AM gyda milieiliadau'n diflannu. A oes unrhyw ffordd i ddangos amser fel arfer gyda'r milieiliadau sy'n weddill yn Excel? Ydy, bydd y dull canlynol yn eich helpu i'w ddatrys yn hawdd.

Dangoswch amser gyda milieiliadau yn ôl Fformat Celloedd yn Excel


Dangoswch amser gyda milieiliadau yn ôl Fformat Celloedd yn Excel

Bydd y dull hwn yn eich arwain trwy greu fformat amser wedi'i deilwra i ddangos amser gyda milieiliadau yn Excel. Gwnewch fel a ganlyn:

1. Dewiswch y celloedd amser y byddwch chi'n dangos amser gyda milieiliadau, cliciwch ar y dde a dewiswch y Celloedd Fformat o'r ddewislen clicio ar y dde. Gweler y screenshot:

2. Yn y blwch deialog agoriadol Celloedd Fformat, ewch i Nifer tab, cliciwch i dynnu sylw at y Custom yn y Categori blwch, ac yna teipiwch y cod fformat hh: mm: ss.000 i mewn i'r math blwch.

3. Cliciwch y OK botwm. Yna fe welwch fod y milieiliadau yn dangos gydag amser fel y dangosir isod y screenshot:

Awgrym: Arbedwch yr amser wedi'i fformatio fel cofnod Auto Text, ac ailddefnyddio ei fformatio yn y dyfodol yn hawdd
Fel arfer gallwn gymhwyso fformat arfer ar gyfer celloedd gydag ychwanegu cod fformat arfer yn y blwch deialog Format Cell yn Excel. Fodd bynnag, dim ond yn y llyfr gwaith hwn y caiff y cod fformat arferol hwn ei gadw, ac ni allwn gymhwyso'r fformat arferol mewn llyfrau gwaith eraill yn uniongyrchol. Kutools ar gyfer Excel's Testun Auto mae cyfleustodau yn ein galluogi i arbed data / cell wedi'i fformatio fel cofnod Testun Auto, fel y gallwn gopïo ei fformat wedi'i deilwra i ystodau eraill o unrhyw lyfrau gwaith yn uniongyrchol.


amser fformat testun ad auto


Demo: Dangos amser gyda milieiliadau yn Excel


Kutools ar gyfer Excel: Dros 300 o offer defnyddiol ar flaenau eich bysedd! Dechreuwch eich treial am ddim 30 diwrnod heb unrhyw gyfyngiadau nodwedd heddiw. Lawrlwytho Nawr!

Erthyglau cysylltiedig:

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 (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hallo,

ich brauch die Uhrzeit in Millisekunden als statischen Wert. Excel gibt mit der Tastenkombination (command + shift + Semikolon) die Uhrzeit statisch aus. Allerdings mit den Werten 00,000 für Sekunden und Millisekunden. Kennt jemand eine Lösung für dieses Problem? Die Eingabe von statischen Zeitwerten müsste relativ schnell geschehen (ca. 100 Werte innerhalb von 30-40 Minuten).

Tino
This comment was minimized by the moderator on the site
Hi there,

As far as I know, you cannot show milliseconds with the shorcut key. You can use the VBA method below:

1. Select the cell where you want to show the time in milliseconds, and then press Ctrl + 1 to open the Format Cells dialog.
2. Select Custom, and copy and paste hh:mm:ss.000 in the Type input box. Then click on OK to close the dialog.
https://www.extendoffice.com/images/stories/comments/ljy-picture/milliseconds.png
3. Press Alt + F11 to open the VBA window, and then click Insert > Module.
4. Copy and paste the following code into the module window.
Sub TimeStamp()
'Update by ExtendOffice 20220902
    ActiveCell.Value = Format(Now, "hh:mm:ss") & Right(Format(Timer, "0.000"), 4)
End Sub

5. Click F5 to run the code.

Hope this could help you 🙂

Amanda
This comment was minimized by the moderator on the site
I need 6 digits of precision, but "hh:mm:ss.000000" throws an error "Microsoft Excel cannot use the number format you typed"
How to I get 6 digits of milliseconds?
This comment was minimized by the moderator on the site
Hi there, instead of formatting the cell as a time, you should format it as text to show more then 3 digits of milliseconds:

1. Select the cell range where you will input thoses times with more then 3 digits of milliseconds.
2. Press Ctrl + 1 to open the Format Cells.
3. On Number tab, select Text in the Category list. Then click OK.
4. Enter the times in these cells.

Amanda
This comment was minimized by the moderator on the site
...but when you go back to edit the number in the formula bar, the milliseconds are gone (as shown in video). That makes editing very difficult.
Our local format is "mm:ss,000" (not using hours in this case). When I enter number "00:40,123" it displays correctly in the cell, but in the fomula bar it shows "00:00:40". If I enter the formula bar and hit enter, the number in the cell then displays "00:40,000" - losing those crucial milliseconds. I have yet to find a reason, or even more important - a solution.
This comment was minimized by the moderator on the site
Something to watch out for: in some locales it won't work if you use this exact solution. In my version you need to use the format "uu:mm:ss,000" (that's a comma instead of a decimal point, and u is for "uren", dutch for hours).
Not sure whether it has to do with windows version, windows language, windows regional settings, used locale or office version.

For those of you who still want to show a decimal instead of a comma (like me), you can use this workaround (if your value is in cell A1)

=SUBSTITUTE(TEXT(A1;"uu:mm:ss,000");",";".")

Or adapt where necessary for your locale.
This comment was minimized by the moderator on the site
Thanks very much for this.
This comment was minimized by the moderator on the site
Thank you for this information. I need to enter times as per a stop watch in minutes, seconds and hundredths eg 1.23.56. I then need to calculate time differences which can be positive or negative. I get an error if negative and it shows #######. Ideally I would like to enter using . rather than : as I have a larger number of times to enter.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations