+ Reply to Thread
Results 1 to 2 of 2

Target Date & Time Exluding non-business Hours & Weekends (Saturday & Sunday)

  1. #1
    Registered User
    Join Date
    12-07-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    3

    Exclamation Target Date & Time Exluding non-business Hours & Weekends (Saturday & Sunday)

    Hi Guys,

    Please help me. I would like to create a reminder sheet for my employees.

    But the below formula which was provided by expert daddylonglegs is counting before the working hours


    Cell A2 has TIme and Date :
    Example1 : 12/9/2019 09:00 (Monday 9PM)


    Cell B2 has 4 (Integer)

    Cells E2 and F2 has working hours 10:00 & 19:00 Respectively

    Using the below formula in C2 is giving me Result as 12/9/2019 13:00

    It should give me 12/9/2019 14:00 because the business hour starts at 10:00 AM. So the target deadline should be counting from the business hour.

    Also if A2 date is 12/9/2019 8:00 (Monday 9pm) then the C2 should give me result as 12/10/2019 13:00

    HALP !


    Formula which I'm applying in C2 : =WORKDAY(A2,CEILING((B2/24+MOD(A2,1)-E$2)/(F$2-E$2),1)-1,D$2:D$9)+MOD(A2,1)+B2/24-CEILING(MOD(A2,1)+B2/24-E$2,F$2-E$2)+F$2-E$2

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Target Date & Time Exluding non-business Hours & Weekends (Saturday & Sunday)

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. [SOLVED] Highlighting WEEKENDS (SATURDAY & SUNDAY) from mixed dates in Excel
    By nadimqaisar in forum Excel General
    Replies: 7
    Last Post: 12-20-2018, 10:56 AM
  2. Replies: 2
    Last Post: 11-12-2014, 11:56 AM
  3. Formula to Exclude weekends ( Saturday and Sunday )
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-21-2014, 04:24 AM
  4. [SOLVED] Adding hours to start time - Business hours/holidays/weekends
    By Thunderer in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-21-2014, 01:09 PM
  5. VBA to calculate hours between 2 date/time excluding saturday & sunday
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-12-2013, 10:12 AM
  6. Calculate Business Hours exluding weekends and holidays with a caveat
    By teamdob in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-22-2012, 11:55 AM
  7. Calculating date and time in business days other than Saturday/Sunday
    By russ101 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-28-2012, 07:55 PM

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