I run payroll for a small business. I currently have a spreadsheet that totals hours and multiplies by the wage to give me a gross amount for each pay period. I would like to be able to enter times: 8:30 to 20:30 and have excel calculate how many hours were worked. Not only that, but in our business, anything over 8 hours is overtime, so I want to split it to 8 and 4. I've tried subtracting time, but can't convert the h:mm format to an integer. Answer from Richard Rost:
This tutorial covers calculating overtime pay:
http://599cd.com/tips/excel/overtime/?key=BlFAlEx
I have other tutorials which explain adding/subtracting dates and times:
There are many different techniques in Excel you can use to break apart dates or times into their component parts, add or subtract dates, and figure out how much time is elapsed between two dates.
Read this free tutorial from my web site that explains how to work with adding dates and times in Excel:
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Excel Forum.