1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User


  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Calculate date & time difference

Discussion in 'Ask an Excel Question' started by Rodrigues, Dec 6, 2018.

  1. Rodrigues

    Rodrigues Member

    Hi All
    I am wondering if someone could help me please.
    Need to calculate date and time difference between three columns.
    The problem I'm facing is that, one of the dates and time are in a separate columns (F&G):
    Column F=date
    Column G=time (of F)
    Column K = date & time together (separate column).
    At the moment I'm using an helper "M" column to combine both cells (F&G), but if we could avoid helper column it will be great.
    File attached for better explanation.
    Any help it will be appreciated.
    Thanks in advance.

    Attached Files:

  2. pecoflyer

    pecoflyer Active Member

    Replace f7 with F14+G14 in your formulas
    Rodrigues likes this.
  3. Peter Bartholomew

    Peter Bartholomew Well-Known Member

    Don't forget that if
    startTime > endTime
    then the time difference is given by
    = MOD( endTime - startTime, 1 )
    to give a positive time interval.
    You would also need to subtract 1 from the number of days
    = INT( endDate - startDate ) - ( startTime > endTime )
    Rodrigues likes this.
  4. Rodrigues

    Rodrigues Member

    Thank you.

Share This Page