+ Reply to Thread
Results 1 to 4 of 4

Dividing monthly values into weeks automatically (some months have 5 weeks)

  1. #1
    Registered User
    Join Date
    05-11-2009
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    27

    Dividing monthly values into weeks automatically (some months have 5 weeks)

    Hi all,

    I've got a bit tricky problem in my hands...

    I have a forecast that I get in a monthly format. I would like to split this forecast evenly into weeks automatically.

    The problem is that I can't really figure out how to handle the months that have 5 weeks. Otherwise I would just create a macro that adds four cells in front of each month and divide the monthly value into weeks.

    The weekly forecast should fall on Tuesday. Any ideas on this one?

    Thanks already in advance!

    Forecast_ExcelForum.xlsx
    Last edited by massimoo; 08-07-2012 at 01:53 AM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    13,764

    Re: Dividing monthly values into weeks automatically (some months have 5 weeks)

    To make weekdays you can use info on the link below.

    http://www.cpearson.com/excel/WeekNumbers.aspx
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    05-11-2009
    Location
    Finland
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Dividing monthly values into weeks automatically (some months have 5 weeks)

    Thanks for the reply Oeldere!

    How could I get the VBA to add 4 or 5 columns in front of the monthly forecast depending on how many Tuesdays a month has?

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2010
    Posts
    6,516

    Re: Dividing monthly values into weeks automatically (some months have 5 weeks)

    Pl see the attached file.
    Attached Files Attached Files

+ 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