+ Reply to Thread
Results 1 to 4 of 4

What does the -- in a Sumproduct Formula Mean?

  1. #1
    Forum Contributor
    Join Date
    12-13-2007
    Location
    Central New York
    MS-Off Ver
    Home: 2007, Office: 2010
    Posts
    158

    What does the -- in a Sumproduct Formula Mean?

    What does the -- in a Sumproduct Formula Mean?

    I have seen it around but I can't seem to find exactly what it does or what it mean?

    Thanks,

    Mark

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    it coerces the arrays of Trues/Falses generated by each condition within the Sumproduct formula to 1's/0's, respectively... this way the arithmetic can be performed in the function as designed
    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.

  3. #3
    Forum Contributor
    Join Date
    12-13-2007
    Location
    Central New York
    MS-Off Ver
    Home: 2007, Office: 2010
    Posts
    158
    Thanks, I appreciate your quick response, once again.

  4. #4
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256
    It's called negation. That might give you better search results.

    As NVBC mentioned, if we perform a mathematical operation (such as negation) on a non-numeric type (such as a number stored as a string or a logical value), this mathematical operation coerces the non-numeric type into a numeric type. This is a particularly useful concept when using array formulas and SUMPRODUCT.

    Negation is preferred to other mathematical operations (such as addition or multiplication) because it is more efficient. Negation is also more efficient than the various functions that are available to explicitly convert the data types too.

    Colin

+ 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