+ Reply to Thread
Results 1 to 6 of 6

Aggregate (sum) daily data to weekly data

  1. #1
    Registered User
    Join Date
    03-15-2023
    Location
    Uganda
    MS-Off Ver
    2016
    Posts
    3

    Aggregate (sum) daily data to weekly data

    Hi Folks. I have daily transaction data that i would like to aggregate to weekly data. The count for week should start from the first day of the data. For instance, if the data date starts on 13-Jan-2022, the end of the week should be t+7 i.e 19-Jan-2022 and that should be categorized as week 1. How can i possibly aggregate this?SampleData2.csv

  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 2406
    Posts
    44,227

    Re: Aggregate (sum) daily data to weekly data

    G2:
    =A2

    G3, copied down:
    =A2+7

    H3, copied down:
    =SUMIFS(B:B,A:A,">="&G2,A:A,"<"&G2+7)
    Attached Files Attached Files
    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

  3. #3
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,299

    Re: Aggregate (sum) daily data to weekly data

    If only so with Power Query
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-15-2023
    Location
    Uganda
    MS-Off Ver
    2016
    Posts
    3

    Re: Aggregate (sum) daily data to weekly data

    Thanks Glenn. This was very helpful

  5. #5
    Registered User
    Join Date
    03-15-2023
    Location
    Uganda
    MS-Off Ver
    2016
    Posts
    3

    Re: Aggregate (sum) daily data to weekly data

    I will explore this as well. Thanks

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

    Re: Aggregate (sum) daily data to weekly data

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. [SOLVED] Converting daily data into weekly and making the weekly number a cumulative return
    By Duchess1 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-28-2015, 10:23 AM
  2. [SOLVED] Formula to Group analytical data imputed daily into daily weekly and monthly analysis.
    By tianasamour in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-13-2015, 06:10 PM
  3. Replies: 1
    Last Post: 04-13-2015, 04:38 PM
  4. Best way to aggregate daily data into weekly data
    By labogola in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-12-2014, 04:36 PM
  5. Replies: 3
    Last Post: 10-01-2013, 05:05 AM
  6. Using COUNTIF to aggregate daily data to weekly
    By perducci in forum Excel General
    Replies: 7
    Last Post: 01-19-2012, 12:47 AM
  7. Replies: 3
    Last Post: 11-19-2010, 06:26 AM

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