Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sam Sam is offline
external usenet poster
 
Posts: 699
Default SumProduct function

I thought that by using the SUMPRODUCT function, rather than Array formulas,
the calculation process would be much quicker. However, with over 5000
functions, the calculation is dreadfully slow. Since I am looking up multiple
criteria, is there a benefit of running one type (SUMPRODUCT VS ARRAY) over
another?

Sam
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default SumProduct function

First, SUMPRODUCT is an array formula. It just doesn't require
CTRL-SHIFT-ENTER.

In general, SUMPRODUCT, when used as designed, e.g.,

=SUMPRODUCT(array1, array2)

is faster than either the corresponding

=SUMPRODUCT(array1 * array2)

or

{=SUM(array1*array2)}

the advantage can range from relatively small to significant.

I suspect that 5000 SUMPRODUCTS with multiple conditions will be
sluggish regardless...

Perhaps you can use calculate and store some intermediate values/arrays
to make calculation quicker.


In article ,
Sam wrote:

I thought that by using the SUMPRODUCT function, rather than Array formulas,
the calculation process would be much quicker. However, with over 5000
functions, the calculation is dreadfully slow. Since I am looking up multiple
criteria, is there a benefit of running one type (SUMPRODUCT VS ARRAY) over
another?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default SumProduct function

http://www.mrexcel.com/board2/viewto...=345161#345161

On Mar 10, 6:53 am, JE McGimpsey wrote:
First, SUMPRODUCT is an array formula. It just doesn't require
CTRL-SHIFT-ENTER.

In general, SUMPRODUCT, when used as designed, e.g.,

=SUMPRODUCT(array1, array2)

is faster than either the corresponding

=SUMPRODUCT(array1 * array2)

or

{=SUM(array1*array2)}

the advantage can range from relatively small to significant.

I suspect that 5000 SUMPRODUCTS with multiple conditions will be
sluggish regardless...

Perhaps you can use calculate and store some intermediate values/arrays
to make calculation quicker.

In article ,

Sam wrote:
I thought that by using the SUMPRODUCT function, rather than Array formulas,
the calculation process would be much quicker. However, with over 5000
functions, the calculation is dreadfully slow. Since I am looking up multiple
criteria, is there a benefit of running one type (SUMPRODUCT VS ARRAY) over
another?



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 function Peter Excel Discussion (Misc queries) 10 February 5th 07 11:24 AM
SUMPRODUCT with Max Function Help [email protected] Excel Worksheet Functions 5 October 3rd 06 12:57 PM
Sumproduct function? Claudia Excel Worksheet Functions 3 July 21st 06 06:08 PM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM
sumproduct function bobf Excel Discussion (Misc queries) 1 March 2nd 05 03:12 PM


All times are GMT +1. The time now is 05:43 PM.

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"