+ Reply to Thread
Results 1 to 3 of 3

Sumproduct with month and year ???

  1. #1
    Registered User
    Join Date
    03-06-2011
    Location
    Cleveland, Ohio USA
    MS-Off Ver
    Excel 2003
    Posts
    30

    Sumproduct with month and year ???

    I have the following formula thats working, but I want to add the year argument also:

    =SUMPRODUCT(--(MONTH('D:\Documents\Rise-N-Shine\Excel Documents\[Income & Expence Log.xls]expences'!$C$2:$C$9999)=1)*'D:\Documents\Rise-N-Shine\Excel Documents\[Income & Expence Log.xls]expences'!$N$2:$AX$9999)

    Jan/2011

    I tried adding year, but when I do it wants to multiply !$N$2:$AX$9999. What I'm looking for is sum !$N$2:$AX$9999 when =SUMPRODUCT(--(MONTH('D:\Documents\Rise-N-Shine\Excel Documents\[Income & Expence Log.xls]expences'!$C$2:$C$9999)=1)* is Jan/2011 like 1/12/11 or 1/13/11.
    Last edited by jpeirano; 03-17-2011 at 09:09 AM. Reason: Added info

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sumproduct with month and year ???

    Either:

    Please Login or Register  to view this content.
    or:

    Please Login or Register  to view this content.
    I'd normally advocate the latter approach to reduce risk of coercion errors, however, in this instance given the different array dimensions necessitate explicit coercion of the summation range this point is a little moot.

  3. #3
    Registered User
    Join Date
    03-06-2011
    Location
    Cleveland, Ohio USA
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Sumproduct with month and year ???

    Thank you verry much, the first one worked great!
    Last edited by DonkeyOte; 03-17-2011 at 09:08 AM. Reason: removed unnecessary quote

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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