+ Reply to Thread
Results 1 to 11 of 11

Sequence weekly dates in every 13 rows

  1. #1
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    77

    Sequence weekly dates in every 13 rows

    Hi everyone,

    I'm trying to do a sequence of dates on a weekly basis (from sunday to saturday) and position each weeks in every 13 rows without doing all the 53 manual entries.

    Column "A" represents the START DATE of the week and column "B" the END DATE of the week.

    In the file that I've attached (sorry, the format of excel that I use is in french) I mentionned only 4 weeks out of the 53 periods of the year to give you an example of how it would look like. If you need more details let me know and thanks in advance for your help/solutions .
    Attached Files Attached Files
    Last edited by Goodvibe; 06-06-2022 at 04:10 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Sequence weekly dates in every 13 rows

    In C2 copied across:

    =$A2+COLUMNS($D:D)-1

    Copy paste the cell to the other rows and drag copy across.

    Set cell formatting to CUSTOM: d
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,224

    Re: Sequence weekly dates in every 13 rows

    I think I misunderstood the assignment, but the solution may also be useful. The idea is to insert dates in columns A and B every 13th row.
    1. W A3 formuła (English)
    Please Login or Register  to view this content.
    (French)
    Please Login or Register  to view this content.
    2. copy A3 to B3.
    3.
    a/ To not destroy the borders in the following rows copy A3:B3, select the range to paste and use Paste only formula.
    b/ If you can destroy the borders, select A3:B3 and drag down.
    4.
    a/ Select columns A and B, set up the autofilter
    b/ Select in column A (or B) the filter criterion: empty only.
    c/ Select "empty" cells and clear with Delete key
    d/ remove autofilter

    Done

    Artik

  4. #4
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    77

    Re: Sequence weekly dates in every 13 rows

    Hi AliGW!

    It didn't solve the issue regarding what formula can be used to space each week period in every 13 rows but indirectly, you actually helped me solve the other challenge that I've had in regard of the individual days in each week period, thanks Ali, I appreciate it .

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Sequence weekly dates in every 13 rows

    Glad to have helped.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  6. #6
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    77

    Re: Sequence weekly dates in every 13 rows

    Hi Artik!

    Sorry, your formula was giving me a VALUE error? To make it less confusing, I've updated the file attachment with only 1 sheet showing the 53 weeks which I'm trying to space each week every 13 rows. But thanks for trying to give me a solution. If my request is still not clear, let me know and I'll try to explain it differently .

  7. #7
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    77

    Re: Sequence weekly dates in every 13 rows

    The original question is not yet resolved but you still did help me with another issue that I had . Thanks for reminding me regarding the reputation icon, I totally forgot. I wasn't connected for a while).

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Sequence weekly dates in every 13 rows

    See attached Sheet1 where Artik's formula has been applied. Is this what you require?
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  9. #9
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    77

    Re: Sequence weekly dates in every 13 rows

    Excellent, that's exactly what I was looking for. Thanks to everyone for figuring out the solution, that helps .

    If you don't mind and if it's not too long for you, could you explain the formula to space the weeks every 13 rows (because I want to understand how the formula is constructed).

    If not, no worry, still appreciate the help and time you took to solve it .

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Sequence weekly dates in every 13 rows

    I changed the formula to:

    =IF(MOD(ROWS($1:1),12)=0,A$2+(ROWS($1:1)/12)*7,"")

    using ROWS($1:1) makes it independent of the start row

    See attached which shows the values of the ROWS() and MOD (ROWS(),12) calculations

    ROWS($1:1) dragged down simply provides a count of 1,2,3 ......
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    01-11-2021
    Location
    Canada
    MS-Off Ver
    MS Office 2016
    Posts
    77

    Re: Sequence weekly dates in every 13 rows

    At my actual knowledge of Excel, I wouldn't have figured that formula by myself. Thanks again for all your help !

+ 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: 0
    Last Post: 08-27-2020, 05:26 PM
  2. Need a Formula That Counts rows/dates based on weekly number assigned to it
    By scott sf in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-12-2019, 01:33 PM
  3. insert missing dates for sequence in rows
    By solidwastes in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2016, 06:38 PM
  4. [SOLVED] display weekly dates depending on two variable dates
    By alexander.small in forum Excel General
    Replies: 3
    Last Post: 05-22-2014, 11:30 AM
  5. [SOLVED] Sum a sequence of dates
    By billy2willy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-15-2013, 01:26 AM
  6. Changing dates as a sequence
    By rmb623 in forum Excel General
    Replies: 2
    Last Post: 03-30-2011, 12:22 PM
  7. How do I set Up Dates - WEEKLY?
    By rkrieg in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-08-2009, 06:13 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