+ Reply to Thread
Results 1 to 7 of 7

If Saturday, +2. If Sunday, +3

  1. #1
    Forum Contributor
    Join Date
    09-22-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    184

    If Saturday, +2. If Sunday, +3

    Hi,

    Currently has this code.

    Please Login or Register  to view this content.
    Is there other way to do this?

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: If Saturday, +2. If Sunday, +3

    Any other way as in what?

    What is exactly required which this function is not giving?
    Cheers!
    Deep Dave

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: If Saturday, +2. If Sunday, +3

    Deep Dave has a good question. You could do it this way,...
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    but why would you want to?
    Dave

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: If Saturday, +2. If Sunday, +3

    Or are you seeking something like this?

    =IF((WEEKDAY(TODAY(),2)=6),TODAY()+2,IF((WEEKDAY(TODAY(),2)=7),TODAY()+3,TODAY()+1))

    This is what I understand from your Post Heading "If Saturday, +2. If Sunday, +3"

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: If Saturday, +2. If Sunday, +3

    Often people want +3 on a Friday because they want the next working day, so to get the next working day after today you can use WORKDAY function, e.g.

    =WORKDAY(TODAY(),1)

    ......or if you genuinely want to replicate your quoted formula try using CHOOSE like this:

    =CHOOSE(WEEKDAY(TODAY()),3,1,1,1,1,1,2)
    Audere est facere

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: If Saturday, +2. If Sunday, +3

    Or another way.

    =LOOKUP(WEEKDAY(A1,2),{1,6,7},{1,2,3})

  7. #7
    Forum Contributor
    Join Date
    09-22-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    184

    Thumbs up Re: If Saturday, +2. If Sunday, +3

    Quote Originally Posted by daddylonglegs View Post
    Often people want +3 on a Friday because they want the next working day, so to get the next working day after today you can use WORKDAY function, e.g.

    =WORKDAY(TODAY(),1)

    ......or if you genuinely want to replicate your quoted formula try using CHOOSE like this:

    =CHOOSE(WEEKDAY(TODAY()),3,1,1,1,1,1,2)
    You are right about the +3 on friday.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Never imagine you can have a function like this. Cut to the chase. Love it.

    All here thanks.

+ 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. Locate Saturday and Sunday
    By boldcode in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2015, 01:33 PM
  2. 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
  3. Saturday, Sunday or Holiday BY-PASS
    By GPErtel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-19-2013, 08:26 PM
  4. Function to Ignore Saturday and Sunday
    By kamalthakur in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2008, 11:34 AM
  5. identifying saturday and sunday in a date
    By mdub72 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2008, 04:23 PM
  6. [SOLVED] Sunday to Saturday weekly foreward planner
    By leub in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2006, 12:00 PM
  7. [SOLVED] Is there a way to identify saturday and sunday automatically
    By Unicornlmb in forum Excel General
    Replies: 2
    Last Post: 01-05-2006, 01:40 PM

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