Time Elapse

Nucjpra

New Member
Joined
Sep 5, 2002
Messages
2
I am trying to set up a start time and end time worksheet to calculate total hours between evolutions. When I put my start date in A2 and my end time in B2 the difference I get is 7 hours. The time I am using is start 0900am (8/2/02) and end 1600 (8/3/02). This should be a difference of 31 hours in reality. Cannot get it to work in excel. Please help
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

elgringo56

Well-known Member
Joined
Apr 15, 2002
Messages
869
This is dirty, but it works. Format Cells A1 thru E1 for numbers. In cell A1, enter 1 for day 1. In B1 enter the time as a decimal number, ie 9:00=9, 9:30=9.5. In Cell C1 enter the stop day as day 1, 2, 3 etc. In Cell D1 enter the time again as a decimal number. In Cell E1 enter the formula =((C2-A2)*24)+(D2-B2) The answer will be in the number of hours worked
 

Yogi Anand

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

Welcome to the Board!

The result cell should be Custom Formated as [h]:mm:ss ... see the worksheet simulation
y020907.xls
ABCD
1
28/2/029:008/3/0216:0031:00:00
3CellC2shouldhaveCustomFormat[h]:mm:ss
4
Sheet2
</SPAN>

Regards!

Yogi
This message was edited by Yogi Anand on 2002-09-06 23:02
 

Nucjpra

New Member
Joined
Sep 5, 2002
Messages
2
Thansk Yogi and the others for the splendid information. Keep excelling!!!!
 

Watch MrExcel Video

Forum statistics

Threads
1,133,244
Messages
5,657,586
Members
418,401
Latest member
B_A_M155

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