+ Reply to Thread
Results 1 to 9 of 9

Sum values in a table by Date and repeating values down column A

  1. #1
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Sum values in a table by Date and repeating values down column A

    Hi,

    If you have a list of values in a table with dates across the top row and repeating values down column A (eg, Mar, Dec, Oct, Nov, Mar, Oct) what functions do you use to be able to get the sums for each date and month in another table?
    I thought it might be INDEX and MATCH but all the examples I have seen are so confusing it would be impossible to actually work out how to use these.

    Thanks very much

    Dave

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,398

    Re: Sum values in a table by Date and repeating values down column A

    It would be a SUMPRODUCT construct, but without seeing the data, I can't elaborate. Please upload a sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Re: Sum values in a table by Date and repeating values down column A

    Hi, I have been trying to figure out how to attach a sample. Its certainly well hidden.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,398

    Re: Sum values in a table by Date and repeating values down column A

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  5. #5
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Re: Sum values in a table by Date and repeating values down column A

    10-Nov-18 17-Nov-18 24-Nov-18 1-Dec-18 8-Dec-18
    Feb 1 4 1 4 1
    Apr 4 6 4 6 4
    Jan 5 2 5 2 5
    Mar 8 9 8 9 8
    Feb 2 0 2 0 2
    Mar 8 6 8 6 8
    Jan 2 0 2 0 2
    Apr 7 3 7 3 7



    Totals
    10-Nov-18 17-Nov-18 24-Nov-18 01-Dec-18 08-Dec-18
    Jan
    Feb
    Mar
    Apr


    I need the Sums not Products. Thanks

  6. #6
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Re: Sum values in a table by Date and repeating values down column A

    OK, thanks
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,398

    Re: Sum values in a table by Date and repeating values down column A

    In B15 copied across and down:

    =SUMPRODUCT(($A$2:$A$9=$A15)*($B$1:$F$1=B$14)*$B$2:$F$9)
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    02-09-2011
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    161

    Re: Sum values in a table by Date and repeating values down column A

    Thanks very much AliGW!

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,398

    Re: Sum values in a table by Date and repeating values down column A

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] How to find non-repeating values in Column B for repeating values in Column A
    By jdegeorge in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-16-2017, 01:43 PM
  2. [SOLVED] Need help on repeating values in columns based on the table people count
    By elayaz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-13-2016, 08:32 AM
  3. Replies: 4
    Last Post: 11-08-2014, 06:04 AM
  4. [SOLVED] Drop Down List for table with non-repeating values
    By gajendra.fo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-10-2014, 02:04 AM
  5. Replies: 4
    Last Post: 06-16-2012, 11:18 AM
  6. Select a Date between Two Date Rows, then the Column State and return Table Matrix Values
    By InNeedofHelpASAP in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2012, 11:03 AM
  7. assigning date entries to week values and month values to sum column C-N values C-
    By the accountant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2010, 09:52 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