+ Reply to Thread
Results 1 to 8 of 8

Sumproduct Formula

  1. #1
    Registered User
    Join Date
    03-08-2012
    Location
    Riverside
    MS-Off Ver
    Excel 2003
    Posts
    19

    Sumproduct Formula

    I'm trying to find how many times a specific user in column A(User) appears in sheet 1(Data) according to each month in column G(Date). Please assist me in this question.

    Thanks,
    Excel Forum Sumproduct Formula.xlsMadhatter

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Sumproduct Formula

    In cell B2 of your Sumproduct formula Sheet, try:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Sumproduct Formula

    madhatrs26,

    Welcome to the forum!
    In sheet 'Sumproduct Formula' cell B2 and copied over and down:
    =SUMPRODUCT((Data!$A$2:$A$373=$A2)*(TEXT(Data!$G$2:$G$373,"mmm")=B$1)*(YEAR(Data!$G$2:$G$373)=2012))

    EDIT: Beat to the answer by ConneXionLost
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

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

    Re: Sumproduct Formula

    Try =SUMPRODUCT(($A$2:$A$373=A2)*(MONTH($G$2:$G$373)=11)*(YEAR($G$2:$G$373)=2011)). Also, a pivot table might be a good answer.

    Edit: At least you're not the slow one, tigeravatar.
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

  5. #5
    Registered User
    Join Date
    03-08-2012
    Location
    Riverside
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Sumproduct Formula

    ConneXionLost thank you much that worked perfectly!

    Madhatter

  6. #6
    Registered User
    Join Date
    03-08-2012
    Location
    Riverside
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Sumproduct Formula

    I will also place other posts into my archives thank you all!!

    Madhatter

  7. #7
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Sumproduct Formula

    Take note of the others since they included the year.

  8. #8
    Forum Contributor darknation144's Avatar
    Join Date
    01-24-2012
    Location
    London
    MS-Off Ver
    Microsoft Excel 365 MSO
    Posts
    555

    Re: Sumproduct Formula

    Please mark thread as solved.

+ 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