Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 605
Default SUMPRODUCT - comma versus semicolon

A1:E1 3 5 6 3 2

=SUMPRODUCT((A1:E1)*{1;2;3;4;5}) returns 285
=SUMPRODUCT((A1:E1)*{1,2,3,4,5}) returns 53

I use evaluate formula and I know what the above formulae do.

I am familiar with commas but semicolons are new to me. Anyone knows of any documentation on SUMPRODUCT and semicolon? Don't think I saw semicolon in Bob's paper.

By the way, SUM+CSE will return the same results respectively.

Please feel free to comment.

Thanks.

Epinn




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default SUMPRODUCT - comma versus semicolon

From XL Help ("About array formulas and array constants"):


Separate values in separate columns with commas (,) and values in
separate rows with semicolons (;). For example, to represent the
values 10, 20, 30, and 40 in four columns, enter {10,20,30,40}; to
represent the same values in four rows, enter {10;20;30;40}. For
2-by-4 array constant (two rows by four columns), you would enter
{10,20,30,40;50,60,70,80}.


So your first formula multiplies each element of A1:E1 by each element
of the one-column array (then adds), while the second formula multiplies
each element of A1:E1 against only its corresponding element in the
one-row array, then adds.


In article ,
"Epinn" wrote:

A1:E1 3 5 6 3 2

=SUMPRODUCT((A1:E1)*{1;2;3;4;5}) returns 285
=SUMPRODUCT((A1:E1)*{1,2,3,4,5}) returns 53

I use evaluate formula and I know what the above formulae do.

I am familiar with commas but semicolons are new to me. Anyone knows of any
documentation on SUMPRODUCT and semicolon? Don't think I saw semicolon in
Bob's paper.

By the way, SUM+CSE will return the same results respectively.

Please feel free to comment.

Thanks.

Epinn

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 605
Default SUMPRODUCT - comma versus semicolon

Thank you Mr. McGimpsey for pointing me to the right direction. I was looking at the wrong places, namely, SUMPRODUCT.

Epinn

"JE McGimpsey" wrote in message ...
From XL Help ("About array formulas and array constants"):


Separate values in separate columns with commas (,) and values in
separate rows with semicolons (;). For example, to represent the
values 10, 20, 30, and 40 in four columns, enter {10,20,30,40}; to
represent the same values in four rows, enter {10;20;30;40}. For
2-by-4 array constant (two rows by four columns), you would enter
{10,20,30,40;50,60,70,80}.


So your first formula multiplies each element of A1:E1 by each element
of the one-column array (then adds), while the second formula multiplies
each element of A1:E1 against only its corresponding element in the
one-row array, then adds.


In article ,
"Epinn" wrote:

A1:E1 3 5 6 3 2

=SUMPRODUCT((A1:E1)*{1;2;3;4;5}) returns 285
=SUMPRODUCT((A1:E1)*{1,2,3,4,5}) returns 53

I use evaluate formula and I know what the above formulae do.

I am familiar with commas but semicolons are new to me. Anyone knows of any
documentation on SUMPRODUCT and semicolon? Don't think I saw semicolon in
Bob's paper.

By the way, SUM+CSE will return the same results respectively.

Please feel free to comment.

Thanks.

Epinn


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default SUMPRODUCT - comma versus semicolon

I didn't include in the paper as it is not a SP matter particularly, more to
do with how arrays are handled. But it is interesting, and I might try to
include something about it.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Epinn" wrote in message
...
A1:E1 3 5 6 3 2

=SUMPRODUCT((A1:E1)*{1;2;3;4;5}) returns 285
=SUMPRODUCT((A1:E1)*{1,2,3,4,5}) returns 53

I use evaluate formula and I know what the above formulae do.

I am familiar with commas but semicolons are new to me. Anyone knows of any
documentation on SUMPRODUCT and semicolon? Don't think I saw semicolon in
Bob's paper.

By the way, SUM+CSE will return the same results respectively.

Please feel free to comment.

Thanks.

Epinn





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 605
Default SUMPRODUCT - comma versus semicolon

Bob and Roger,

...... it is not a SP matter particularly......<<


I think you know me by now. Remember how I thought Boolean was for SUMPRODUCT only? This is no different; I thought this comma/semicolon issue is SUMPRODUCT related. This is a case of history repeating and SUMPRODUCT addiction. Please feel free to laugh; consider this your joke for the day.

My memory is coming back. Thank you, Mr. McGimpsey for your help. I have seen formulae using comma and semicolon before. I was thrown off by the fact that there was only one number and then a semicolon. You know I am used to seeing 1,2;3,4;5,6 ...... something like that.

I have to refresh myself some more and I won't close this thread yet.

Have you read my discovery of today? Under the thread "Interpreting comma .....," I talked about =IF(A1,) with A1 containing all sorts of values. Lately, I seem to have some affinity with comma. <G

Epinn

"Bob Phillips" wrote in message ...
I didn't include in the paper as it is not a SP matter particularly, more to
do with how arrays are handled. But it is interesting, and I might try to
include something about it.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Epinn" wrote in message
...
A1:E1 3 5 6 3 2

=SUMPRODUCT((A1:E1)*{1;2;3;4;5}) returns 285
=SUMPRODUCT((A1:E1)*{1,2,3,4,5}) returns 53

I use evaluate formula and I know what the above formulae do.

I am familiar with commas but semicolons are new to me. Anyone knows of any
documentation on SUMPRODUCT and semicolon? Don't think I saw semicolon in
Bob's paper.

By the way, SUM+CSE will return the same results respectively.

Please feel free to comment.

Thanks.

Epinn








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default SUMPRODUCT - comma versus semicolon

Which group is that in?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Epinn" wrote in message
...
Bob and Roger,

...... it is not a SP matter particularly......<<


I think you know me by now. Remember how I thought Boolean was for
SUMPRODUCT only? This is no different; I thought this comma/semicolon issue
is SUMPRODUCT related. This is a case of history repeating and SUMPRODUCT
addiction. Please feel free to laugh; consider this your joke for the day.

My memory is coming back. Thank you, Mr. McGimpsey for your help. I have
seen formulae using comma and semicolon before. I was thrown off by the
fact that there was only one number and then a semicolon. You know I am
used to seeing 1,2;3,4;5,6 ...... something like that.

I have to refresh myself some more and I won't close this thread yet.

Have you read my discovery of today? Under the thread "Interpreting comma
......," I talked about =IF(A1,) with A1 containing all sorts of values.
Lately, I seem to have some affinity with comma. <G

Epinn

"Bob Phillips" wrote in message
...
I didn't include in the paper as it is not a SP matter particularly, more to
do with how arrays are handled. But it is interesting, and I might try to
include something about it.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Epinn" wrote in message
...
A1:E1 3 5 6 3 2

=SUMPRODUCT((A1:E1)*{1;2;3;4;5}) returns 285
=SUMPRODUCT((A1:E1)*{1,2,3,4,5}) returns 53

I use evaluate formula and I know what the above formulae do.

I am familiar with commas but semicolons are new to me. Anyone knows of any
documentation on SUMPRODUCT and semicolon? Don't think I saw semicolon in
Bob's paper.

By the way, SUM+CSE will return the same results respectively.

Please feel free to comment.

Thanks.

Epinn







  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 605
Default SUMPRODUCT - comma versus semicolon

http://groups.google.ca/group/micros...9d198d fdaecd
or
http://tinyurl.com/yyanyg

Third post on my discovery of =IF(A1,)

I find INDEX and comma dialogue with JMB interesting as well. This is what led me to IF and comma.

Thanks for your attention.

Epinn

"Bob Phillips" wrote in message ...
Which group is that in?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Epinn" wrote in message
...
Bob and Roger,

...... it is not a SP matter particularly......<<


I think you know me by now. Remember how I thought Boolean was for
SUMPRODUCT only? This is no different; I thought this comma/semicolon issue
is SUMPRODUCT related. This is a case of history repeating and SUMPRODUCT
addiction. Please feel free to laugh; consider this your joke for the day.

My memory is coming back. Thank you, Mr. McGimpsey for your help. I have
seen formulae using comma and semicolon before. I was thrown off by the
fact that there was only one number and then a semicolon. You know I am
used to seeing 1,2;3,4;5,6 ...... something like that.

I have to refresh myself some more and I won't close this thread yet.

Have you read my discovery of today? Under the thread "Interpreting comma
......," I talked about =IF(A1,) with A1 containing all sorts of values.
Lately, I seem to have some affinity with comma. <G

Epinn

"Bob Phillips" wrote in message
...
I didn't include in the paper as it is not a SP matter particularly, more to
do with how arrays are handled. But it is interesting, and I might try to
include something about it.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Epinn" wrote in message
...
A1:E1 3 5 6 3 2

=SUMPRODUCT((A1:E1)*{1;2;3;4;5}) returns 285
=SUMPRODUCT((A1:E1)*{1,2,3,4,5}) returns 53

I use evaluate formula and I know what the above formulae do.

I am familiar with commas but semicolons are new to me. Anyone knows of any
documentation on SUMPRODUCT and semicolon? Don't think I saw semicolon in
Bob's paper.

By the way, SUM+CSE will return the same results respectively.

Please feel free to comment.

Thanks.

Epinn








Reply
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
SUMPRODUCT search versus other method Serge Excel Discussion (Misc queries) 3 November 13th 06 09:14 AM
SUMPRODUCT --- semicolon (;) vs. plus sign (+) Epinn Excel Worksheet Functions 5 September 28th 06 04:03 PM
Adding "OR" to a Sumproduct Formula Duke Carey Excel Worksheet Functions 0 March 21st 06 06:41 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:45 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"