LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 605
Default SUMPRODUCT --- semicolon (;) vs. plus sign (+)

In order *not* to confuse SUMPRODUCT, we use semicolon as argument separator when comma is used as digit grouping symbol.

e.g.

=SUMPRODUCT(--(A1:A10=123,45);--(B1:B10="abc");C1:C10)

However, we use the plus sign (+) to indicate both OR and ADDITION.

e.g.

+ used for "addition"

=SUMPRODUCT(--(C2:C31="TLG"),--(H2:H31="TLG"),D2:D31+I2:I31)

+ used for "or"

=SUMPRODUCT(--(((A1:A10="Ford")+(B1:B10="June"))0))

I guess SUMPRODUCT knows that the "+" means "or" because of the equal sign (i.e. logical test)? Why not use double plus (++) for "or" test? Just a thought. Don't mean to confuse anyone.

I find all this interesting.

Epinn

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The fx button and the "=" sign Carolyn Excel Discussion (Misc queries) 3 August 23rd 06 11:04 PM
EQUAL SIGN K Nguyen Excel Discussion (Misc queries) 2 December 15th 05 07:30 PM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 12:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"