+ Reply to Thread
Results 1 to 3 of 3

[help] how to sum up values for every day/week/weekday

Hybrid View

  1. #1
    Registered User
    Join Date
    07-14-2015
    Location
    germany
    MS-Off Ver
    2010
    Posts
    5

    [help] how to sum up values for every day/week/weekday

    My chart contains basicly 6 months of data with multiple entries per day. every entry already includes the respective date and weekday

    I would like to know if its possible to sum up and output the results for each individual day and or week and or for all mondays, tuesdays (and so on) combined

    doing that manually would be alot of time.

    thanks for the help.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,427

    Re: [help] how to sum up values for every day/week/weekday

    Assume your dates are in column A, with values to be added in column B. If you list all the individual dates in column D (put the first date in D1 and then this formula in D2, copied down:

    =D1+1

    then you can have this formula in E1:

    =SUMIF(A:A,D1,B:B)

    and then copy this down.

    Put the start date of the first week in G1 and this formula in G2:

    =G1+7

    and copy this down to get weekly dates, then you can have this formula in H1:

    =SUMIFS(B:B,A:A,">="&G1,A:A,"<"&G1+7)

    and copy this down. Finally, put the names of the days of the week in J1 down, and this formula in K1:

    =SUMPRODUCT(--(TEXT(A$1:A$500,"dddd")=J1),B$1:B$500)

    Adjust the ranges to suit, then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    07-14-2015
    Location
    germany
    MS-Off Ver
    2010
    Posts
    5

    Re: [help] how to sum up values for every day/week/weekday

    thanks, worked wonderful

+ 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. Help Returning The Week Day of a Date Without Using DATE and WEEKDAY Functions
    By vampirealexa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2013, 02:12 AM
  2. Rolling 3 week average based on weekday
    By krunk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-23-2013, 05:01 PM
  3. formula/macro. How to convert data (weekday, week number, year) to a date?
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2011, 10:34 PM
  4. Formula to generate date of weekday (e.g. Monday) of given week
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-19-2011, 07:53 PM
  5. Replies: 1
    Last Post: 06-17-2005, 04:05 PM
  6. First and Last Weekday Dates for Each Week of Month
    By Gos-C in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-13-2005, 01:41 PM
  7. Calculate WeekDay Values
    By shrekut in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2005, 07:46 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