#1   Report Post  
Posted to microsoft.public.excel.misc
JimMay
 
Posts: n/a
Default Sumproduct Function

I use the Sumproduct() function extensively;
Obviously, there are also in use, significant Control-Array
Formulas (which I have used, but less often). Can
Someone tell me the what differentiates the two?
At some point (it seems) the Sumproduct lacks what
The CSE formulas can do, but I cannot express or explain it.
Any clarification would be appreciate.


  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Sumproduct Function

One difference is that you cannot use a straight forward IF in sumproduct
assume

you have this formula

=SUMPRODUCT(--(A1:A660),--(B1:B6="a"),C1:C6)

which will total c1:c6 if certain conditions in A and B are fulfilled
However if there would be an error like #N/A in C it will return that error
This array formula would fix that

=SUM(IF(A1:A660,IF(B1:B6="a",IF(ISNUMBER(C1:C6),C 1:C6))))


--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"JimMay" wrote in message
news:8PXkg.41424$fG3.28516@dukeread09...
I use the Sumproduct() function extensively;
Obviously, there are also in use, significant Control-Array
Formulas (which I have used, but less often). Can
Someone tell me the what differentiates the two?
At some point (it seems) the Sumproduct lacks what
The CSE formulas can do, but I cannot express or explain it.
Any clarification would be appreciate.




  #3   Report Post  
Posted to microsoft.public.excel.misc
JimMay
 
Posts: n/a
Default Sumproduct Function

Thanks Peo,

I heard on Public Radio yesterday that I guy in California,
Who had just bought himself a new "Gold-Dector" put it to use
In his front yard "AND IT BEGAN RAPIDLY TICKING OFF THE SCALE"
He dug a hole 60 feet deep before the City insisted he stop
Digging and begin filling the Hole back up... LOL LOL

Jim May


"Peo Sjoblom" wrote in message
:

One difference is that you cannot use a straight forward IF in sumproduct
assume

you have this formula

=SUMPRODUCT(--(A1:A660),--(B1:B6="a"),C1:C6)

which will total c1:c6 if certain conditions in A and B are fulfilled
However if there would be an error like #N/A in C it will return that error
This array formula would fix that

=SUM(IF(A1:A660,IF(B1:B6="a",IF(ISNUMBER(C1:C6),C 1:C6))))


--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"JimMay" wrote in message
news:8PXkg.41424$fG3.28516@dukeread09...
I use the Sumproduct() function extensively;
Obviously, there are also in use, significant Control-Array
Formulas (which I have used, but less often). Can
Someone tell me the what differentiates the two?
At some point (it seems) the Sumproduct lacks what
The CSE formulas can do, but I cannot express or explain it.
Any clarification would be appreciate.



  #4   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Sumproduct Function

Yep, heard it on NPR as well <bg

--

Peo



"JimMay" wrote in message
news:6JYkg.41427$fG3.8372@dukeread09...
Thanks Peo,

I heard on Public Radio yesterday that I guy in California,
Who had just bought himself a new "Gold-Dector" put it to use
In his front yard "AND IT BEGAN RAPIDLY TICKING OFF THE SCALE"
He dug a hole 60 feet deep before the City insisted he stop
Digging and begin filling the Hole back up... LOL LOL

Jim May


"Peo Sjoblom" wrote in message
:

One difference is that you cannot use a straight forward IF in sumproduct
assume

you have this formula

=SUMPRODUCT(--(A1:A660),--(B1:B6="a"),C1:C6)

which will total c1:c6 if certain conditions in A and B are fulfilled
However if there would be an error like #N/A in C it will return that
error
This array formula would fix that

=SUM(IF(A1:A660,IF(B1:B6="a",IF(ISNUMBER(C1:C6),C 1:C6))))


--

Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
"It is a good thing to follow the first law of holes;
if you are in one stop digging." Lord Healey


"JimMay" wrote in message
news:8PXkg.41424$fG3.28516@dukeread09...
I use the Sumproduct() function extensively;
Obviously, there are also in use, significant Control-Array
Formulas (which I have used, but less often). Can
Someone tell me the what differentiates the two?
At some point (it seems) the Sumproduct lacks what
The CSE formulas can do, but I cannot express or explain it.
Any clarification would be appreciate.





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
Skipping cells when using SUMPRODUCT function Jason Excel Discussion (Misc queries) 2 June 8th 06 02:30 PM
Summing multiple tab using sumproduct function Steve Excel Worksheet Functions 1 May 5th 06 10:17 PM
use of sumproduct function R..VENKATARAMAN Excel Worksheet Functions 4 January 23rd 06 02:33 AM
Sumproduct function neil Excel Discussion (Misc queries) 1 August 11th 05 09:19 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


All times are GMT +1. The time now is 04:50 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"