Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMPRODUCT search versus other method | Excel Discussion (Misc queries) | |||
SUMPRODUCT --- semicolon (;) vs. plus sign (+) | Excel Worksheet Functions | |||
Adding "OR" to a Sumproduct Formula | Excel Worksheet Functions | |||
Sumproduct function not working | Excel Worksheet Functions | |||
adding two sumproduct formulas together | Excel Worksheet Functions |