+ Reply to Thread
Results 1 to 5 of 5

week ending date?

  1. #1
    Registered User
    Join Date
    08-29-2007
    Posts
    45

    week ending date?

    Hi folks.

    I'm trying to insert a formula into a cell which would return the week ending date.

    i.e if I was to look at this week the date I would want returned would be 13/04/08

    I currently use some vba code to format the filename with the week ending date

    Please Login or Register  to view this content.
    but don't know how I would translate this into a cell formula.

    Can anyone help?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,717
    Try

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

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    How about this?

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


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    hi

    Try
    =TODAY()+(7-WEEKDAY(TODAY(),2))

    If you have other questions about dates you may find Chip's many Date & Time pages useful too:

    http://www.cpearson.com/Excel/datetime.htm

    hth
    Rob

    Edit: Ooopps!
    I'm a bit slow off the mark today, that'll teach me for wandering off to get breakie - now you have an answer in triplicate, hopefully the link is useful though...
    Last edited by broro183; 04-11-2008 at 06:44 PM.
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  5. #5
    Registered User
    Join Date
    08-29-2007
    Posts
    45

    Thumbs up

    thanks guys, that works.

+ 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