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.
Trending Desktop posts
Sort by Trending