Change hh:mm to hh.mm

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a simple way change teh hour: minute separator in time formatted
cells(columns) to accept the decimal instead of the:? Data entry would be so
much simpler and quicker using the decimal point.
Suggestions appreciated

Thanks
 
One way of doing this is to enter the decimal number in one column,
then have another column convert your number to a time. Assuming you
want to enter HH.MM in column C, beginning with cell C2, put this
formula in D2:

=VALUE(INT(C2)&":"&MOD(C2,1)*100&":0))

Format the cell as hh:mm and copy the formula down column D. Now you
can enter your times as hours-point-minutes in column C and these will
appear in Excel time format in column D.

Hope this helps.

Pete
 
Change it in Windows Regional Language and Settings.

Delete the : and enter a .


Gord Dibben MS Excel MVP
 
An amendment to my first post.

If you do change the time separator......................

You must always enter time as hh.mm.ss or Excel will interpret as a decimal
number if entered as hh.mm


Gord Dibben MS Excel MVP
 
Thanks pete, this is the best method proposed thus far. I am going to
implement this my spreadsheet. Thanks again.
 
Your suggetstion is by far teh most straight forward. It will fit my stated
plan exactly. Thanks also for the second notice; with that tidbit of data, I
think I will stich with Pete's suggested formula approach. Admittedly I was
looking for a setting, which is exactly where you directed.

As with medicinal drugs sometimes the side-effects outwiegh the benefits. I
think that woul dbe the case in this scenario. This second post certainly
saved me quite a bit of frustration, had I went proceeded.

Thansk for sharing your knowledge!
 
You're welcome - I hope you spotted the mistake in the formula - it
should be:

=VALUE(INT(C2)&":"&MOD(C2,1)*100&":0")

Pete
 
Back
Top