+ Reply to Thread
Results 1 to 3 of 3

SUMPRODUCT Difficulties

Hybrid View

  1. #1
    Registered User
    Join Date
    09-05-2013
    Location
    Bedford, England
    MS-Off Ver
    Excel 2007
    Posts
    4

    Unhappy SUMPRODUCT Difficulties

    I am using this SUMPRODUCT formula =SUMPRODUCT(--($C$32:$C$1177=$C8),--($D$32:$D$1177=$D8),--($E$32:$E$1177))

    and I'm getting the #VALUE! as a result.

    Although when I copy a cut down version of the data into another file =SUMPRODUCT(--($C$22:$C$105=$C6),--($D22:$D105=$D6),--($E$22:$E$105))

    this works perfectly. Could this be that the person I received the file from is using an older version of excel, and if that is the case what can I do?

    Thanks.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: SUMPRODUCT Difficulties

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  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: SUMPRODUCT Difficulties

    Remove the double unary minus from the sum range:

    =SUMPRODUCT(--($C$32:$C$1177=$C8),--($D$32:$D$1177=$D8),$E$32:$E$1177)

    Or, better yet, use SUMIFS:

    =SUMIFS($E$32:$E$1177,$C$32:$C$1177,$C8,$D$32:$D$1177,$D8)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Difficulties with sumproduct/choose formula
    By amartino44 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2013, 06:41 PM
  2. Having some difficulties here.
    By rlvmaiden in forum Excel General
    Replies: 1
    Last Post: 05-23-2012, 01:48 PM
  3. Difficulties
    By Guest001 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2008, 07:39 AM
  4. difficulties
    By ernie in forum Excel General
    Replies: 1
    Last Post: 02-13-2006, 04:45 PM
  5. Having difficulties with For If Next loops
    By havocdragon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2005, 02:05 PM

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