+ Reply to Thread
Results 1 to 5 of 5

Transforming data from Monthly to Weekly buckets

  1. #1
    Registered User
    Join Date
    02-24-2008
    Location
    Oslo, Norway
    MS-Off Ver
    Office 2013
    Posts
    34

    Post Transforming data from Monthly to Weekly buckets

    Hi all

    I have several years of forecast data on item and market level and in Monthly buckets – more than 30 000 rows.
    I want to transform the data into weekly buckets.
    I cannot find an effective way of doing this in Excel.

    Use the link below to see my sample data with the input and output I want to achieve .

    https://drive.google.com/open?id=0Bx...zE4ZGVPdDZFNmM


    I hope someone is able to help me out on this or give some guidance.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Transforming data from Monthly to Weekly buckets

    In L2, copied down:

    =SUMIFS(E:E,A:A,H2,B:B,I2,C:C,J2,D:D,--LEFT(K2,6))/4

    does this do what you want?? It doesn't match your expected answer, so i guess I'm not following your request.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    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,202

    Re: Transforming data from Monthly to Weekly buckets

    What is the weekly pattern: your file is 4,4,5,4,5,4 for months to June rather than a more predictable 4,4,5 .

  4. #4
    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,202

    Re: Transforming data from Monthly to Weekly buckets

    Using Glenn's formula for 4,4,5

    =SUMIFS(E:E,A:A,H24,B:B,I24,C:C,J24,D:D,--LEFT(K24,6))/IF(MOD(MID(K24,5,2)+0,3)=0,5,4)

  5. #5
    Registered User
    Join Date
    02-24-2008
    Location
    Oslo, Norway
    MS-Off Ver
    Office 2013
    Posts
    34

    Re: Transforming data from Monthly to Weekly buckets

    Thank you all

    I can use your formula, Glenn.
    I was also hoping for getting a formula for the Week output like 20170101, 20170102, 20170103 etc.
    I did this just manually in the sample.
    But your formula for getting the data laid out on weeks works nicely.
    Thank you.

+ 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. Converting weekly to monthly data and Yearly data to monthly
    By MilicaMatovic in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 01-29-2016, 09:48 AM
  2. [SOLVED] Transforming daily data into monthly
    By patafian in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-07-2015, 06:05 AM
  3. Transforming Data from Daily to Weekly
    By Uberz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-02-2013, 07:09 AM
  4. need dates to show as monthly buckets which i can then put in pivot table
    By eugierom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-19-2013, 12:30 PM
  5. TRansforming Daily data into Monthly averages
    By odevoted in forum Excel General
    Replies: 3
    Last Post: 05-28-2010, 11:30 PM
  6. aggregating weekly data into monthly
    By mattbessey in forum Excel General
    Replies: 3
    Last Post: 03-24-2010, 02:14 PM
  7. Replies: 1
    Last Post: 07-11-2008, 05:57 AM

Tags for this Thread

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