Closed Thread
Results 1 to 2 of 2

calculating the time between one date and another

  1. #1
    Samwar
    Guest

    calculating the time between one date and another

    Hi there. I have a worksheet with four cells in it:

    Start Date
    Start Time
    End Date
    End Time.

    I need to calculate in hours the diffrence between the two. I am using Excel
    2000 and unfortunately the cells have to remain seperate. Can anyone please
    help?

  2. #2
    Nick Hodge
    Guest

    Re: calculating the time between one date and another

    Samwar

    With the entries in A1:A4 (Later date/time in A3 and A4) then in A5 enter

    =(A3+A4)-(A1+A2)

    and format the result as (Format>Cells...>Number>Custom)

    [hh]:mm

    the square brackets stop hours over 24 from incrementing to days

    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    www.nickhodge.co.uk
    [email protected]HIS


    "Samwar" <[email protected]> wrote in message
    news:[email protected]...
    > Hi there. I have a worksheet with four cells in it:
    >
    > Start Date
    > Start Time
    > End Date
    > End Time.
    >
    > I need to calculate in hours the diffrence between the two. I am using
    > Excel
    > 2000 and unfortunately the cells have to remain seperate. Can anyone
    > please
    > help?




Closed Thread

Thread Information

Users Browsing this Thread

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

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