+ Reply to Thread
Results 1 to 5 of 5

time calculation problem

  1. #1
    Registered User
    Join Date
    09-05-2017
    Location
    new delhi
    MS-Off Ver
    2013
    Posts
    21

    time calculation problem

    hi everyone,

    I come across to receive time table in non standard format sometime. it is very hard to work with them. i ma attaching a file which has few problem which i can't do without asking concerned people. Plz find solution for me
    thankx
    Attached Files Attached Files
    Last edited by amar502322; 09-14-2017 at 09:49 AM. Reason: attachment

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: time calculation problem

    What is wrong?

    B3 is 7. C3 is 9:30:00, formatted as h:mm:ss, which is interpreted as 9h 30m 0s. B3*C3 should be 66h 30m 0s. And indeed D3 displays 66:30:00, formatted as [h]:mm:ss.

    The only thing wrong that I see is: the formula in D3 should be copied into D4:D7. That should also correct the format, which should be [h]:mm:ss.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: time calculation problem

    Try

    =B2*C2/IF(C2<1,1,24)

    and format the result as Custom type [h]:mm:ss
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: time calculation problem

    Quote Originally Posted by joeu2004 View Post
    What is wrong?

    B3 is 7. C3 is 9:30:00, formatted as h:mm:ss, which is interpreted as 9h 30m 0s. B3*C3 should be 66h 30m 0s. And indeed D3 displays 66:30:00, formatted as [h]:mm:ss.

    The only thing wrong that I see is: the formula in D3 should be copied into D4:D7. That should also correct the format, which should be [h]:mm:ss.
    When the hours worked are complete hours they have been entered as an integer not a time (fraction of 1.0) which would normally result in an incorrect calculation much higher than it should be, e.g. 9 is interpreted as 9 days not 9 hours.

    Personally I would stick to entering ALL times as hh:mm:ss
    It means you can use the same simple formula throughout the spreadsheet, also prevents someone else having to work out whats going on if they look at the spreadsheet and serves as a reminder that you should enter all times as hh:mm:ss.

  5. #5
    Registered User
    Join Date
    09-05-2017
    Location
    new delhi
    MS-Off Ver
    2013
    Posts
    21

    Re: time calculation problem

    special-k you did it. Thanx to everyone giving suggestion.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel calculation time problem
    By Harrington321 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-07-2017, 06:09 AM
  2. [SOLVED] Time Calculation and INT Conversion Problem
    By fearonc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-24-2015, 03:41 PM
  3. logical and time calculation problem
    By wba in forum Excel General
    Replies: 4
    Last Post: 07-01-2012, 07:05 AM
  4. How can i solve this Time calculation problem
    By J.wills in forum Access Programming / VBA / Macros
    Replies: 4
    Last Post: 03-19-2009, 07:02 AM
  5. Time Calculation problem
    By lilsnoop in forum Excel General
    Replies: 2
    Last Post: 04-23-2007, 03:05 PM
  6. [SOLVED] Time problem, Auto calculation???
    By Frantic3d in forum Excel General
    Replies: 1
    Last Post: 06-29-2005, 11:05 PM
  7. Problem with Long Calculation Time
    By albanshere in forum Excel General
    Replies: 2
    Last Post: 04-18-2005, 03:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1