Entering times quickly, without having to use a colon to separate hours and minutes.
Solution:
Use the TIMEVALUE, IF, LEFT, and RIGHT functions as shown in the following formula:
=TIMEVALUE(IF(A2<1000, LEFT(A2,1),LEFT(A2,2))&":"&RIGHT(A2,2))
Enter the above formula in column B and format the cells as "hh:mm".
The formula will convert each numerical value in column A to a properly formatted time value.
enter HH:MM:SS quickly
Keith wrote on December 31, 1969 19:00 EST
Format A cells as Number/Custom 000000
Format B cells as General
Enter times 15:34:56 as 153456, 7:23:45 as 72345
Formula in B =
=MID(B4+10000000,3,2)&":"&MID(B4+10000000,5,2)&":"&RIGHT(B4,2)
enter HH:MM:SS quickly
Keith wrote on December 31, 1969 19:00 EST
Format A cells as Number/Custom 000000
Format B cells as General
Enter times 15:34:56 as 153456, 7:23:45 as 72345
Formula in B =
=MID(B4+10000000,3,2)&":"&MID(B4+10000000,5,2)&":"&RIGHT(B4,2)
Enter HHMMSS quickly
redchequer wrote on August 25, 2005 00:31 EST
Format A as Number/Custom 000000
Formar B as General
Enter times in A 15:45:12 as 154512, 7:56:45 as 75645
Formula in B =
=MID(B4+10000000,3,2)&":"&MID(B4+10000000,5,2)&":"&RIGHT(B4,2)
Reply: redchequer
Alan wrote on August 29, 2005 01:56 EST
Hi redchequer,
[QUOTE=redchequer]Format A as Number/Custom 000000
Formar B as General
Enter times in A 15:45:12 as 154512, 7:56:45 as 75645
Formula in B =
=MID(B4+10000000,3,2)&":"&MID(B4+10000000,5,2)&":"&RIGHT(B4,2)[/QUOTE]Is there a typo in there? This doesn't seem to work.
Terms
and Conditions of use
The applications/code on this site are distributed as is and without warranties
or liability. In no event shall the owner of the copyrights, or the authors
of the applications/code be liable for any loss of profit, any problems
or any damage resulting from the use or evaluation of the applications/code.