Google Answers Logo
View Question
 
Q: Calculating total hours in Excel ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: Calculating total hours in Excel
Category: Computers > Software
Asked by: bizwiz-ga
List Price: $20.00
Posted: 11 Dec 2002 10:50 PST
Expires: 10 Jan 2003 10:50 PST
Question ID: 123152
I want to be able to calculate total hours using three Excel columns. 
Column one is "date and time in", column two is "date and time out,"
and column three is total time in hours.  "Date" must be used because
the time period between "time in" and "time out" can cover more than
24 hours.  I need the data and time format and formula to create this
calculation.
Answer  
Subject: Re: Calculating total hours in Excel
Answered By: hammer-ga on 11 Dec 2002 11:19 PST
Rated:5 out of 5 stars
 
This worked for me:

1. Create a new Excel 2000 spreadsheet. 
2. Select columns A and B.
3. From the Format menu, select Cells.
4. On the Number Tab, choose Date from the list of Categories. From
the list of types, choose one that displays both Date and Time. The
one I used looks like this: 3/14/98 1:30 PM
5. Click OK.
6. Select column C.
7. From the Format menu, select Cells.
8. On the Number Tab, choose Number from the list of Categories. Set
the decimal places to 2.
9. Type dates into A1 and B1. You can edit both the date and time
portion.
10. Enter this formula into C1:
=(B1-A1)*24
11. Press Enter.

The elapsed time in hours should appear in C1. It spans any number of
days.

Good luck with your Excel project!

- Hammer


*** Search strategy ***
Experimentation with Excel 2000.
bizwiz-ga rated this answer:5 out of 5 stars
This not only answered my question but now I see what I was doing
wrong so that I can fix the issues raised by using times in Excel.
Great answer

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy