+ Reply to Thread
Results 1 to 8 of 8

Setting up a date that changes once a week

  1. #1
    Registered User
    Join Date
    05-18-2008
    Posts
    4

    Setting up a date that changes once a week

    I would like to set up a cell that will be labeled "Week Beginning" and have that date change automatically at the beginning of every week, either on Sunday or Monday . . . most likely Sunday. I can't seem to figure out how to do this.

    I'm just starting out with Excel 2007 and perhaps the newbie forum would be more appropriate but, I thought I'd give this board a try first.

    Thanks for listening!!!

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    How about

    ="Week Beginning: " & TEXT(NOW()-WEEKDAY(NOW())+1,"dd/mm/yyyy")

    rylo

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    You may have to add a constant to make this come to the right day of the week, but this incriments by 7 once a week.

    =TODAY()-WEEKDAY(TODAY())
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Registered User
    Join Date
    05-18-2008
    Posts
    4
    Quote Originally Posted by mikerickson
    You may have to add a constant to make this come to the right day of the week, but this incriments by 7 once a week.

    =TODAY()-WEEKDAY(TODAY())

    Thanks . . .

    To start the week at today, Sunday and ending with Saturday the 24th I used

    =TODAY()+WEEKDAY(0,2) . . .

    Will this function increment once a week or once a day?

    cheese . . .

  5. #5
    Registered User
    Join Date
    05-18-2008
    Posts
    4
    Quote Originally Posted by cheesesteak
    Thanks . . .

    To start the week at today, Sunday and ending with Saturday the 24th I used

    =TODAY()+WEEKDAY(0,2) . . .

    Will this function increment once a week or once a day?

    cheese . . .
    Nope . . . this didn't work

    =TODAY()+WEEKDAY(,2)+1 gives me the right week ending date for this week for now . . . but I'm not sure what I did or what it means or if it'll give me the correct values when next week comes around.

  6. #6
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    I think the formula that you'ld want is

    =TODAY()-WEEKDAY(TODAY(),2)

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,705
    If you want the formula to change to 25th May 2008 on this coming Sunday and remain on that date until the next Sunday.....

    =TODAY()-WEEKDAY(TODAY())+1

  8. #8
    Registered User
    Join Date
    05-18-2008
    Posts
    4
    Quote Originally Posted by daddylonglegs
    If you want the formula to change to 25th May 2008 on this coming Sunday and remain on that date until the next Sunday.....

    =TODAY()-WEEKDAY(TODAY())+1

    Thank you . . . that'll work just fine!

    cheese . . .

+ 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