+ Reply to Thread
Results 1 to 4 of 4

Help with a date formula to copy a w/c date

  1. #1
    Registered User
    Join Date
    11-12-2015
    Location
    london
    MS-Off Ver
    2005
    Posts
    37

    Help with a date formula to copy a w/c date

    Hello

    Im after a little help to see if something is possible.

    I have a spreadsheet which column a is the days for the week, column b is the date. In column C I have the w/c date.

    Is there a formula I can use instead of manually typing (or copying) the week comencing date.

    Any help would be really useful

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,279

    Re: Help with a date formula to copy a w/c date

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    formatted as
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,279

    Re: Help with a date formula to copy a w/c date

    A1 could be just
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    formatted as
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,176

    Re: Help with a date formula to copy a w/c date

    Or try this ...

    ="w/c "&DAY(B1-MOD(B1-2,7))&MID("thstndrdth",MIN(9,2*RIGHT(DAY(B1-MOD(B1-2,7)))
    *(MOD(DAY(B1-MOD(B1-2,7))-11,100)>2)+1),2)&TEXT(B1-MOD(B1-2,7)," mmmm")

+ 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. Replies: 5
    Last Post: 12-01-2015, 02:36 PM
  2. [SOLVED] Formula to compare date (including month and year) from a listed date to today's date
    By mhewitson15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2014, 05:31 PM
  3. Replies: 2
    Last Post: 11-03-2014, 10:29 AM
  4. [SOLVED] Macro to match date in data table and copy cell range containing date.
    By 54ed in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2014, 04:52 AM
  5. Reference a date, then copy and transpose paste into a date specific location
    By nelmsd in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-26-2013, 03:30 PM
  6. Replies: 1
    Last Post: 10-02-2012, 02:42 PM
  7. copy date based on date -refer to date range
    By mindpeace in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-03-2006, 08:35 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