You are here:

Excel/time sheet forumla


I need a simple formula, I just can's seem to figure it out.
 time in , time out =total hrs
 example  in @ 8 am out @ 5 PM = 9 hrs
 repeat Monday through Sunday
 then then total at end of week

You first have to know that Excel requires specific entry, and that Excel reads the value of 1 as one DAY.

In cell A1, type:

8 a

and hit Enter. It should then read 8:00 AM.

In cell A2, type:

5 p

and hit Enter. It should then read 5:00 PM.

In cell A3, type:


and hit Enter. It should read 9:00 AM, which isn't want you want.

Select cell A3. Format it as a number. The value now becomes 0.38
That is the portion of 1 day (24 hours) that is your result.

Change the formula in A3 to:


And you shall have your answer. There are 24 hours in one day.

You can learn this and so much more about time and time sheets at Chip Pearson's website.

I hope this helps!
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts


Anne Troy


Virtually all common questions about Microsoft Excel, including all versions. Help with formulas, functions, optimum data layout, and application management. Please: No VBA or macro questions.


I taught Advanced Microsoft Excel to the senior accountants at the Environmental Protection Agency. Let's hope they were listening.

Dreamboat on Word Office VBA: Macros You Can Use Today

Self-taught and worked with the best in Microsoft Office applications.

Awards and Honors
Microsoft Word MVP 2008

©2017 All rights reserved.

[an error occurred while processing this directive]