Discussion Locked

Excel Timekeeping

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Considering we are not going out to buy timekeeping software for six employees, I've been using Excel. I have been asking people to enter their time in military format therefore I can tell when the start, go to lunch, come back and end. For example, 8am-noon, 1pm return from lunch, and 5pm end would be 08:00, 12:00, 13:00 and 17:00 on my timesheet. Then I use a simple formula to subtract to get the actual time worked. IS there another way to do this and avoid using military time? Someone ended their day at midnight and it looked like 00:00 and I didn't like sending that off to our customer. Also, is there a way to mutiply time by a rate? For example, some employees work 7 1/2 hours which I manually convert to 7.5 to multiply the rate to it. Is there a formula that gets around the manual conversion? Thanks.

5 replies

by pvp

I have no good answer for the 24-hour problem, unless you can assume(!) that some entries must be pm. Then add 12 to the hour. Actually, you'll be adding 0.5, since hours are really fractions of days. (24 hours, 1440 minutes, per day)

There isan AM/PM under Format Cells->Time, but as far as I know, you still have to enter hours in the 0-24 range.

For rates, (end-start)*24*rate.

To avoid seeing 00:00 in the invoice, use the AM/PM format, or use IF (cell=0,"12:00 AM",next_formula). Next_formula is going to be string conversion for time->string, but I'll let you look that up.

by d. brinson

To my knowledge there is no way to avoid military time. There is a way to avoid the the manual conversion of 8 1/2 hours (8:30) to 8.5 hours.

Assuming that your first start time is in A1, your first stop time is in B1, your second start time in C1, and your last stop time is in D1, you can use the following formula in E1.

(TIMEVALUE(B1) - TIMEVALUE(A1)) + (TIMEVALUE(D1) - TIMEVALUE(C1))

In cell F1, use the formula
E1*24

This gives you 8.5 which you can then multiply by whatever rate you wish.

This discussion is closed to new replies.