Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2014, 05:27 PM
56_kruiser 56_kruiser is offline Totaling on hours problem Windows 7 64bit Totaling on hours problem Office 2010 64bit
Novice
Totaling on hours problem
 
Join Date: Nov 2012
Posts: 26
56_kruiser is on a distinguished road
Default Totaling on hours problem

I am sure this is simple for the folks who know what they are doing. But I'm stumped.

Attached is a simple spreadsheet that has columns of start/end times, and a column for the duration represented by the start/end times. I want to total the hours at the bottom of the table for the duration. But I'm not getting a correct total.



I also have a pivot table in it that I'm trying to list each category (tag) and total hours for each category. Of course, I'm not getting correct totals for that.

I'm thinking I need to format something different. Wondering if anyone here has any suggestions.

Spreadsheet attached.
Attached Files
File Type: xlsx Timesheet 9-3-14.xlsx (47.2 KB, 15 views)
Reply With Quote
  #2  
Old 09-03-2014, 07:55 PM
bobsone1 bobsone1 is offline Totaling on hours problem Windows Vista Totaling on hours problem Office 2007
Novice
 
Join Date: Jul 2014
Posts: 23
bobsone1 is on a distinguished road
Default

What is the 105 in your total for?
I.e. in D317 you have =SUM(Table1 [ Duration]).
I tried =SUM(Table1[Duration]) and it looks like it works... Does a total of 539:11:00 (22 days, 12 hours and 11 minutes) sound correct?
Reply With Quote
  #3  
Old 09-03-2014, 08:14 PM
56_kruiser 56_kruiser is offline Totaling on hours problem Windows 7 64bit Totaling on hours problem Office 2010 64bit
Novice
Totaling on hours problem
 
Join Date: Nov 2012
Posts: 26
56_kruiser is on a distinguished road
Default

Quote:
Originally Posted by bobsone1 View Post
What is the 105 in your total for?
I.e. in D317 you have =SUM(Table1 [ Duration]).
I tried =SUM(Table1[Duration]) and it looks like it works... Does a total of 539:11:00 (22 days, 12 hours and 11 minutes) sound correct?

Yes it sounds correct, but...

It's really wierd. That total is a total as added by Excel by checking "Total Row" in the design elements. So, Excel put the 105 there. I don't know what it is.

When I try to just type your suggestion in (while the Total Row is still checked in the Design tab), and it shows 0. If I turn off the Total Row in Design tab, and type in what you list, I get a circular reference error.

Here's a screen capture:



UPDATE

Also, I got to thinking maybe I was typing the formula withing the defined table range, so I moved to the next cell down, and when I type it in, it does not recognize 'duration', and gives me a "Formulat typed contains an error" message.

Not sure what to think.
Reply With Quote
  #4  
Old 09-03-2014, 08:23 PM
56_kruiser 56_kruiser is offline Totaling on hours problem Windows 7 64bit Totaling on hours problem Office 2010 64bit
Novice
Totaling on hours problem
 
Join Date: Nov 2012
Posts: 26
56_kruiser is on a distinguished road
Default

Ok. I just went in once more, made sure of my table range. Typed in the formula at the bottom of the duration column, and it shows 0:00:00.

Reply With Quote
  #5  
Old 09-03-2014, 10:11 PM
bobsone1 bobsone1 is offline Totaling on hours problem Windows Vista Totaling on hours problem Office 2007
Novice
 
Join Date: Jul 2014
Posts: 23
bobsone1 is on a distinguished road
Default

I think I have solved it.....
Try changing D317 cell formatting to Number>Custom>[h]:mm:ss

To avoid potential problems in the future, I would change the whole D column to [h]:mm:ss thereby allowing for any hour counts that exceed 24.

As for the number Excel is loading into the formula (e.g. 105) have a look at

http://office.microsoft.com/en-nz/excel-help/subtotal-function-HP010062463.aspx



105 is a min function and 109 = sum etc


Hope this helps.


Attached Files
File Type: xlsx Timesheet test.xlsx (46.0 KB, 10 views)

Last edited by bobsone1; 09-04-2014 at 08:05 AM.
Reply With Quote
  #6  
Old 09-04-2014, 11:22 AM
gebobs gebobs is offline Totaling on hours problem Windows 7 64bit Totaling on hours problem Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Change the format of the total to [h]:mm:ss. The way you have it, hh:mm:ss, it displays only the fraction part of the day.

Making that format change, the total becomes 539:11:00. With the current format, 11:11:00 is displayed as it lops off 528 hours (22 days).

Edit: I defer to the previous answer above. For some reason, I missed it.

Last edited by gebobs; 09-05-2014 at 06:49 AM.
Reply With Quote
  #7  
Old 09-04-2014, 07:01 PM
56_kruiser 56_kruiser is offline Totaling on hours problem Windows 7 64bit Totaling on hours problem Office 2010 64bit
Novice
Totaling on hours problem
 
Join Date: Nov 2012
Posts: 26
56_kruiser is on a distinguished road
Default

Thanks everybody. That got me going. I was thinking it was in the formatting, but just couldn't figure out what it needed to be.

Much appreciated.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Totaling on hours problem Project Hours Mav Project 4 03-07-2014 04:47 PM
Converting hh:mm to hours Sammael Excel 2 04-17-2012 01:33 PM
Totaling on hours problem How to add hours together PomDave Excel 3 09-05-2011 04:43 AM
Cell with hours meninio Excel 3 02-11-2011 06:50 AM
Help on the formulate hours meninio Excel 2 02-11-2011 04:56 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft