+ Reply to Thread
Results 1 to 12 of 12

Formula return following Wednesday or Friday date.

Hybrid View

mikeburg Formula return following... 06-10-2008, 01:06 PM
NBVC Try: ... 06-10-2008, 01:16 PM
mikeburg Thank you for your response,... 06-11-2008, 07:49 PM
daddylonglegs Does this work for you, Mike?... 06-11-2008, 08:16 PM
mikeburg No. However, using either... 06-13-2008, 04:22 PM
daddylonglegs If J2 contains the date... 06-13-2008, 05:00 PM
NBVC Note: My formula also will... 06-13-2008, 05:14 PM
mikeburg Yes, 6-Jun-08 is the correct... 06-13-2008, 06:28 PM
daddylonglegs Are you sure the formula is... 06-13-2008, 06:37 PM
mikeburg That's what's wrong. I had... 06-13-2008, 07:08 PM
technique17 Re: Formula return following... 06-30-2010, 01:59 PM
daddylonglegs Re: Formula return following... 06-30-2010, 02:04 PM
  1. #1
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,695
    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

  2. #2
    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.

  3. #3
    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

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,695
    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

  5. #5
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253
    That's what's wrong. I had the date in the wrong cell. Thanks a million!

    Both formula's now seem to work.

    mikeburg

+ 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