Time Calculation -

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
Need help in a time calculation.

Is there a formula or Macro that i can use in a worksheet to calculate time over a period. Plus if it gose over the 24 hour period (in to another date) can that also be calculated in hours also.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
Hi NEWXL:

Welcome to the Board!

Supplementing ylijohe's recommendation, look at the simple worksheet simulation, which shows the Hoursworked computed from subtracting the Begin time from the End Time, and a couple of examples where the End time goes into the following day.
Book1
ABCD
1BeginEndHoursWorked
27:00AM4:00PM9:00:00
311:00PM9:00AM10:00:00
410/3/0223:0010/5/0216:0041:00:00
5
6entriesCUSTOMFORMATEDas[hh]:mm:ss
7
8
Sheet5
</SPAN>

Regards!

Yogi
 

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
Thank you all for you replies..

But I am still having a little problem getting my head around this.

If the time line run's on through several days. I.e
Start time 07:00 in on box and 07:05 in the other box, but 2 days later. Would this be possible and can you point me in the right direction..

again Many thank for you input.
 

Forum statistics

Threads
1,144,219
Messages
5,723,076
Members
422,477
Latest member
pete101

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
Top