{"id":55,"date":"2026-10-10T09:20:00","date_gmt":"2026-10-10T09:20:00","guid":{"rendered":"https:\/\/military-time-chart.org\/blog\/?p=55"},"modified":"2026-10-04T16:38:20","modified_gmt":"2026-10-04T16:38:20","slug":"fix-excel-military-time-formatting-problems","status":"publish","type":"post","link":"https:\/\/military-time-chart.org\/blog\/fix-excel-military-time-formatting-problems\/","title":{"rendered":"Fix Excel Military Time Formatting Problems"},"content":{"rendered":"<p><strong>TL;DR:<\/strong> Cells showing ######## or converting 1430 to decimal 0.59 mean wrong format type. Apply Custom HHMM or convert text to time with VALUE\/TIMEVALUE functions.<\/p>\n<h2>Hash marks column too narrow<\/h2>\n<p>Widen column first\u2014sometimes value correct but display hidden.<\/p>\n<h2>Decimal instead of clock<\/h2>\n<p>0.604166667 is internal fraction\u2014Format Cells \u2192 Time or Custom [h]mm if duration exceeds 24h.<\/p>\n<h2>Text 1430 won&#8217;t sum<\/h2>\n<p>Sum of text gives zero\u2014convert: =TIMEVALUE(LEFT(A1,2)&#038;&#8221;:&#8221;&#038;RIGHT(A1,2)) for HHMM text legacy.<\/p>\n<h2>CSV import stripped leading zero<\/h2>\n<p>800 in CSV\u2014use Power Query pad step or TEXT(A1,&#8221;0000&#8243;) display column.<\/p>\n<h2>Regional semicolon formulas<\/h2>\n<p>EU Excel uses semicolon in TIME function\u2014share locale-aware template not US-only macro.<\/p>\n<h2>Conditional format midnight wrap<\/h2>\n<p>Highlight shifts crossing midnight needs formula (END&lt;START)\u2014not simple greater-than rule.<\/p>\n<h2>Chart axis time scale<\/h2>\n<p>XY chart with time horizontal axis requires true datetime cells\u2014text HHMM charts lie.<\/p>\n<h2>Validate fix batch<\/h2>\n<p>After formula fill, spot five cells against <a href=\"https:\/\/military-time-chart.org\/\">military-time-chart.org<\/a> human reference.<\/p>\n<h2>Protect template<\/h2>\n<p>Lock format cells, allow data entry only in input column\u2014prevent well-meaning manager &#8220;fix&#8221; breaking format.<\/p>\n<h2>Document repair steps<\/h2>\n<p>Wiki page &#8220;roster looks wrong&#8221; \u2192 widen, format, text-to-time flowchart\u2014reduce IT tickets.<\/p>\n<h2>Widen column before panic<\/h2>\n<p>######## may hide correct time\u2014widen first.<\/p>\n<h2>Power Query pad step<\/h2>\n<p>CSV import 800 \u2192 pad to 0800 in transform pipeline.<\/p>\n<h2>Midnight conditional format<\/h2>\n<p>Shift crossing midnight needs (END<START) rule\u2014not naive greater-than.<\/p>\n<h2>Wiki flowchart for staff<\/h2>\n<p>Roster looks wrong \u2192 widen, format, text-to-time\u2014reduce IT tickets.<\/p>\n<h2>Locale semicolon formulas<\/h2>\n<p>EU Excel TIME function separators differ\u2014share locale-aware template.<\/p>\n<p><!-- appendix-start --><\/p>\n<h2>Hash marks that hide a real 18:45<\/h2>\n<p>A cell full of hash marks often means the column is narrower than the formatted time. 18:45 can be sitting underneath, correct and invisible. Widen the column before you touch the value. If widening reveals 18:45, you are done with that cell. If widening reveals a date in 1900 or a fraction, you have a value problem and the width was a coincidence. The order is widen, look, then decide. Re-entering 18:45 into a hash-mark cell without looking will overwrite a good value with whatever you remember.<\/p>\n<p>Check the neighbor cell 12:00 the same way. A column that hashes 18:45 and shows 12:00 is narrow for the longer display, not corrupt. A column that hashes both is either extremely narrow or actually broken. The pair tells you which. One cell cannot.<\/p>\n<h2>Fraction 0.78125 that should be 18:45<\/h2>\n<p>Excel stores 18:45 as a fraction of a day. 18.75 hours divided by 24 is 0.78125. If you see 0.78125, format as time before you assume the sheet forgot the appointment. The appointment may be there. A coworker who &#8220;corrects&#8221; 0.78125 by typing 1845 as text has destroyed a real time and left a label. Format first. The format you want shows 18:45. Then lock the format so the next paste does not bring General back.<\/p>\n<p>Keep a note in the header: &#8220;0.78125 is 18:45, do not retype.&#8221; People fear fractions and they retype. The note is for them. It can cite one example only. A note that lists every fraction is a second spreadsheet. One example teaches the pattern.<\/p>\n<h2>CSV that turned 08:05 into 8:05 and then into 805<\/h2>\n<p>A CSV export may strip the leading zero, and a later import may strip the colon, leaving 805. 0805 is five minutes past eight in the morning. 805 is a three-digit string that will sort badly and may be read as 8:05 or as 20:05 by two different importers. Restore the zero in a text pass that checks length. Four digits, or a colon form with a leading zero. Reject 805 into a quarantine column. Do not auto-guess. Guessing is how half the rows become evening.<\/p>\n<p>The quarantine check is a known morning: the source had 08:05, the file should not contain 805 or 8:05 without a leading zero if your standard is four digits. One known row earns the right to quarantine the rest. A quarantine with no known row is a pile.<\/p>\n<h2>Chart axis that plots text 1845 at the wrong x<\/h2>\n<p>A chart built on text stamps will plot &#8220;1845&#8221; near &#8220;1900&#8221; in alphabetical space, which might look fine, and will plot &#8220;900&#8221; in a ridiculous place. Convert the axis to real times, then check that 18:45 sits after 12:00 and before 21:00. If the point for 18:45 appears before noon, the axis is still text or the value is still a fraction being read as a day count in the wrong unit. Fix the axis source. Do not drag the point. A dragged point is fan fiction.<\/p>\n<h2>Quarantine tab named 805-needs-a-zero<\/h2>\n<p>The quarantine tab should be named for the failure, &#8220;805-needs-a-zero,&#8221; not &#8220;misc&#8221; and not &#8220;fixed.&#8221; 805 is the three-digit leftover of 08:05. A name that states the repair tells the next person what not to do. They must not add a trailing zero. They must add a leading zero or restore the colon form, then move the row back only after 0805 or 08:05 survives a reload.<\/p>\n<p>Count the quarantine before and after the repair. If you started with forty rows and ended with forty in the live sheet plus six still quarantined, say so. A repair that &#8220;clears the tab&#8221; by deleting the six is not a repair. Those six are still someone&#8217;s morning. 08:05 is one of them. Deleting it makes the sheet look obedient and the yard late.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Stop dates from swallowing time values in spreadsheet cells.<\/p>\n","protected":false},"author":1,"featured_media":14,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-troubleshooting-tips"],"_links":{"self":[{"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":6,"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":186,"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions\/186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/media\/14"}],"wp:attachment":[{"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/military-time-chart.org\/blog\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}