+ Reply to Thread
Results 1 to 7 of 7

Populate cell with Week Commencing dates

  1. #1
    Registered User
    Join Date
    06-28-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Question Populate cell with Week Commencing dates

    Hi,

    I have a sheet that contains lots of data. One column shows the date when a job is completed, however i need to produce a regular report on the completions by week commencing date.

    Is there a formula that can add a new cell with the W/C date?

    An example workbook is attached.

    Thanks
    Lucraft
    Attached Files Attached Files
    Last edited by lucraft; 09-07-2011 at 09:42 AM.

  2. #2
    Administrator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Version 2301 (Build 16012.20000) Win 11 Home 64 Bit
    Posts
    22,325

    Re: Populate cell with Week Commencing dates

    deleted -- wrong answer
    Alan


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Populate cell with Week Commencing dates

    Hi,

    One way

    Please Login or Register  to view this content.
    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Administrator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Version 2301 (Build 16012.20000) Win 11 Home 64 Bit
    Posts
    22,325

    Re: Populate cell with Week Commencing dates

    Try this:

    =IF(WEEKDAY(A4,1)=5,A4,IF(WEEKDAY(A4,1)=6,A4-1,IF(WEEKDAY(A4,1)=7,A4-2,IF(WEEKDAY(A4,1)=1,A4-3,IF(WEEKDAY(A4,1)=2,A4-4,IF(WEEKDAY(A4,1)=3,A4-5,A4-6))))))

    Alan

  5. #5
    Registered User
    Join Date
    06-28-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Populate cell with Week Commencing dates

    Thanks for the quick replies guys.

    I forgot to mention that our W/C dates, stupidly start on a Thursday and include weekends, will these still work?

  6. #6
    Administrator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Version 2301 (Build 16012.20000) Win 11 Home 64 Bit
    Posts
    22,325

    Re: Populate cell with Week Commencing dates

    They Should. Test for yourself.

    Alan

  7. #7
    Registered User
    Join Date
    06-28-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Populate cell with Week Commencing dates

    Superb, thanks for the help :D

+ 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