+ Reply to Thread
Results 1 to 4 of 4

Sumproduct of Positive Numbers Returns 0

  1. #1
    Registered User
    Join Date
    04-21-2011
    Location
    Seattle, WA, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Red face Sumproduct of Positive Numbers Returns 0

    My sum product returns zero if I put >0 condition,

    This my table, C:N
    Please Login or Register  to view this content.

    I want to get sumproduct of total percentage based on the weight mentioned below.

    This gives answer as 79% which is correct
    Please Login or Register  to view this content.
    But, when I do this, I get 0
    Please Login or Register  to view this content.
    I want to get 79% even if there is negative values in the sampled weights. What am I doing wrong
    Last edited by rajivvishwa; 01-16-2014 at 03:45 PM. Reason: Solved

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sumproduct of Positive Numbers Returns 0

    Try

    =SUMPRODUCT(--(C4:N4>0),C4:N4,$C$2:$N$2)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    04-21-2011
    Location
    Seattle, WA, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Sumproduct of Positive Numbers Returns 0

    That worked, silly mistake. I feel ashamed

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sumproduct of Positive Numbers Returns 0

    Double posted..

+ 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. I need answer to only show positive numbers, not minus numbers or zeros
    By stevedork in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-24-2013, 01:18 PM
  2. [SOLVED] Conditional format a cell (contaning a formula) that only returns a positive value
    By Thistledown in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2012, 04:17 AM
  3. Convert negative to positive in sheet containing both positive/negative numbers
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2010, 07:52 PM
  4. IF function returns false positive
    By AJMaine in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-07-2009, 03:09 PM
  5. adding positive and negative numbers all as positive
    By tomvh444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2009, 04:08 PM

Tags for this Thread

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