+ Reply to Thread
Results 1 to 2 of 2

SUM of same month and year values

  1. #1
    Registered User
    Join Date
    01-29-2010
    Location
    montreal, canada
    MS-Off Ver
    Excel 2003
    Posts
    1

    SUM of same month and year values

    Hi,

    I have a problem adding values that belongs to same month and year.

    Here's the case:

    Sheet 1:
    Column A: Random Dates
    Column B: Random values ($)

    Sheet 2:
    I would like to sum the values belonging to each month of every year to consolidate the entire $ values. So, 5/1/2009 and 5/25/2009 would add. 5/1/2009 and 5/25/2010 won't add. In that matter, I would like to be able to add more than 50 values (as much as I want) for one month...


    PS: my worksheet contains more than 1000 different values with a period of 5 years.
    Thanks all!

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: SUM of same month and year values

    =Sumproduct((Year(A1:A1000)=2009)*(Month(A1:A1000)=5)*(B1:B1000)) will work for May 2009. Note that you can't use full column references with Sumproduct in Excel versions before 2007.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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