Forum Discussion
MrErnie
Nov 06, 2019Copper Contributor
How to convert clock times into hrs and minutes in Excel
Need to convert clock starting time minus clock ending time into decimal hours to calculate pay. Example: 8:15 AM. 4:30 PM. = 8.25 Hrs. times Hour rate
- Nov 06, 2019
If start time is in A1, end time in A2, then "=(A2-A1)*24" will give you a decimal number of the time spent. In my set-up, calculating with dates and times automatically displays a date/time format for the result With your example the result was "6:00 AM". Formatting as a number made it "8.25"
Riny_van_Eekelen
Nov 06, 2019Platinum Contributor
If start time is in A1, end time in A2, then "=(A2-A1)*24" will give you a decimal number of the time spent. In my set-up, calculating with dates and times automatically displays a date/time format for the result With your example the result was "6:00 AM". Formatting as a number made it "8.25"
MrErnie
Nov 06, 2019Copper Contributor
Thank you. That's exactly what I needed.