Mastering Google Sheets 24-Hour Time Format: A Practical Guide
Master the Google Sheets 24-hour time format with practical steps, formulas, and formatting tips to ensure consistent, locale-aware time displays across datasets and reports.

By the end of this guide, you’ll display and work with times in the 24-hour format in Google Sheets. According to How To Sheets, you’ll use TEXT, TIMEVALUE, and custom number formats, and you’ll learn how to convert data and validate results to keep times consistent across locales and datasets. This quick overview sets up the deeper steps in the article today.
Why the 24-Hour Time Format Matters
In data tasks inside Google Sheets, time data is incredibly common—hours worked, appointment schedules, or timestamps for events. Using a true 24-hour time format (HH:mm) reduces confusion between morning and afternoon, especially when data travels across teams in different locales. The 24-hour standard also simplifies calculations of time differences, durations, and comparisons, since there is no arbitrary AM/PM boundary to interpret. For organizations tracking global teams or coordinating across time zones, consistent 24-hour display is a practical baseline. According to How To Sheets, establishing a single, unambiguous time representation at the start of a project pays dividends in reporting accuracy and downstream analytics. Beyond readability, 24-hour formats help when you export data to other systems that expect a numeric time value rather than a string with AM/PM. In short, if you want clean, reliable time data in Google Sheets, adopting the 24-hour time format is the foundational step.
Key takeaway: a standardized time format improves sorting, filtering, and cross‑team data integrity, especially when datasets move between locales.
Quick notes on Google Sheets time handling
Google Sheets stores time as a numeric value: the integer portion represents days since a base date, while the fractional portion represents the time of day. Displaying this value in 24-hour format uses a pattern like HH:mm, removing ambiguity between morning and afternoon. When you apply the 24-hour pattern, Sheets shows hours from 00 to 23, minutes from 00 to 59, and, if needed, seconds with HH:mm:ss. This behavior is locale-aware but can be overridden with explicit formatting, ensuring the google sheets 24 hour time format remains consistent across sheets and exports. As you practice with sample data, you’ll see that underlying values stay numeric even when you switch display formats. The How To Sheets team emphasizes testing with representative data to verify that the format behaves as expected in downstream tasks.
Tip: Always test with edge cases like 00:00 and 23:59 to confirm correct formatting and calculations.
How to enter 24-hour times correctly
To enter a 24-hour time, type 13:45 or 23:59 in a cell. Don’t add AM or PM. If you see 13:45 as 1:45 PM, you likely have a 12-hour display setting or your locale uses a nonstandard separator; fix this by applying a 24-hour format. If your data is not recognized as time, Sheets will show as decimal numbers or text. In that case, re-enter using a formula or adjust the locale Settings to a 24-hour time preference. For consistency, prefer entering times with two digits for hours and minutes, and avoid extraneous text. If you copy times from another document, paste as values and then apply 24-hour formatting to ensure uniform results.
Pro tip: Use a dedicated “Time” column with data validation to prevent invalid entries like 24:60.
Using TEXT to display 24-hour times
In many cases the raw time value isn't already formatted the way you want. The TEXT function is a reliable way to present times in a 24-hour format while preserving the numeric value for calculations. Example: =TEXT(A2, "HH:mm") will display 0:15 as 00:15 and 13:45 as 13:45. If you also need seconds, use =TEXT(A2, "HH:mm:ss"). When you combine TEXT with TIMEVALUE and/or VALUE, you can convert strings like '1:30 PM' into true time values, then reformat with HH:mm. Remember that TEXT returns text, which is fine for display but means you should avoid using it directly in subsequent numeric calculations without converting back to a time value.
Note: If you need the result for further math, keep the original time in a numeric form and generate a separate display column with TEXT.
Converting existing data to 24-hour format
Suppose your data includes times as text, like '9:05' or '2:30 PM'. Use TIMEVALUE to interpret the string as a time, then format for display: =TEXT(TIMEVALUE(A2), "HH:mm"). If the data already contains date-time stamps, you can isolate the time portion with TEXT or by using MOD to strip the date: =TEXT(MOD(A2, 1), "HH:mm"). For inconsistent inputs, wrap TIMEVALUE in IFERROR to avoid errors: =IFERROR(TEXT(TIMEVALUE(A2), "HH:mm"), A2). This approach yields a consistent google sheets 24 hour time format across your dataset.
Best practice: Normalize input via a transformation column before applying final formatting.
Formatting options to enforce 24-hour display
Google Sheets lets you enforce 24-hour display in several ways. The simplest is a custom number format: Format > Number > More formats > Custom number format, then enter HH:mm. For durations, consider HH:mm; for including seconds use HH:mm:ss. If you want to ensure leading zeros, always use HH (not H). When sharing across locales, keep the data in a time numeric type (not text) to preserve calculations. You can also apply conditional formatting to highlight times that fall outside expected ranges, helping you spot data-entry errors quickly.
Quick setup steps: Menu > Format > Number > Custom number format > enter HH:mm and click Apply.
Handling locales and time zones
Locale settings influence separators and, in some cases, the default time interpretation. Google Sheets will typically follow the locale’s conventions for entering and displaying times, so you may see 24-hour times rendered differently if a sheet is shared across regions. To guarantee consistency, rely on explicit formatting with HH:mm, and avoid relying on the default regional formats for critical datasets. Time zones matter when you compare or convert timestamps from different systems; use functions like TIMEVALUE and TIME or adjust with UTC offsets as needed. The How To Sheets team emphasizes validating time data across time zones to prevent subtle errors in scheduling, budgeting, or reporting.
Practical tip: When sharing sheets internationally, document the time format standard in a Notes/about section so collaborators apply the same rules.
Practical examples and templates
Time-tracking template: A simple project timesheet with columns for Start, Break, End. Enter times as 13:00, 13:15, 17:30 and format all three columns with HH:mm. Then create a Duration column using =TEXT(B2-A2, "HH:mm") or =TEXT(C2-B2, "HH:mm") to show elapsed time. Global schedule: Use a shared sheet with employees in column A and daily start times in columns B–F. Apply HH:mm to display start times; use hours worked as =C2-D2. Export-ready data: If you need to export to a system expecting 24-hour times, keep the data as numbers and only display HH:mm when exporting or using CONCAT with a timezone-adjusted time string. These templates demonstrate practical uses of google sheets 24 hour time format in real scenarios.
Template notes: Customize columns to reflect your workflow and add data validation to enforce 24-hour input.
Troubleshooting common issues
When times show as decimals, you likely have not applied a proper time format or your input was not recognized as time. Use TIMEVALUE or convert with TEXT to ensure the display is HH:mm. If you see 00:00 or 24:00, re-check for 24-hour formatting vs 12-hour inputs. If TEXT returns a string that breaks calculations, convert back to a time value using TIMEVALUE. Finally, when sharing, remind collaborators to adjust their locale settings if necessary.
Edge cases: Ensure that time differences crossing midnight are calculated with care (e.g., duration from 22:00 to 02:00 should be 4:00, not -20:00).
Tools & Materials
- Computer or device with internet access(Chrome/Firefox preferred; Google Sheets access required)
- Google account(Required to save/edit Sheets in Drive)
- Google Sheets access (web or mobile app)(Use the latest version for best formatting support)
- Test data sheet or sample file(Create a small dataset to practice 24-hour formatting)
- Locale/timezone reference (optional)(Helpful for cross-region testing)
- Optional: time converter note sheet(Nice to have for bulk TIMEVALUE conversions)
Steps
Estimated time: 25-40 minutes
- 1
Open the target sheet
Open the Google Sheets document you will work on and confirm you have editing permissions. If you’re testing, start with a copy to avoid altering the original data.
Tip: Create a duplicate sheet before implementing formats to protect data integrity. - 2
Identify time data types
Scan the column to determine if values are numeric times, text, or mixed. Use ISNUMBER to quickly verify a value’s type, which informs whether you should convert or reformat.
Tip: If values look like times but aren’t recognized, you’ll need to convert them with TIMEVALUE. - 3
Enter times in 24-hour format
Type times using HH:mm, for example 13:45 or 23:59. Ensure you do not append AM/PM, which can trigger unintended formatting.
Tip: For data integrity, require two-digit hours and minutes. - 4
Apply 24-hour display via formatting
Format the cells with a 24-hour pattern: HH:mm. This enforces consistent display across the sheet and downstream exports.
Tip: Use a single, shared format across all time columns. - 5
Convert existing data to 24-hour format
If data is text, convert with =TEXT(TIMEVALUE(A2), "HH:mm"). For date-time stamps, isolate the time with =TEXT(MOD(A2,1), "HH:mm").
Tip: Wrap conversions in IFERROR to handle non-time inputs gracefully. - 6
Validate results with sample calculations
Check durations and differences by subtracting times (e.g., End-Start) and formatting with HH:mm to confirm correct durations.
Tip: Remember that time math may wrap past midnight; handle with +1 day when needed. - 7
Copy down and test across the sheet
Drag the formatted cells or use array formulas to apply 24-hour formatting to entire columns. Validate edge cases like 00:00 and 23:59.
Tip: Always test a few row variations after applying a global format. - 8
Export or share with consistent time display
When exporting, keep times as numbers and use a display column with TEXT(HH:mm) for reports or exports that require text.
Tip: Document the format standard for collaborators to avoid drift.
FAQ
What is the correct 24-hour format token in Google Sheets?
The correct token is HH, which renders hours as 00–23. Use formats like HH:mm or HH:mm:ss to include minutes or seconds. This ensures a true 24-hour display regardless of locale.
Use HH for hours 00 to 23, and add :mm or :ss for minutes or seconds.
How do I convert 12-hour times to 24-hour in Sheets?
Convert by first turning the text into a time value with TIMEVALUE, then display with TEXT(..., "HH:mm"). If your data already includes AM/PM, this approach preserves the numeric value while enforcing 24-hour formatting.
Convert with TIMEVALUE and then format using HH:mm.
Why is my time displaying as decimals in Sheets?
Decimals appear when the cell is formatted as Number instead of Time or when the input isn’t recognized as a time value. Apply a time format like HH:mm or convert the input using TIMEVALUE.
Switch the cell formatting to Time (HH:mm) or convert the value first.
Can I apply 24-hour formatting to an entire column quickly?
Yes. Select the column, apply a custom number format of HH:mm (or HH:mm:ss) in the Format menu, and ensure underlying values are time numerics. This enforces consistency across the whole column.
Yes—format the column with HH:mm to apply 24-hour display to all cells.
Does locale affect 24-hour formatting in Google Sheets?
Locale can influence input conventions and separators, but explicit formatting with HH:mm overrides defaults for display. Use HH:mm to ensure consistent results across regions.
Locale may affect input, but HH:mm keeps display consistent.
What should I do when a time value includes a date?
If a date-time stamp exists, you can extract the time portion with =TEXT(MOD(A2,1),"HH:mm"). This preserves the date component for other calculations while showing a 24-hour time for display.
Isolate time with MOD or TIMEVALUE and format with HH:mm.
Watch Video
The Essentials
- Use HH:mm for true 24-hour display
- Convert strings with TIMEVALUE before formatting
- Lock 24-hour display with a custom number format
- Be mindful of locale differences when entering times
- Test edge cases like 00:00 and 23:59
