+ Reply to Thread
Results 1 to 12 of 12

Formula return following Wednesday or Friday date.

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253
    Thank you for your response, but I can't get the formula to work.

    Any other ideas? mikeburg

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,679
    Does this work for you, Mike?

    =CHOOSE(WEEKDAY(J2),5,4,3,7,6,5,6)+J2

  3. #3
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253
    No. However, using either formula in cell J27 causes the date of 1/06/00 when it should be the following Friday, 6-06-08 (cell F2 has 06/01/08).

    I have both J2 & J27 formatted 03/14/01, if that means anything.

    Thanks for the help. Any other ideas? mikeburg

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,679
    If J2 contains the date 1-Jun-08 then the formula I suggested will return 6-Jun-08, isn't that the correct result?

    Note: the formatting should make no difference as long as J2 contains a date

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Note:

    My formula also will return June 6, 08 if June 1, 08 appears in J2.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  6. #6
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253
    Yes, 6-Jun-08 is the correct result.

    However, my result is coming up as 06-Jan-00. I just can't understand why.

    mikeburg

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,679
    Are you sure the formula is referencing the correct cell. The formula I suggested;

    =CHOOSE(WEEKDAY(J2),5,4,3,7,6,5,6)+J2

    will show 6-Jan-00 only if J2 is blank

+ 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