Excel calculation engine

C

CHEE HAU

Does anybody know how Excel calculates certain functions
such as SUMPRODUCT and SUMIF in memory?

So, for SUMPRODUCT, does Excel multiply the nth element in
1st array against the corresponding nth element in 2nd
array to create a temporary value which is then added to
the calculated value of n-1 element in 1st array
multiplied by the corresponding n-1 element in 2nd array?

Or does Excel create a third array in memory and populate
each element with the corresponding calculated value of
1st array multiplied by 2nd array before summing up?
 
C

CHEE HAU

I considered that too but for built-in funcrions, the
formula auditing calculates straight through to the answer.

You are right about the usefulness of the functionality
when determining if the array formulas are working as you
envisage.

Thanks
CHEE
 
H

Harlan Grove

Does anybody know how Excel calculates certain functions
such as SUMPRODUCT and SUMIF in memory?

So, for SUMPRODUCT, does Excel multiply the nth element in
1st array against the corresponding nth element in 2nd
array to create a temporary value which is then added to
the calculated value of n-1 element in 1st array
multiplied by the corresponding n-1 element in 2nd array?

Or does Excel create a third array in memory and populate
each element with the corresponding calculated value of
1st array multiplied by 2nd array before summing up?

Since these are effectively 'black boxes', why does it matter?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top