Consulting

Results 1 to 4 of 4

Thread: Solved: explain formula

  1. #1
    VBAX Mentor anandbohra's Avatar
    Joined
    May 2007
    Location
    Mumbai
    Posts
    313
    Location

    Solved: explain formula

    Hi friends,
    yesterday while searching for excel files i found this file in www.contextures.com.
    pl explain me the syntax used in this sumproduct formula

    =SUMPRODUCT(--(ColourList=B18),(UnitsList),--(DateList>=$C$2),--(DateList<=$E$2))
    what does this -- stands for

  2. #2
    This is known as a double uniary.
    if you have a number (say) 7 and you apply a duble uniary you get 7.
    Well what was the point of that ?
    Well if you have TRUE and you apply a double uniary you get 1
    And False you get 0
    So it is often used to get boolean values to determine the outcome of a calculation.
    2+2=9 ... (My Arithmetic Is Mental)

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    See http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed explanation.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  4. #4
    VBAX Mentor anandbohra's Avatar
    Joined
    May 2007
    Location
    Mumbai
    Posts
    313
    Location
    THanks for your replies


    thansk XLD this link provides me lots of information about sumproduct.


    thanks to all of you who devoted their precious time in solving my query

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •