Date/Time HELP PLEASE!!!

TroubleMaker

New Member
Joined
May 11, 2002
Messages
12
I have a report that is given to me on a bi-weekly basis. In this report I need to calculate the time difference in time between cell A1: "1/2/02 2:45:00" & B1: "1/2/02 2:46:00" which in this matter is "00:1:00".

I do not have the option of having these separated into date cell and time cell. As there are over 50,000 lines of this, I would like to automate with a formula.

The closest I have got to solving is the following:
=INT(SUM(A1:B2)/0.04166667)&":" &MINUTE(MOD(SUM(A1:B2),1))&":" &SECOND(MOD(SUM(A1:B2),1))

Now this gives me a value of: 1788389:31:0

I believe the date and time being in the same cell is effecting this. I have tried TIMEVALUE however I get a #VALUE error.

Could someone help me out PLEASE?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Unless I'm missing something here?
Put =B1-A1 in whatever cell and format it as
such HH:MM:SS
Tom
 
Upvote 0
Hey,

I have been staring at this too long, thanks for the extra set of eyes!!! This group RoCkS!! I will return the favor in the future.
Thank you for the help!!!
 
Upvote 0

Forum statistics

Threads
1,214,531
Messages
6,120,073
Members
448,943
Latest member
sharmarick

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