Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-03-2018, 11:08 AM
DBenz DBenz is offline adding up hours as numbers doesnt match hours as time format Windows 7 64bit adding up hours as numbers doesnt match hours as time format Office 2010 32bit
Advanced Beginner
adding up hours as numbers doesnt match hours as time format
 
Join Date: Dec 2014
Posts: 69
DBenz is on a distinguished road
Default

Hi, file attached.


stumped on why total is just 15 mins
using sum(g4:g41) method or just a+b+c etc.


I wanted to have the credit debit figure add them up and subtract from the total to see time remaining.


Can someone sort this out please as the time its taking me to create it to see how close to failure I will be given the time I have left to do it, means ironically I wont manage to get the job done due to time spent instead trying to get the excel spread sheet made , as I am counting hrs now, stop and I fail !!


I just need a fixed chart now, no time left for fiddling.



DBenz
Attached Files
File Type: xlsx Task time estimator and progress credit debit.xlsx (15.6 KB, 13 views)
Reply With Quote
  #2  
Old 11-03-2018, 11:26 AM
joeu2004 joeu2004 is offline adding up hours as numbers doesnt match hours as time format Windows 7 32bit adding up hours as numbers doesnt match hours as time format Office 2007
Advanced Beginner
 
Join Date: Aug 2016
Posts: 32
joeu2004 is on a distinguished road
Default

[... deleted ...]

Last edited by joeu2004; 11-03-2018 at 12:20 PM. Reason: misdirection
Reply With Quote
  #3  
Old 11-03-2018, 12:33 PM
joeu2004 joeu2004 is offline adding up hours as numbers doesnt match hours as time format Windows 7 32bit adding up hours as numbers doesnt match hours as time format Office 2007
Advanced Beginner
 
Join Date: Aug 2016
Posts: 32
joeu2004 is on a distinguished road
Default

[Sorry about the previous misdirection.]

As I explained, the format for C40 (at least) should be Custom [hh]:mm:ss.

The specifier "[hh]" will display hours greater than 23.

But note that C40 displays 576:15:00 instead of 48:15:00, as you might expect.

That's because some of the "times" in C2:C39 exceed 24 hours.

So format C2:C39 as Custom [hh]:mm:ss as well.

-----

But really, I suspect the data in C2:C39 is not entirely correct.

For example, C2 8 days plus 8 hours (8:00:00). But B2 is simply 8 (hours?). So I suspect the 8 days is incorrect.

Similarly with C3. But C4 is correctly just 1 hour (1:00:00), and B4 is 1.

So I suspect the root cause of the problem is an inconsistency in converting column B (decimal hours) into column C (Excel time).

Enter the following formula into C2 and copy down through C39:

=B2/24

Again, format C2:C40 (even C41) as [hh]:mm:ss, even if hh:mm:ss should suffice. The format [hh] will permit you to have 24 or more hours in column B.
Reply With Quote
  #4  
Old 11-03-2018, 06:37 PM
Marcia's Avatar
Marcia Marcia is offline adding up hours as numbers doesnt match hours as time format Windows 7 32bit adding up hours as numbers doesnt match hours as time format Office 2007
Expert
 
Join Date: May 2018
Location: Philippines
Posts: 553
Marcia has a spectacular aura aboutMarcia has a spectacular aura aboutMarcia has a spectacular aura about
Default

Attached is your sample that I revised. Custom format your time into [h]:mm:ss. There's a formula in column D (my own insertion). Take note also of the SUBTOTAL function that was used to get the total of the rows. In this way, any rows of data that you insert or any subtotal will be automatically included in your grand totals.


In cell X2 where you want the grand total of hours clocked in for a specific task, SUMIF was used so that if you insert columns, the total hours that you inserted will also be added in the sum. If you don't like the column heading "Hours of Work, you may change them, but make sure that you edit the formula in cell X2. Replace the "Hours of Work" to your desired heading.


About the debit or credit column. If the estimated number of hours is greater than the actual hours worked over the task, is the result credit? Your formula of =C2-X2 might not work when there is slippage, when the actual work hours exceeds the estimated hours. I separated the credit and debit columns to take into account the possibility for slippages, credit for positive results, debit for negative ones. It's your choice.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Hours in MS Project with Picture Hochbau Project 6 02-17-2017 09:45 AM
Calculate Time in Hours and Percent pabyford Excel 6 12-13-2016 12:29 PM
Time Function for Tracking Hours Newto365 OneNote 0 07-11-2016 09:47 AM
adding up hours as numbers doesnt match hours as time format 8 in 24 hours time formula v1rt8v2 Excel 7 01-12-2016 06:55 PM
adding up hours as numbers doesnt match hours as time format Adding of times total to be in hours jen0dorf Excel 4 06-20-2014 11:53 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:30 PM.


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