Working with time formats

Goodspeed

New Member
Joined
Sep 24, 2006
Messages
32
Hello,

I am trying to find a way to either import my data, preformat cells or reformat cells in order to display the 0 that would display in the "hour" area of a time display when that time is less than 1 hour. I import quite a bit of "time" data into excel and it is often in increments that are less than a hour, for example; :37:15 = thirty seven minutes and fifteen seconds. When I want to sum these types of entries though excel interprets the total as a time which is not what I need. I find though that when I add the 0 in the hour area of the time it does total the times correctly. For example 0:37:15 + 0:24:07 = 1:01:22 whereas if I try to add :37:15 + :24:07 = I get 0:00:00 as if excel doesn't know what to do with it? Does anyone have any ideas on how I could overcome this?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
you could create a macro or run a second column that uses the formula like:-
=IF(LEFT(A1)=":",VALUE("0"&A1),A1)
 
Upvote 0

Forum statistics

Threads
1,215,009
Messages
6,122,674
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top