Share via

Excel 24 hour clock format

Anonymous
2016-12-29T05:08:34+00:00

Hi, 

My time sheet is done on excel and I am hoping needing some assistance with the 24 hour formatting. When I enter my start time as 08:00 I have to enter the colon. Is there a way that I could type "0800" (for example) and have it displayed "08:00" (with the colon input automatically?

I thought I could format the cell in the "number" tab > Custom > then enter "hh:mm" as the format default. However, if I select this option, enter 0800, it displays as 00:00 in the cell. When I highlight the cell it has the following displayed: " 10/03/1902  12:00:00 a.m." Can anyone help with this?

Thanks for any help,

Ben

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2016-12-29T07:11:11+00:00

To enter the time 8:00 as 800 or 0800 requires VBA code, there is no way to make Excel recognize it by itself. See the second part of http://www.cpearson.com/Excel/DateTimeEntry.htm

You will have to modify the code for your setup.

Was this answer helpful?

3 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful