Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=TEXT(A2/24,"hh:mm AM/PM")Computed by a real spreadsheet engine on the sample data below.
| Military Time |
| 1430 |
| 0945 |
| 2359 |
| 0000 |
=TEXT(A2/24,"hh:mm AM/PM")→02:00 PM
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Enter the time as a four-digit number (e.g., 1430 for 2:30 PM) and use the same formula.
Yes, but first remove the colon or replace it with nothing using a formula like SUBSTITUTE(A2,":","") before applying the conversion formula.
Excel and Google Sheets treat dates and times as numbers, where one represents a full day. Dividing by 24 converts the hours into a fraction of a day.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: