Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default why does this formula have to be entered as an array formula?

Here's the formula:
=SUM((C31:C46)*(E31:E46))-SUM((C47:C51)*(E47:E51)/2)+SUM((C54:C59)*(E54:E59))+SUM((C67:C71)*(E67:E71 ))

My guess is that these are matrices being multiplied together and matrix
algebra is different than straight multiplication. So, Excel requires
CTRL+SHIFT+ENTER to tell its calculation enginge to do matrix
multiplication....

Am I correct here?

Also: it seems to me that the same calculation can be done with SUMPRODUCT.

Dave

--
Brevity is the soul of wit.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default why does this formula have to be entered as an array formula?

Check this site for SUMPRODUCT as an alternative to array functions:

http://xldynamic.com/source/xld.SUMPRODUCT.html
--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Dave F" wrote in message ...
| Here's the formula:
| =SUM((C31:C46)*(E31:E46))-SUM((C47:C51)*(E47:E51)/2)+SUM((C54:C59)*(E54:E59))+SUM((C67:C71)*(E67:E71 ))
|
| My guess is that these are matrices being multiplied together and matrix
| algebra is different than straight multiplication. So, Excel requires
| CTRL+SHIFT+ENTER to tell its calculation enginge to do matrix
| multiplication....
|
| Am I correct here?
|
| Also: it seems to me that the same calculation can be done with SUMPRODUCT.
|
| Dave
|
| --
| Brevity is the soul of wit.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 947
Default why does this formula have to be entered as an array formula?

=SUM((C31:C46)*(E31:E46))-SUM(...)/2+Sum(...) + Sum(...)

If you wish, you could use just one "Sum" function as in this Array formula.

=SUM(C31:C46*E31:E46,-(C47:C51*E47:E51)/2,C54:C59*E54:E59,C67:C71*E67:E71)

--
HTH :)
Dana DeLouis


"Dave F" wrote in message
...
Here's the formula:
=SUM((C31:C46)*(E31:E46))-SUM((C47:C51)*(E47:E51)/2)+SUM((C54:C59)*(E54:E59))+SUM((C67:C71)*(E67:E71 ))

My guess is that these are matrices being multiplied together and matrix
algebra is different than straight multiplication. So, Excel requires
CTRL+SHIFT+ENTER to tell its calculation enginge to do matrix
multiplication....

Am I correct here?

Also: it seems to me that the same calculation can be done with
SUMPRODUCT.

Dave

--
Brevity is the soul of wit.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default why does this formula have to be entered as an array formula?

Thanks
--
Brevity is the soul of wit.


"Niek Otten" wrote:

Check this site for SUMPRODUCT as an alternative to array functions:

http://xldynamic.com/source/xld.SUMPRODUCT.html
--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Dave F" wrote in message ...
| Here's the formula:
| =SUM((C31:C46)*(E31:E46))-SUM((C47:C51)*(E47:E51)/2)+SUM((C54:C59)*(E54:E59))+SUM((C67:C71)*(E67:E71 ))
|
| My guess is that these are matrices being multiplied together and matrix
| algebra is different than straight multiplication. So, Excel requires
| CTRL+SHIFT+ENTER to tell its calculation enginge to do matrix
| multiplication....
|
| Am I correct here?
|
| Also: it seems to me that the same calculation can be done with SUMPRODUCT.
|
| Dave
|
| --
| Brevity is the soul of wit.



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 clue needed Dallman Ross Excel Discussion (Misc queries) 5 September 25th 06 12:29 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Array formula returning wrong results TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 November 19th 05 10:29 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with array formula Excel Worksheet Functions 2 January 20th 05 04:17 PM


All times are GMT +1. The time now is 07:48 PM.

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

About Us

"It's about Microsoft Excel"