×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Summing Time worked and manually entered Hours in Excel

 Forum Search FAQs Links MVPs

## Summing Time worked and manually entered Hours in Excel

(OP)
Hi -

I have a timesheet that calculates the time in and out and totals the hours worked (formatted as [hh]:mm). There are also fields where an employee will put in whole numbers for hours (i.e. 3 hours personal, 4 hours vacation, etc.) that are formatted as a number. I need to total the manually entered hours plus the total hours worked. for example

..................................................................... [(hh]:mm) / (number)
TIME IN / TIME OUT / TIME IN / TIME OUT / TOTAL HOURS / SICK TIME
8:05 AM / 9:10 AM / 1:20 PM / 6:05 PM / 6.00 / 2.00

Total Hours + sick time should equal 8 but I am getting 2.25.

The times in and our are all formatted using a 7 minute rounding rule calculation and custom formatted as [hh]:mm.

Any suggestions on how to get this to sum correctly? I'm sure it's something simple that I am overlooking. Thanks for your help!

Laura~

### RE: Summing Time worked and manually entered Hours in Excel

(OP)
I figured it out. I knew is was something simple.

=SUM(Q23:Z23)+(M23*24)

Sum of manual hours entered + calculated time * 24.

Have a great day everyone!

### RE: Summing Time worked and manually entered Hours in Excel

Hi,

From your example, the Total hours based on your two in/out records is 5:50 (5 hours, 50 minutes). Using Structured Table notation...

[Total Hours]: =[TIME OUT 2]-[TIME IN 2]+[TIME OUT]-[TIME IN]

Have no idea what your formula refers to, as your example made no reference to columns and rows.

Skip,

Just traded in my OLD subtlety...
for a NUance!

### RE: Summing Time worked and manually entered Hours in Excel

(OP)
Hi Skip

Sorry about the lack of info:

=SUM(Q23:Z23)+(M23*24)

Q23:Z23 are summed the manually entered hours for sick, vacation and personal time etc.
M23 is the total calculated hours from the times in and out.

Laura~

### RE: Summing Time worked and manually entered Hours in Excel

Okay.

What you have from the AM/PM time values entered on your sheet is an actual value in units of days, formatted to display AM/PM time. For instance, 8 hours is 1/4 of a day. So if you have 8:00 AM, and change the Number Format to General, the value displayed will be 0.25.

So to convert DAYS to HOURS, you multiply ( DAYS ) * 24 ( HOURS per DAY ).

Skip,

Just traded in my OLD subtlety...
for a NUance!

### RE: Summing Time worked and manually entered Hours in Excel

(OP)
Thank you!

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

#### Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

# Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!