+ Reply to Thread
Results 1 to 3 of 3

Weekend dates calculation

  1. #1
    Registered User
    Join Date
    10-01-2007
    Posts
    2

    Weekend dates calculation

    I have a a formula set up to calcuate a send date for mail, however the problem is that I can't figure out how to make the date move forward to the next working day if the final result ends on a weekend.

    Example:
    =C6-5 (where c6 = the date we need a response by, for example 11-23-07)

    The send date needs to be 5 days before the response date (11-18-07) however since we don't work on sunday I need the date to move forward to the next monday (11-19-07).

    Any help would be appreciated thanks,

    JB

  2. #2
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi jbenton,

    Assume the date is in B9: Try this formula:

    If the date falls on Saturday, result is Monday:
    Please Login or Register  to view this content.
    If the date falls on Saturday, and you want it to be Friday:
    Please Login or Register  to view this content.
    If the formula returns the serial number of the date, go to Format Cells, Custom, mm/dd/yyyy.
    Last edited by corinereyes; 10-01-2007 at 01:28 PM.
    Corine

  3. #3
    Forum Contributor
    Join Date
    10-27-2006
    Location
    United Kingdom
    MS-Off Ver
    EXCEL 2003 (2007 at home)
    Posts
    517
    Somthing like this should do the trick:
    =IF(WEEKDAY(C6-5,2)=7,C6-6,C6-5)
    ie:
    If the day 5 days before the date in C5 is a Sunday use the date 6 days before instead.

    Mark.

+ 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