You can check out this page and it will explain the formula and tells you how to calculate for years, months, days, etc. Unfortunately, it doesn't mention anything about calculating times.
For example I would like to calculate in cell E
total hours between the two periods (7/20/08 -07/15/08)+ (23:00-13:00) = 5days and 10 hours = 130 hours
Although this seems as a simple calculation what if my final time in column d is less than the time in Column B, then this equation wouldn't work. How can I get this total time??
Use the formula xld gave you first, you don't subtract the dates and then add the subtracted times, you add the date to each time and subtract those. Format as [h]:mm
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.