Přejít k hlavnímu obsahu

Jak zobrazit čas s milisekundami v aplikaci Excel?

Například zaznamenaný čas obsahuje milisekundy, například 10: 33: 50.235. Když zadám tento čas do buňky v aplikaci Excel, čas se zobrazí jako 33: 50.2. Po změně na formát času se čas zobrazí jako 10:33:50 dopoledne a milisekundy zmizí. Existuje nějaký způsob, jak normálně zobrazit čas se zbývajícími milisekundami v aplikaci Excel? Ano, následující metoda vám to pomůže snadno vyřešit.

Zobrazit čas s milisekundami podle funkce Formát buněk v aplikaci Excel


Zobrazit čas s milisekundami podle funkce Formát buněk v aplikaci Excel

Tato metoda vás provede vytvořením vlastního formátu času pro zobrazení času s milisekundami v aplikaci Excel. Postupujte prosím následovně:

1. Vyberte časové buňky, které budou zobrazovat čas v milisekundách, klikněte pravým tlačítkem a vyberte ikonu Formát buněk z nabídky pravého tlačítka myši. Viz screenshot:

2. V úvodním dialogovém okně Formát buněk přejděte na Číslo Na kartě zvýrazněte ikonu Zvyk v Kategorie pole a poté zadejte formátovací kód hh: mm: ss.000 do Styl box.

3, Klepněte na tlačítko OK knoflík. Pak uvidíte, že se milisekundy zobrazují s časem, jak je uvedeno níže:

Tip: Uložte formátovaný čas jako automatický textový vstup a v budoucnu jeho formátování znovu použijte snadno
Normálně můžeme použít vlastní formát pro buňky přidáním kódu vlastního formátu v dialogovém okně Formátovat buňku v aplikaci Excel. Tento kód vlastního formátu je však uložen pouze v tomto sešitu a nemůžeme přímo použít vlastní formát v jiných sešitech. Kutools pro Excel Automatický text nástroj nám umožňuje uložit naformátovaná data / buňku jako položku automatického textu, abychom mohli přímo zkopírovat její vlastní formát do jiných rozsahů jakýchkoli sešitů.


čas automatického formátu textu reklamy


Ukázka: Zobrazit čas s milisekundami v aplikaci Excel


Kutools pro Excel: Více než 300 užitečných nástrojů na dosah ruky! Začněte svou 30denní bezplatnou zkušební verzi bez omezení funkcí ještě dnes. Stáhnout nyní!

Související články:

Nejlepší nástroje pro produktivitu v kanceláři

🤖 Kutools AI asistent: Revoluční analýza dat založená na: Inteligentní provedení   |  Generovat kód  |  Vytvořte vlastní vzorce  |  Analyzujte data a generujte grafy  |  Vyvolejte funkce Kutools...
Populární funkce: Najít, zvýraznit nebo identifikovat duplikáty   |  Odstranit prázdné řádky   |  Kombinujte sloupce nebo buňky bez ztráty dat   |   Kolo bez vzorce ...
Super vyhledávání: Více kritérií VLookup    VLookup s více hodnotami  |   VLookup na více listech   |   Fuzzy vyhledávání ....
Pokročilý rozevírací seznam: Rychle vytvořte rozevírací seznam   |  Závislý rozbalovací seznam   |  Vícenásobný výběr rozevíracího seznamu ....
Správce sloupců: Přidejte konkrétní počet sloupců  |  Přesunout sloupce  |  Přepnout stav viditelnosti skrytých sloupců  |  Porovnejte rozsahy a sloupce ...
Doporučené funkce: Zaměření mřížky   |  Návrhové zobrazení   |   Velký Formula Bar    Správce sešitů a listů   |  Knihovna zdrojů (Automatický text)   |  Výběr data   |  Zkombinujte pracovní listy   |  Šifrovat/dešifrovat buňky    Odesílat e-maily podle seznamu   |  Super filtr   |   Speciální filtr (filtr tučné/kurzíva/přeškrtnuté...) ...
Top 15 sad nástrojů12 Text Tools (doplnit text, Odebrat znaky, ...)   |   50+ Graf Typ nemovitosti (Ganttův diagram, ...)   |   40+ Praktické Vzorce (Vypočítejte věk na základě narozenin, ...)   |   19 Vložení Tools (Vložte QR kód, Vložit obrázek z cesty, ...)   |   12 Konverze Tools (Čísla na slova, Přepočet měny, ...)   |   7 Sloučit a rozdělit Tools (Pokročilé kombinování řádků, Rozdělit buňky, ...)   |   ... a více

Rozšiřte své dovednosti Excel pomocí Kutools pro Excel a zažijte efektivitu jako nikdy předtím. Kutools for Excel nabízí více než 300 pokročilých funkcí pro zvýšení produktivity a úsporu času.  Kliknutím sem získáte funkci, kterou nejvíce potřebujete...

Popis


Office Tab přináší do Office rozhraní s kartami a usnadňuje vám práci

  • Povolte úpravy a čtení na kartách ve Wordu, Excelu, PowerPointu, Publisher, Access, Visio a Project.
  • Otevřete a vytvořte více dokumentů na nových kartách ve stejném okně, nikoli v nových oknech.
  • Zvyšuje vaši produktivitu o 50%a snižuje stovky kliknutí myší každý den!
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