+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT * versus ,

  1. #1
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    SUMPRODUCT * versus ,

    I've seen SUMPRODUCT formulas written with either a comma or an asterisk (times) between arrays. Excel Help only mentions commas. When would you use one or the other OR do they work interchangeably? Thanks

    ChemistB

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Have a look here. It explains the Sumproduct function well and shows the difference between * and ,

    http://www.xldynamic.com/source/xld.SUMPRODUCT.html
    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 Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by ChemistB
    I've seen SUMPRODUCT formulas written with either a comma or an asterisk (times) between arrays. Excel Help only mentions commas. When would you use one or the other OR do they work interchangeably? Thanks

    ChemistB

    There is a subtle difference. Using the '*' will return an ERROR if the ranges include a text value in a column of numbers, which usually occurs when a table field heading is included above a column of numbers. Using the ',' along with a '--' double unary operator gets round this problem.

    For an excellent and in my opinion the definitive discussion on SUMPRODUCT, you should look at the following URL - and bookmark it. I've lost count of the number of times I've referred to it.

    http://www.xldynamic.com/source/xld.SUMPRODUCT.html


    HTH

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Thanks NBVC! That pretty much explains everything.

    ChemistB

+ 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