Locked lesson.
About this lesson
We examine a timesheet and a payroll calculation to illustrate time as part number, how to format time, and how to calculate gross pay based on time and an hourly rate.
Quick reference
Time Calculations and Format
Understand how Excel deals with time and how to use time in calculations.
When to use
This exercise uses a timesheet to show how to display time and use time in calculations.
Instructions
- One day in Excel = 1 serial number, so 1 day = 24 hours
- 1 Hour is therefore 1/24 (0.041666) day
- 12 Hours are 12/24 or 1/2 (0.5) days
- If 12 hours have passed in a day (12pm), then the day has progressed ½ way (0.5)
- If you use 12 hours in a calculation, Excel uses 0.5 in the calculation, so you will have to adjust for that
- Formatting times change the way time is displayed not “remembered” by Excel
- If you use time in a calculation, let’s say a time calculation on a timesheet adds 30 hours worked. Excel displays 1.25 – which is correct, because 1.25 x 24 = 30. To show these cumulative hours if you want to use it as hours in a calculation, go to Home tab, Number grouping, Format options box, Custom format the number to “[h]:mm” – which will show you the cumulative hours of 30
- Remember, even if formatted, Excel “remembers” the 1.25 even if it shows you 30:00 hours, so to use in a pay calculation of hours x hourly rate = gross pay, adjust your calculation to the displayed hours x 24 x hourly rate to get actual gross pay
Lesson notes are only available for subscribers.