+ Reply to Thread
Results 1 to 2 of 2

automatic 24h day

  1. #1
    Registered User
    Join Date
    08-07-2008
    Location
    Netherlands
    Posts
    1

    automatic 24h day

    Hello,

    I've got a question. I have three columns: Date, time from, and time till. Now i want when the input is for instance 7-aug from 21:00 till 3:00, excel automatically fills in the 3 hour that fall on the day after in a row below it. For example:

    Input:

    Date from till
    7-aug 21:00 3:00

    Must become:

    Date from till
    7-aug 21:00 24:00
    8-aug 0:00 3:00

    Can someone please help me how to achieve this?
    Last edited by Renco; 08-07-2008 at 11:27 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486
    Hi,
    I am not sure what you are asking.
    If you are wanting to add hours to a date and time this will work.
    Take in mind the cell being added needs to be a true date and time, not a date and time entered as text.
    Try this:
    A1=8/7/08 17:15

    A2 =A1+"3:00"

+ Reply to 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