Timesheet - Total time

itsgrady

Board Regular
Joined
Sep 11, 2022
Messages
115
Office Version
  1. 2021
Platform
  1. Windows
  2. MacOS
I have a form (a timesheet) that I need to find the difference between two times--a start time and an end time. These two times can be a max of 16 hours and can be over two different days. The total needs to be a number like 11.5 for 11 hours and 30 minutes of work.

The biggest problem is only have one date. For an example: On 11/01/22 the person worked from 6:00PM to 6:00AM the next day for a total of 12 hours. I need to be able to type:

1 Date: 11/02/22
Start Time: 6:00 PM
End Time: 6:00 AM
Total: Need the calculation in a number - 12
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Try:
Book1
AB
1Date11/2/2022
2Start6:00 PM
3End5:30 AM
411.5
Sheet3
Cell Formulas
RangeFormula
B4B4=MOD(B3-B2,1)*24
 
Upvote 0
Solution

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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