J
Jason S.
Hi all, Im trying to develop a time sheet log where it
counts down my extended contract work that I have done.
I've signed up for so many extra days of work a year and
it logs my hours and tells me how may hours I have left to
work. What I have does not seem to work, but is close.
I've signed up for 15 days extra, at 6hr's and 50min a
day. When I mark 15 in one cell, I have another cell
calculate the hours for me. It's set with this formula
=B7*TIME(6,50,0)
I think that works well. The formula is sitting in F10.
Then I log my time with the hours/minutes in the D
column. I have a separate cell that adds this all up with
the following formula.
=SUM(D10218)
There is no way I need 218 cells, but what the hay.
Anyway, right now should come up with 43 hours and 45
minutes. It's reporting 19:00. Something's up there.
This formula is sitting in F8.
Then I have a third cell that will take the hours I have
worked and subtract it form the hours I need to work.
This is formulated by:
=F10-F8
It comes up with a number that is close, but not exact. It
should be 58hours and 45 minutes. It shows 59 hours and
30 minutes. I do not even know how it is getting close
given the 19:00 that is reported above.
I have a feeling that my problem has something to do with
formatting of the cells. When I format it to time, it
more sets it for the time of day and not counting hours.
When I play with the formatting, far different numbers
come up with the above formulas. I get the closest
results when I customize the format and mark [h]:mm as the
formatting. Then the total time worked equals 43:00, but
nothing else changes.
Can someone point out what I am doing wrong?
Jason
counts down my extended contract work that I have done.
I've signed up for so many extra days of work a year and
it logs my hours and tells me how may hours I have left to
work. What I have does not seem to work, but is close.
I've signed up for 15 days extra, at 6hr's and 50min a
day. When I mark 15 in one cell, I have another cell
calculate the hours for me. It's set with this formula
=B7*TIME(6,50,0)
I think that works well. The formula is sitting in F10.
Then I log my time with the hours/minutes in the D
column. I have a separate cell that adds this all up with
the following formula.
=SUM(D10218)
There is no way I need 218 cells, but what the hay.
Anyway, right now should come up with 43 hours and 45
minutes. It's reporting 19:00. Something's up there.
This formula is sitting in F8.
Then I have a third cell that will take the hours I have
worked and subtract it form the hours I need to work.
This is formulated by:
=F10-F8
It comes up with a number that is close, but not exact. It
should be 58hours and 45 minutes. It shows 59 hours and
30 minutes. I do not even know how it is getting close
given the 19:00 that is reported above.
I have a feeling that my problem has something to do with
formatting of the cells. When I format it to time, it
more sets it for the time of day and not counting hours.
When I play with the formatting, far different numbers
come up with the above formulas. I get the closest
results when I customize the format and mark [h]:mm as the
formatting. Then the total time worked equals 43:00, but
nothing else changes.
Can someone point out what I am doing wrong?
Jason