+ Reply to Thread
Results 1 to 11 of 11

Using weekly data to convert to monthly

  1. #1
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Using weekly data to convert to monthly

    I already have quite a comprehensive spreadsheet (imho) thanks to the guys on here and I would like to use the data I have which is broken into weeks converting into months.

    So, I have a column with all the weeks with week commencing dates. On another sheet I would like to consolidate the week commencing rows into a monthly figure. For example, 05/07/10, 12/07/10, 19/07/10 and 26/07/10 would be combined into a single July row.

    I have attached the spreadsheet which should show it clearer. I thought at first it would be a case of pointing the 4 cell references (4 weeks) to the monthly sheet but some months fall with 5 week commences.

    Many Thanks
    David
    Attached Files Attached Files
    Last edited by 1.zer0; 09-28-2010 at 01:12 PM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Using weekly data to convert to monthly

    And how do you want to split data referring to a week that's part of different months?

  3. #3
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Using weekly data to convert to monthly

    Ahh good point. Is that something that would be easy to do? I know it would mean the weekly 'input' sheets would need a date column but suppose it would take an overhaul of the weekly and monthly totals sheet?

    It's not crucial that they are separated that finely. If a date is w/c 26/7/2010 then putting it in July would be ok. As jobs can be accepted weeks after the initial quote I realise there is always going to be some sort of 'lag'.

    We use the sheet to primarily see seasonal trends in workload coming in over the year and to judge marketing impact.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Using weekly data to convert to monthly

    Something like this...
    Last edited by JBeaucaire; 09-27-2010 at 04:09 PM. Reason: sheet removed...see below for latest version
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Using weekly data to convert to monthly

    Yes that looks great JBeaucaire, thanks

    I should be able to use that formulae to populate the rest of it.

    Just as a side note, in your (more expert than mine) opinion, is this the best way to record what I am doing?

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Using weekly data to convert to monthly

    Your design isn't awesome, but it's by no means unusable. If there were horrid issues with it I would point them out and nothing immediate comes to mind. As long as it works for you and is easy t maintain, then go for it.

  7. #7
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Using weekly data to convert to monthly

    It is usable and easy enough to maintain. Although I have no comparison so this way is all I know.

    Feel free to re-design it if you find yourself with a bit of free time!

    Thanks for the code/formula

  8. #8
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Using weekly data to convert to monthly

    I've just noticed, the stuff you have done doesn't quite match up with the months. The 2 rows that have populated are matched to November and December rather than June and July and there is no data for August or September?

  9. #9
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Using weekly data to convert to monthly

    Heh, I have to learn not to trust what I read. You have a column marked MONTH which in every other sheet I've ever used a 1 = January. But on yours I see 1 = June. So, I'll use the word "June" instead to make sure the formula gets it right.

    Here's an update with corrected SUMPRODUCT formulas.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Using weekly data to convert to monthly

    Thanks mate. I did it that way just to note the start of the system. Kind of like the beginning of a financial or tax year!

  11. #11
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Using weekly data to convert to monthly

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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