+ Reply to Thread
Results 1 to 5 of 5

create column of weekly data from column of daily data

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    create column of weekly data from column of daily data

    Assume column "A" is a series of 1,500 dates (by day).
    Assume Column "B" contains data for each day.

    How could I create additional columns to show weekly and monthly averages (or sums) from the data in column "B"?

    Thanks!
    Last edited by jrtaylor; 05-03-2017 at 04:20 PM.

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: create column of weekly data from column of daily data

    Hi -

    I would use a pivot table and then group the data by months.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    Re: create column of weekly data from column of daily data

    Any other solutions besides pivot tables? I failed to mention that I'm constantly modifying the formulas in the workbook, and I've never quite figured out how to use pivot tables on a complex work in progress.

  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,152

    Re: create column of weekly data from column of daily data

    one way

    =SUMIFS(B:B,A:A,">=" & D1,A:A,"<= &EOMONTH(D1,0))


    D1 contains the start date of the month you want to SUM e.g. 01/05/2017 for MAY (dd/mm/yy)

    Similar formula for AVERAGEIFS

    For Weekly, you could use the the WEEKNUM function to determine the week number then

    =SUMIF(C:C,2,A:A) for Week 2

    where C has the week number

    Or SUMIFS with week start/week end dates similar to the SUMIFS above.

  5. #5
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    Re: create column of weekly data from column of daily data

    Thanks! These work. I very much 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)

Similar Threads

  1. [SOLVED] create column of weekly data from column of daily data
    By jrtaylor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-03-2017, 02:32 PM
  2. [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
  3. [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
  4. Replies: 1
    Last Post: 04-13-2015, 04:38 PM
  5. [SOLVED] Trying to Create a Calendar with Daily and Weekly Data Totals Directly from a Pivot Table
    By guyupstairs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2013, 12:19 PM
  6. Replies: 3
    Last Post: 10-01-2013, 05:05 AM
  7. [SOLVED] Returning most recent daily data in a column if blanks in column
    By InnesMcc in forum Excel General
    Replies: 2
    Last Post: 11-04-2011, 06:28 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