+ Reply to Thread
Results 1 to 4 of 4

Days of the week (to exclude Saturdays/Sundays)

  1. #1
    Registered User
    Join Date
    02-03-2012
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Days of the week (to exclude Saturdays/Sundays)

    I am trying to set up a spread sheet where dates are automatically calculated from the previous date using the formula Cell address + 1 (e.g. =Sum(a1+1) but I want to restrict it to the working week. The formula should say something like "=SUM (A1+1 if A1= Monday, Tuesday, Wednesday or Thursday but if A1 = Friday then A1 +3)"

    I probably haven't explained that very well, but if anyone can help I would be grateful

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Days of the week (to exclude Saturdays/Sundays)

    Here, try his:

    =A1+IF(WEEKDAY(A1,2)<5,1,3)

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

    Re: Days of the week (to exclude Saturdays/Sundays)

    Perhaps =IF(weekday(a1,2)<5,a1+1,a1+3)

  4. #4
    Registered User
    Join Date
    02-03-2012
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Days of the week (to exclude Saturdays/Sundays)

    Fantastic - that works brilliantly - many thanks

+ 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