In his last desperate act before taking a handful of Ambien, M. DeRevere asks:
How can I program a cell to accept time formulas without putting the (:) colons between the numbers… if you could format the cell to accept just number such as 2300 and it formats it as 23:00 it would save me sooooo much time?… HELP
Well hold off on the pills M. Because I’m rockin the Excel skillz , and I happen to know the answer.
M’s question revolves around “military” time (the 24 hour clock). For you civilians out there, 23:00 hours is 11:00 pm in military time. The trick is to apply some custom number formatting.
1. Highlight the column into which you’ll be entering your data.
2. Bring up the Format Cells dialog box and select the Number tab.
3. Choose Custom from the Category list.
4. In the Type field, enter 00\:00
At this point, any number you enter will automatically have a colon inserted into the number (which I suppose is better than having a number inserted into the colon ).
There are other ways to convert numbers to military time using formulas and such. This is probably the easiest way.
I would note that this is not truly a time format so there is nothing stopping anyone from putting something silly in a cell like 3345. But for relieving some of the burden of data entry, this techinque serves the purpose.