+ Reply to Thread
Results 1 to 3 of 3

Convert daily data set into weekly data set

  1. #1
    Registered User
    Join Date
    03-10-2021
    Location
    England
    MS-Off Ver
    2013
    Posts
    26

    Convert daily data set into weekly data set

    Hi Guys,

    I need to convert a simple but fair large data set that has daily row counts into a weekly row count pivot/table.

    I don't have access to any add ons or anything, just good old Excel.

    The data is a table of sites (columns) and dates (days) (rows). The data has been pulled from another system via VBA coding. It simply returns a value of 1 when the criteria has been met, for each day, for each site, and does nothing if the criteria has not been met. (blank).

    I need to summarise this data into weekly summaries from 2018. It's hard to explain the table so please see attached example.

    Many thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Convert daily data set into weekly data set

    Insert a Column to the left of Column A (new Column A). In A2 type =weeknum(B2) and copy down.

    Now apply the sub total function to Sum all site checkboxes for any change in Column A.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

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

    Re: Convert daily data set into weekly data set

    Or... without a helper column:

    =SUMPRODUCT(--(WEEKNUM($A$2:$A$2000+0)=IY2)*--($B$2:$IV$2000=1))

    where IY contains a list of week numbers from 1 to 54.
    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.

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

+ 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. Convert Time Series OHLC Data Frequency (from Daily to Weekly)
    By krazi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-18-2021, 09:21 PM
  2. Convert Weekly Sales Data into Daily Sales Data
    By vinc28 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-17-2016, 08:38 PM
  3. [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
  4. [SOLVED] Convert daily data to weekly data using SOME formula
    By Miramira in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-30-2014, 02:14 PM
  5. Replies: 3
    Last Post: 10-01-2013, 05:05 AM
  6. [SOLVED] Convert Daily Stock date into weekly data.
    By stockgoblin42 in forum Excel General
    Replies: 13
    Last Post: 05-25-2012, 07:15 AM
  7. convert daily dates/data to weekly
    By sarar in forum Excel General
    Replies: 1
    Last Post: 09-14-2010, 06:28 PM

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