+ Reply to Thread
Results 1 to 4 of 4

Thread: Prorate formula for weekly to monthly data

  1. #1
    Registered User
    Join Date
    10-27-2010
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    2

    Prorate formula for weekly to monthly data

    I often have data sets that run on a weekly basis, but I need to prorate the weekly data into an estimated monthly total. I will take the number of days that fall in each month from the first week of the month and apply X number of days of that week's data into the current month, with the remaining portion going to the previous month. For example, if I have a weekly number of 700 for a week that ended October 4, 4 days of that value, or 400would be applied to October, while the other 3 days that were in September will add 300 to the September total. All of the full weeks that are fall in the month are simply added.

    Below is a sample of data I use. The first week would have 479 applied to June (839/7*4 - for 4 days in June), while the last week would have 611 added to June (855/7*5), with June being a total of 3607.

    6/4/10 839
    6/11/10 839
    6/18/10 846
    6/25/10 832
    7/2/10 855

    Is there a ongoing formula I could use to copy down for it to always calculate the splits across the first weeks of each month and provide a running monthly total as the formula is copied down?

    Thanks
    Last edited by randym44; 10-27-2010 at 04:14 PM.

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    6,566

    Re: Prorate formula for weekly to monthly data

    Hi,

    One way with your table in A1:B5

    In say C1 and copied down
    =B1/7*IF(DAY(A1)<7,DAY(A1),7)+IF(MONTH(A2)<>MONTH(A1),B2/7*(DAY(EOMONTH(A1,0))-DAY(A1)),0)
    HTH
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

  3. #3
    Registered User
    Join Date
    10-27-2010
    Location
    Chicago
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Prorate formula for weekly to monthly data

    Thank you very much. That will work perfectly for the weekly prorated values. I'll just have to create a running monthly total formula in the next column over to have it continue to sum each of the values for the current month and have it start over when there is a month change. Very much appreciated.

  4. #4
    Registered User
    Join Date
    02-28-2011
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Prorate formula for weekly to monthly data

    Hi Randy,

    Did this formula worked for you? I tried it but results are

    column A

    26/10/2008
    02/11/2008
    09/11/2008
    16/11/2008
    23/11/2008
    30/11/2008
    07/12/2008
    14/12/2008
    Coulmn B

    3,813.8
    2,870.5
    3,335.9
    2,716.9
    2,975.1
    3,036.0
    3,269.0
    4,700.5

    Results I got are
    5,864.2
    820.1
    3,335.9
    2,716.9
    2,975.1
    3,036.0
    3,269.0
    4,700.5

    Now I can see the weeks from same month didn't change but if you look at the second entry It actually just gave me the sale for only 1st of Nov but not the week starting from 2/11/2008.
    So how did you solve this problem.

    Would appreciate your help

+ 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.2.0