+ Reply to Thread
Results 1 to 5 of 5

Sum Product Not Working

  1. #1
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    Sum Product Not Working

    Maybe I'm using the wrong type of formula.

    But what I need here is the calculation of summing every time a column has a certain year & month.

    For example, in the file attached you'll see column A is the year. Column C is the month. Column D is what I used to add up visits to the gym. So in my recap I have it laid out showing each year vertically & each month horizontally. This allows me to have a recap in a table form. So every time 2008 & July show up sum the visits (from column D).

    Thanks
    Attached Files Attached Files
    Last edited by Statz; 11-18-2016 at 12:55 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Sum Product Not Working

    Try this.

    =SUMPRODUCT(--(Workingout!A$1:A$65536=WoutRecap!$A22),--(Workingout!C$1:C$65536=WoutRecap!B$21),(Workingout!D$1:D$65536))
    If posting code please use code tags, see here.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sum Product Not Working

    Quote Originally Posted by Norie View Post
    =SUMPRODUCT(--(Workingout!A$1:A$65536=WoutRecap!$A22),--(Workingout!C$1:C$65536=WoutRecap!B$21),(Workingout!D$1:D$65536))
    SUMIFS would be more efficient...

    =SUMIFS(Workingout!D:D,Workingout!A:A,WoutRecap!$A22,Workingout!C:C,WoutRecap!B$21)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Contributor
    Join Date
    02-26-2010
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    164

    Re: Sum Product Not Working

    Got it to work. I chose the sumifs. Appreciate both the responses!

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sum Product Not Working

    You're welcome. Thanks for the feedback!

+ 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] Question concerning APR - Will give free access to my product for a working answer
    By dahlniko in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-10-2015, 11:22 AM
  2. Concatenate used for product descriptions not working
    By muddbog in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-17-2014, 10:20 AM
  3. [SOLVED] Sum Product not working
    By pauldaddyadams in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-01-2013, 07:36 AM
  4. Working out product across multiple columns?
    By Aidan Leather in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-02-2013, 07:31 AM
  5. % of one product against the other not working
    By newbieexcelgirl in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-01-2013, 12:32 PM
  6. formula for product not working
    By steve in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-04-2006, 03:55 PM
  7. [SOLVED] excel product key is not working
    By chris in forum Excel General
    Replies: 0
    Last Post: 02-02-2005, 08:06 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