+ Reply to Thread
Results 1 to 7 of 7

Sumproduct formula not working

  1. #1
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Sumproduct formula not working

    Hi-

    Can you take a look at attached. In front tab commissions, my sumproduct formula is not working. It's grabbing data from eze data tab. The Year to date works, but when i want to further break it down to q1, it doesn't work. I have only attached a sample of my data.

    Thankssumproduct questioin.xlsx

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Sumproduct formula not working

    Your formula for Q1 is:
    =SUMPRODUCT(('EZE DATA'!$M$2:$M$1962)*('EZE DATA'!$D$2:$D$1962="ACTNS")*('EZE DATA'!$E$2:$E$1962="LatAm")*('EZE DATA'!C2:CC22000="Q1"))

    Looking at the bit for Q1:
    'EZE DATA'!C2:CC22000

    I'd say you have a typo and this should be
    'EZE DATA'!$C$2:$C$1962

    When using sumproduct I'd suggest it's normally a good idea to keep the arrays the same size...

  3. #3
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Sumproduct formula not working

    when I made it the same size it worked. That's strange that you have to do that. Thanks

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Sumproduct formula not working

    With .xlsx files you can use the much more efficient SUMIFS instead...

    =SUMIFS('EZE DATA'!$M$2:$M$1962,'EZE DATA'!$D$2:$D$1962,"ACTNS",'EZE DATA'!$E$2:$E$1962,"LatAm",'EZE DATA'!$C$2:$C$1962,"Q1")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sumproduct formula not working

    Or with an pivot table.

    See the attached file.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Sumproduct formula not working

    I like the look of a pivot table better. Since I use the eze data tab daily to import daily info, is there a way for the pivot table to update automatically daily? I tested it to add more data, but it's not pulling in the numbers.

  7. #7
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Sumproduct formula not working

    nevermind, just have to click refresh. If you were to create a macro, is there a way to build that in to refresh the pivot table?

+ 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. Replies: 4
    Last Post: 06-25-2012, 10:16 AM
  2. SUMPRODUCT formula not working
    By KINNEY0201 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-28-2010, 12:26 PM
  3. SUMPRODUCT formula with COUNTIF not working
    By Trueman_86 in forum Excel General
    Replies: 2
    Last Post: 07-15-2010, 06:58 AM
  4. SumProduct Formula not working
    By jfwidt in forum Excel General
    Replies: 6
    Last Post: 02-03-2010, 05:18 PM
  5. Sumproduct Formula Not Working Consistently - Date Issue
    By gav0101 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-19-2008, 10:30 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