+ Reply to Thread
Results 1 to 4 of 4

Replace a weekend date/time with the next working day 0800 time

  1. #1
    Registered User
    Join Date
    04-27-2016
    Location
    Saltburn
    MS-Off Ver
    2010
    Posts
    17

    Replace a weekend date/time with the next working day 0800 time

    Hi,

    I have SLA's that run in a clients toolset, but they are not geared towards my companies agreed SLA's so I have to work them out by hand...or some spreadsheet trickery.

    Is it possible to replace a date raised on the weekend (i.e. 7/05/2016 03:21) with the following workday at 0800 (i.e. 9/05/2016 08:00)

    Thanks

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Replace a weekend date/time with the next working day 0800 time

    You would have a line of code like this. If C is a range object that is the cell containing a date & time:
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    04-27-2016
    Location
    Saltburn
    MS-Off Ver
    2010
    Posts
    17

    Re: Replace a weekend date/time with the next working day 0800 time

    Edit: Resolved.

    Hi Jeff,

    Thanks for the quick reply.

    How would you tie that in with the previous code you helped with, which looked to change the time to 0800 the same working day if it occurred out of service hours (i.e. from 0001-0759 in the morning).

    Please Login or Register  to view this content.
    Thanks
    Last edited by susansmith32; 05-11-2016 at 10:18 AM. Reason: Resolved issue

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Replace a weekend date/time with the next working day 0800 time

    You mean this last question is resolved? If not here is what I would do, but untested:

    Please Login or Register  to view this content.

+ 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. Replace date/time with date/time the following working day
    By susansmith32 in forum Excel General
    Replies: 2
    Last Post: 04-27-2016, 10:52 AM
  2. Replies: 8
    Last Post: 01-31-2016, 10:14 AM
  3. Replies: 1
    Last Post: 08-13-2015, 08:37 AM
  4. Replies: 10
    Last Post: 07-10-2015, 10:40 AM
  5. Replies: 1
    Last Post: 06-05-2015, 06:57 AM
  6. [SOLVED] Calculate turnaround time for 9pm-6am working time & Start/End date may be on weekend
    By Wauiwa in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-26-2012, 02:36 PM
  7. Calculating working time between 2 dates minus weekend
    By langered in forum Excel General
    Replies: 3
    Last Post: 03-23-2007, 07:52 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