+ Reply to Thread
Results 1 to 3 of 3

I need the date i have set up in a cell to be today -14 hours

  1. #1
    Forum Contributor
    Join Date
    04-18-2013
    Location
    utah
    MS-Off Ver
    2010
    Posts
    668

    I need the date i have set up in a cell to be today -14 hours

    I have a worksheet that i have for each shift as a passdownd and i need the date on that sheed to be today minus 14 hours so when night shift leaves there passdown the date reflects the shift they started on.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: I need the date i have set up in a cell to be today -14 hours

    Try this:

    =NOW() - 14/24

    Hope this helps.

    Pete

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: I need the date i have set up in a cell to be today -14 hours

    With the date in A1 (date format recognized by Excel) and 14:00 entered in B1 (formatted as [h]:mm) in C1 enter A1-B1. The result will be a date and time. (formatted dd/mm/yyyy h:mm AM/PM)

    Enter today's date using Ctrl+;

    If you use today() or now() the value given is volatile and will change automatically. If that is the operation that you want enter the function that suits you in A1 instead of entering the static date.

    It all depends upon what you need.
    Last edited by newdoverman; 05-01-2013 at 08:11 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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