Over 24:00 problem

ClimoC

Well-known Member
Joined
Aug 21, 2009
Messages
584
I know what someone is going to think... "[h]:mm:ss"

That's not the problem.

The finished sheet is a file for importing to third party software. It doesn't handle the "01/01/1900" that is appended to the time when it goes passed 24hrs.

Hundreds of lines of code, do not want to remove them manually.

How can I remove the "01/01/1900" from the cell value?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
If you want only the time remainder then use MOD

=MOD(calculation,1)

that will get rid of excess hours...

If you want the value as a text string then use the TEXT function

=TEXT(calculation,"[hh]:mm:ss")
 
Upvote 0
As a number 36:00 is 1.5 ... whichever way you look at it... if you're using VBA you might perhaps want to use .Text as opposed to .Value ... this would extract 36:00 as 36:00 rather than 1.5

I confess I have little idea as to what it is you're actually looking to do.
 
Upvote 0
Its ok. I didn't think the import script would've been a problem with the time/date. Turns out something else was the error. All is well.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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