Computing.Net > Forums > Office Software > Excel time values

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Excel time values

Reply to Message Icon

Name: timstev
Date: October 4, 2008 at 06:45:47 Pacific
OS: Win XP
CPU/Ram: Pentium 4 512Mb
Product: Dell
Comment:

Hi, I am trying to resolve an excel issue I have. I am trying to subtract one time value from another time value. I need to account for time spent on certain jobs by my staff. If they are required to perform 4 hours worth of work but actually perform 5 hours and twenty minutes, I am trying to show this overworked time in a spreadsheet but cannot seem to get any joy. Any help would be greatly appreciated. Thanks
Tim




Sponsored Link
Ads by Google

Response Number 1
Name: toast (by NoIdea)
Date: October 4, 2008 at 16:38:32 Pacific
Reply:

Have you formatted your cells [h]:mm. Then you can subtract the later time from the earlier time.
As an example Excel interprets 3:00 as 3/24 of a day.(24 hours in a day)To cancel this out do 3:00*24 to cancel out the 24.
I hope this helps


0

Response Number 2
Name: DerbyDad03
Date: October 6, 2008 at 13:56:12 Pacific
Reply:

If your Start Time is in A1 and your End Time is in B1, this will return the "overtime" worked. For example, a start time of 4:20 and an end time of 9:30 will show 1:10 of overtime.

=IF(HOUR(B1-A1)>4,B1-A1-TIMEVALUE("4:00"),0)

This assumes that the Start and End times are in the same day. If you cross the mid-night threshold, things get a bit more complicated. Let us know if you need to handle situations like that.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Excel time values

Negative time values in Excel www.computing.net/answers/office/negative-time-values-in-excel/5687.html

Convert an odd format to Excel Time www.computing.net/answers/office/convert-an-odd-format-to-excel-time/7830.html

excel calculating differences between times www.computing.net/answers/office/excel-calculating-differences-between-times-/9279.html