+ Reply to Thread
Results 1 to 9 of 9

Adding weeks below the months row

  1. #1
    Forum Contributor
    Join Date
    01-06-2015
    Location
    london,uk
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2307) 64-bit....Windows 10 Enterprise
    Posts
    118

    Adding weeks below the months row

    Hi Guys,

    I've been trying to add weeks below the months row (row 7). Is it possible to add weeks which automatically appear as we move further down much like how the months function. I'm unfamiliar with the formula. Could you please assist?

    Best regards
    Chris
    Attached Files Attached Files
    Last edited by chris1089; 05-17-2021 at 10:30 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,740

    Re: Adding weeks below the months row

    You've only allocated one column for each month in row 7, so how would you expect to show between 4 and 6 weeks within that space? You would need to insert the relevant number of columns next to each date, and you could then make use of the WEEKNUM function (which will wrap at each year end).

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    01-06-2015
    Location
    london,uk
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2307) 64-bit....Windows 10 Enterprise
    Posts
    118

    Re: Adding weeks below the months row

    Thanks a lot Pete, I've added the weeks, days and months according to the split I intend to have. However, I'm not sure how to do the following. Could you please assist:

    - Adjust row 6 so that years are captured in accordance to row 10 (a manual attempt has been made - see column W and AI)
    - Adjust row 8 so that months are captured in accordance to row 10 (a manual attempt has been made - see column K and R)
    - Extend the Green colour captured in row AA 9-12 (highlights today's date)

    Cheers
    Chris
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    01-06-2015
    Location
    london,uk
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2307) 64-bit....Windows 10 Enterprise
    Posts
    118

    Re: Adding weeks below the months row

    Please assist

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,578

    Re: Adding weeks below the months row

    There is already a formula in row 6 and the years seem to be aligned to the months listed in row 7, so I am confused as to what you want.
    Perhaps try again to manually place years where you want them if they are not there now.
    As to months in row 8, try pasting the following into cell K8 and dragging the fill handle over to cell BG8:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    As to extend the green fill in AA6:AA8 rows 9:10 have merged cells so they won't fill, however if you change the Applies to so that it reads =$K$6:$BN$12 cells AA11:AA12 will fill green.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Forum Contributor
    Join Date
    01-06-2015
    Location
    london,uk
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2307) 64-bit....Windows 10 Enterprise
    Posts
    118

    Re: Adding weeks below the months row

    Thanks! the formula work. Row 7 will be replaced by row 8.

    Apologies for not being clear, I'm trying to:

    - adjust row 6 so its in line with row 10
    - adjust column D & E so the bars shown on the right follow row 9-12
    - adjust the start date in cell C2 or D2 so the workbook responds correctly when i change dates
    - The scroll bar does not respond to row 8-12
    - Skip Saturday and Sunday but maintain correct dates

    Please assist, there are a couple of moving parts I cant seem to figure out
    Attached Files Attached Files
    Last edited by chris1089; 05-15-2021 at 12:19 PM.

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,578

    Re: Adding weeks below the months row

    As to the years in row 6 the formula for L6 and to the right is: =IF(YEAR(L11)=YEAR(K11),"",L11)
    As to the months in row 8 the formula for K8 and to the right is: =IF(AND(K12="M",MONTH(K11)<>MONTH(F11)),K11,"")
    As to the days of the month in row 11 the formula for L11 and to the right is: =WORKDAY(K11,1)
    The highlighting for column H (select cell H14 and then look at the formatting rules) has been changed by setting the range to: =$H$14:$H$87
    The highlighting for columns K:EM (select cell K14 and then look at the formatting rules) has been changed by setting the range to: =$K$14:$EM$8
    The highlighting for today's date has also been modified.
    Note that there are many conditional formatting rules for the worksheet that are assigned to one or a small number of cells. Those formatting rules should be deleted.
    Scroll bars are Active X controls which I don't work with. I'll ask some of the other contributors to take a look and see if they can help.
    Let us know if you have any questions.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    01-06-2015
    Location
    london,uk
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2307) 64-bit....Windows 10 Enterprise
    Posts
    118

    Re: Adding weeks below the months row

    thanks a lot guys, this really helps!

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,578

    Re: Adding weeks below the months row

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Dividing monthly values into weeks automatically (some months have 5 weeks)
    By massimoo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2012, 03:20 AM
  2. Looping by weeks...by months
    By tmd2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-08-2011, 10:45 PM
  3. Months and Weeks
    By Phenatic in forum Excel General
    Replies: 0
    Last Post: 12-14-2010, 03:14 PM
  4. Weeks into Months - Number
    By karobonas in forum Excel General
    Replies: 3
    Last Post: 12-01-2010, 07:17 AM
  5. Dividing months into weeks.
    By a94andwi in forum Excel General
    Replies: 0
    Last Post: 03-28-2007, 09:00 AM
  6. Summing months from weeks
    By eyebitter in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-20-2006, 05:58 PM
  7. WEEKS and MONTHS
    By scwilly in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-25-2005, 05:05 PM

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