+ Reply to Thread
Results 1 to 10 of 10

Need help with time addition formula

  1. #1
    Registered User
    Join Date
    10-24-2014
    Location
    Wellington, New Zealand
    MS-Off Ver
    2010
    Posts
    14

    Need help with time addition formula

    I am sure this is a very basic query for excel experts but I am not sure how to achieve this. I have a column with a time field in format hh:mm. Next to it I want to have a number column where I can enter a number of days. The calculation I would like to do, is take the number of days away from the hours in the first column. It doesn't have to occur in one column, if I need to have 2 columns to do this easily then that's perfectly fine. Can anyone help me with this? Thank you in advance

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Need help with time addition formula

    Hi, welcome to the forum

    Im puzzled, you want to take days away from hours? I think you will need to provide a sample workbook, showing what you have and what you want.

    Also, You need to understand this about dates...a date is just a number indicating how many days have passed since 1/1/1900, so today 7/11/14 is actually 41831. excel formats it into something that we recognise as a date (I know you said subtract days, not dates, but the principal remains)

    Likewise with time...time is a decimal of 1 (day), so for instance 06:00 AM is actualy just 0.25, 12 noon is .05 and 06:00 PM (18:00) is 0.75. Again, excel formats it to something we see as a time
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Need help with time addition formula

    Just a guess!
    Attached Files Attached Files
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  4. #4
    Registered User
    Join Date
    10-24-2014
    Location
    Wellington, New Zealand
    MS-Off Ver
    2010
    Posts
    14

    Re: Need help with time addition formula

    Oh yes, I have given a rather poor description there, and I've neglected a rather important part. My apologies, I'm new to this.

    The bit I forgot is that I am working with 8 hour days in the calcs. the reason the first figure is in hours is because I need to report on average hours to achieve a service turn around, so this is to get the figure into the format the report requires. The reason I might need to take days away from that figure is to remove shipping delays from the first figure in instances where delays have occurred, and the person likely to enter this detail will only have the information of # of days this delay has incurred.

    I have uploaded a workbook
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Need help with time addition formula

    In Q3
    Please Login or Register  to view this content.
    Modify from my post #3.

  6. #6
    Registered User
    Join Date
    10-24-2014
    Location
    Wellington, New Zealand
    MS-Off Ver
    2010
    Posts
    14

    Re: Need help with time addition formula

    Thank you for your help, unfortunately the end result is not quite what I am trying to achieve. I am sure this is entirely to do with my inability to explain the situation correctly, rather than anything amiss in your formula. I have added a column to show the end result I am trying to get, I am just not sure how to modify what you've supplied me.Sample spreadsheet.xlsx

  7. #7
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Need help with time addition formula

    Try the attached file.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    10-24-2014
    Location
    Wellington, New Zealand
    MS-Off Ver
    2010
    Posts
    14

    Re: Need help with time addition formula

    Thank you, that works perfectly.

  9. #9
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Need help with time addition formula

    Welcome, thanks for the feedback :D

    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

  10. #10
    Registered User
    Join Date
    10-24-2014
    Location
    Wellington, New Zealand
    MS-Off Ver
    2010
    Posts
    14

    Re: Need help with time addition formula

    Ah thanks, I was just navigating the site to find out how I got about doing that.

+ 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. [SOLVED] Time duration Addition
    By sathishkm in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-27-2013, 02:44 PM
  2. Addition of Time formula not working correctly
    By JK1234 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2010, 12:01 PM
  3. Time addition
    By sajeel in forum Excel General
    Replies: 2
    Last Post: 12-18-2009, 09:40 AM
  4. Time Addition
    By pavi7 in forum Excel General
    Replies: 2
    Last Post: 05-21-2009, 03:41 PM
  5. [SOLVED] time addition to predict finish time
    By Martin B in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-12-2006, 07:00 PM

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