+ Reply to Thread
Results 1 to 6 of 6

Date & Time addition formula

  1. #1
    Registered User
    Join Date
    03-18-2014
    Location
    burlington, nj
    MS-Off Ver
    Excel 365
    Posts
    71

    Question Date & Time addition formula

    COLUMN A,B, & C include date and time related to "time when part was shipped"

    Column A: Date entered as 07/15/2017
    Column B: Time Entered as 60700
    Column C: is converting time with this formula =TEXT(J18,"00\:00\:00")+0 (giving me result as expected 6:07:00)

    COLUMN D, E & F related to when part was received/delivered

    Column d: Date entered as 07/16/2017
    Column e: Time Entered as 61000
    Column F: is converting time with this formula =TEXT(J18,"00\:00\:00")+0 (giving me result as expected 6:10:00)

    Now in COLUMN G: I need a formula that give me total time it took to deliver. For example 1 day and 3 minutes or 24 hours and 3 minutes. It don't matter which time format. hh:mm:SS or day:HR:MM etc

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Date & Time addition formula

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Apply numberformat as required - e.g.
    Please Login or Register  to view this content.
    or
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    03-18-2014
    Location
    burlington, nj
    MS-Off Ver
    Excel 365
    Posts
    71

    Re: Date & Time addition formula

    I tried that and it's not working. It says date and times that are negative or too large that displays as #######. It tried different time formats on the cell but it don't work. Some format does display time but it's not displaying correctly. For example If i leave time same 6 am for both days (6:00:00) but change date I day apart it display 12:00:00 instead of 24 hours (24:00:00)
    Last edited by vani2004; 07-27-2017 at 12:35 PM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Date & Time addition formula

    I tested Olly's formula and got 24:03:00 as a result. I formatted cell G1 as [h]:mm:ss
    I believe that all of this works in the 2003 version as I have saved the file as an .xls (97 - 2003)and did not get a warning.
    I did change the time conversion formulas from =TEXT(J18... to =TEXT(B1... and =TEXT(E1...
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    03-18-2014
    Location
    burlington, nj
    MS-Off Ver
    Excel 365
    Posts
    71

    Re: Date & Time addition formula

    Thank you JeteMac & Olly! You guys are awesome....

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,570

    Re: Date & Time addition formula

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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] Need help with time addition formula
    By Jo Ross in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-27-2014, 09:38 PM
  2. [SOLVED] return a value of date using addition from 2 columns that represent a date and a number
    By jayce_sos in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-21-2014, 03:52 AM
  3. Replies: 3
    Last Post: 12-19-2013, 06:49 AM
  4. Date not cycling with addition of time
    By cummins in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-26-2011, 08:35 PM
  5. Addition of Time formula not working correctly
    By JK1234 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2010, 12:01 PM
  6. [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
  7. [SOLVED] addition to my date formula...required
    By Juco in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-30-2005, 08:06 AM

Tags for this Thread

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