Function with hours & minutes involved

5 pts.
Tags:
microsoft excel 2007 formulas
Microsoft Excel formulas
microsoft excel functions
Microsoft Windows Vista
Any ideas on how to do the following:

I have a payroll spreadsheet that has columns that show the clock in and clock out time that I formatted the cell to give me miliatary time.  I then have a "sum" column that subtracts one from the other to give me thetotal hours/minutes worked.  I have two of these per date because we work different jobs in one day and I want to create a cell that will take these 2 "summed" columns that have the resulting time worked and add them together and tell me if there is more than 8 hours (for OT sake) and if so, how much more than 8 hours:

Example: summed column A1 says 4:30 and B1 says 5:30

I want the Function column to add A1 and B1 and if it comes out to be more than 8 hours total, I want it to come back with how many hours over 8 it is -- in this case it would be 2 hours more than 8 hours.

Can this be done!



Software/Hardware used:
Excel 2007 and Vista and HP Desktop
ASKED: May 7, 2010  2:38 AM
UPDATED: May 7, 2010  2:48 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

If i understand correctly, something like this should work:

<pre>=IF(A1+B1>TIME(8,0,0),A1+B1-”8:00″,”0:00″)</pre>

-CarlosDL

———–

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following