Hours format

garcost

New Member
Joined
Nov 16, 2005
Messages
2
I have a file that I want to load into Access and I can't figure out one of the columns. The column in question is suppose to display an amount in hours. Ie. 84:08:00. Which it does, but when I click on the cell I see a date and time format. Ie. 1/3/1900 12:08:00 PM.

If I try to load the file into Access it loads the data in the date and time format. I really want to see 84:08. Can anyone explain how I can convert the data, and how is Excel reading the data this way.

Many thanks.

GC
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
I don't know about Access but because Excel's calendar starts at 1st January 1900

1/3/1900 12:08:00 PM

represents 3 days, 12 hours and 8 mins, i.e. your original 84:08

In Excel you could simply reformat a cell showing

1/3/1900 12:08:00 PM

with a custom format of [h]:mm and it will display 84:08, can you do the same in access?
 
Upvote 0

Forum statistics

Threads
1,203,356
Messages
6,054,932
Members
444,759
Latest member
TeckTeck

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