+ Reply to Thread
Results 1 to 4 of 4

Change date to the following Sunday

  1. #1
    Registered User
    Join Date
    01-07-2008
    Posts
    65

    Change date to the following Sunday

    I have a series of dates and I would like to create in the next column formulas that return the following Sunday.

    How can I do this?

    Thanks,
    Justin

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    If date is in A1

    =A1+7-WEEKDAY(A1-1)

    If A1 is a Sunday then the formula returns the same date

  3. #3
    Registered User
    Join Date
    01-07-2008
    Posts
    65
    It's not working. The first cell I want to pull from is E4 so I replaced A1 with E4. It's giving me a "#Value!" message.

    Am I doing something wrong. It seems like a pretty straight forward formula.

    Thanks,
    Justin

  4. #4
    Registered User
    Join Date
    01-07-2008
    Posts
    65
    Got it! I just needed to put (E4) after the WEEKDAY.

    Thanks so much,
    Justin

+ 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. looping issues
    By Marcus Gee in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2007, 11:42 PM
  2. Insert Row with month of date change
    By cindy7 in forum Excel General
    Replies: 2
    Last Post: 07-30-2007, 07:14 AM
  3. Date change
    By Alive in forum Excel General
    Replies: 2
    Last Post: 04-17-2007, 11:07 AM
  4. Next Date
    By kwiklearner in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-12-2007, 11:37 AM
  5. Change date to UTC format
    By truantjlj50 in forum Excel General
    Replies: 3
    Last Post: 11-09-2006, 11:49 AM

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