<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: What is Excel SUMPRODUCT formula and how to use it?</title>
	<atom:link href="http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/feed/" rel="self" type="application/rss+xml" />
	<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/</link>
	<description>Fresh Excel Tips, Tricks, Charts, Tutorials, Downloads, Dashboards and Visualization Showcase for your Inspiration and Productivity</description>
	<lastBuildDate>Fri, 12 Mar 2010 14:51:28 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 31 Excel Tutorials &#8211; Learn and Be Awesome in Excel &#124; Pointy Haired Dilbert: Learn Excel Online - Chandoo.org</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-96880</link>
		<dc:creator>31 Excel Tutorials &#8211; Learn and Be Awesome in Excel &#124; Pointy Haired Dilbert: Learn Excel Online - Chandoo.org</dc:creator>
		<pubDate>Thu, 11 Mar 2010 13:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-96880</guid>
		<description>[...] 12: Introduction to SUMPRODUCT formula  [...]</description>
		<content:encoded><![CDATA[<p>[...] 12: Introduction to SUMPRODUCT formula  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What is Excel SUBTOTAL formula and 5 reasons why you should use it &#124; Pointy Haired Dilbert: Learn Excel Online - Chandoo.org</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-93341</link>
		<dc:creator>What is Excel SUBTOTAL formula and 5 reasons why you should use it &#124; Pointy Haired Dilbert: Learn Excel Online - Chandoo.org</dc:creator>
		<pubDate>Tue, 09 Feb 2010 09:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-93341</guid>
		<description>[...] SUMPRODUCT &#124; VLOOKUP &#124; SUMIF &amp; COUNTIF [...]</description>
		<content:encoded><![CDATA[<p>[...] SUMPRODUCT | VLOOKUP | SUMIF &amp; COUNTIF [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Ferry</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-92723</link>
		<dc:creator>Daniel Ferry</dc:creator>
		<pubDate>Tue, 02 Feb 2010 17:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-92723</guid>
		<description>Chandoo:

The SUMPRODUCT function is the most versatile in Excel. 

It can be used to do multicolumn sorts by array (with no human intervention or VBA required). 

It can determine if a number is prime. 

It can coerce bitwise operations in integers (i.e. bitwise logical AND, OR, XOR, IMP, EQ, and NOT). 

It can be used to supercharge lookup tables with bitmasks. 

It can find the dot product of two vectors.

It can do the database calculations you addressed in this post and has the massive advantage over SUMIF and COUNTIF (and the Excel 2007 SUMIFS and COUTNIFS) that it can handle OR clauses in the criteria.

It can replace most any Array-Entered Formula that uses SUM, and is usually about 10% faster.

This list could go on for pages...

I have a very detailed post on my blog: 

http://www.excelhero.com/blog/2010/01/the-venerable-sumproduct.html

Regards,

Daniel Ferry
excelhero.com/blog</description>
		<content:encoded><![CDATA[<p>Chandoo:</p>
<p>The SUMPRODUCT function is the most versatile in Excel. </p>
<p>It can be used to do multicolumn sorts by array (with no human intervention or VBA required). </p>
<p>It can determine if a number is prime. </p>
<p>It can coerce bitwise operations in integers (i.e. bitwise logical AND, OR, XOR, IMP, EQ, and NOT). </p>
<p>It can be used to supercharge lookup tables with bitmasks. </p>
<p>It can find the dot product of two vectors.</p>
<p>It can do the database calculations you addressed in this post and has the massive advantage over SUMIF and COUNTIF (and the Excel 2007 SUMIFS and COUTNIFS) that it can handle OR clauses in the criteria.</p>
<p>It can replace most any Array-Entered Formula that uses SUM, and is usually about 10% faster.</p>
<p>This list could go on for pages&#8230;</p>
<p>I have a very detailed post on my blog: </p>
<p><a href="http://www.excelhero.com/blog/2010/01/the-venerable-sumproduct.html" rel="nofollow">http://www.excelhero.com/blog/2010/01/the-venerable-sumproduct.html</a></p>
<p>Regards,</p>
<p>Daniel Ferry<br />
excelhero.com/blog</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uktiMike</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-91496</link>
		<dc:creator>uktiMike</dc:creator>
		<pubDate>Wed, 20 Jan 2010 12:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-91496</guid>
		<description>Just fallen on this site - already hooked.

Sumproduct is great. I used to struggle to add multipple criteria up in my spreadsheets, and then someone from UtterAccess.com taught me about Sumproduct. I can&#039;t thank that person enough.

Anyway...many articles to catch up on. Keep up the outstanding work.</description>
		<content:encoded><![CDATA[<p>Just fallen on this site &#8211; already hooked.</p>
<p>Sumproduct is great. I used to struggle to add multipple criteria up in my spreadsheets, and then someone from UtterAccess.com taught me about Sumproduct. I can&#8217;t thank that person enough.</p>
<p>Anyway&#8230;many articles to catch up on. Keep up the outstanding work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hui...</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-90651</link>
		<dc:creator>Hui...</dc:creator>
		<pubDate>Mon, 11 Jan 2010 09:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-90651</guid>
		<description>Supposedly  -- is slightly faster than any other way of converting the logicals to numbers. 

My preference is to use =SUMPRODUCT(1*(A1:A10... instead of =SUMPRODUCT(--(A1:A10=
As it is easier to read, especially for those not so familiar with formulas.</description>
		<content:encoded><![CDATA[<p>Supposedly  &#8212; is slightly faster than any other way of converting the logicals to numbers. </p>
<p>My preference is to use =SUMPRODUCT(1*(A1:A10&#8230; instead of =SUMPRODUCT(&#8211;(A1:A10=<br />
As it is easier to read, especially for those not so familiar with formulas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Modeste</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-88508</link>
		<dc:creator>Modeste</dc:creator>
		<pubDate>Thu, 17 Dec 2009 11:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-88508</guid>
		<description>Hi Chandoo, Hi Jadam

;o))) there is no use of SUMPRODUCT ....

just you have to name some ranges 
ResDat =Hours!$B$1:$A$Z1 ( ie for 52 dates)
ResNam =Hours !$A$2:$A$1000 ( ie for 1000 names)

in Variance!B2 put this formula
=SUMIF(WBK1!resDat,&quot;&lt;=&quot;&amp;$A$10,INDIRECT(&quot;hours!&quot;&amp;ADDRESS(1+MATCH(A2,WBK1!resNam,0),2)&amp;&quot;:&quot;&amp;ADDRESS(1+MATCH(A2,WBK1!resNam,0),52)))

and pull it down as many time as ressource names
beware : 
dateref of calculation is absolute $A$10
current ressource name is relative : A2

WBK1 is actual Workbook.name

HTH
;o)))</description>
		<content:encoded><![CDATA[<p>Hi Chandoo, Hi Jadam</p>
<p>;o))) there is no use of SUMPRODUCT &#8230;.</p>
<p>just you have to name some ranges<br />
ResDat =Hours!$B$1:$A$Z1 ( ie for 52 dates)<br />
ResNam =Hours !$A$2:$A$1000 ( ie for 1000 names)</p>
<p>in Variance!B2 put this formula<br />
=SUMIF(WBK1!resDat,&#8221;&lt;=&quot;&amp;$A$10,INDIRECT(&quot;hours!&quot;&amp;ADDRESS(1+MATCH(A2,WBK1!resNam,0),2)&amp;&quot;:&quot;&amp;ADDRESS(1+MATCH(A2,WBK1!resNam,0),52)))</p>
<p>and pull it down as many time as ressource names<br />
beware :<br />
dateref of calculation is absolute $A$10<br />
current ressource name is relative : A2</p>
<p>WBK1 is actual Workbook.name</p>
<p>HTH<br />
;o)))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandoo</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-88394</link>
		<dc:creator>Chandoo</dc:creator>
		<pubDate>Wed, 16 Dec 2009 09:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-88394</guid>
		<description>@Jadam... I think this is happening because you cannot define a range like a1:Address(xxx), it has to complete range or complete indirect. Why dont you use INDIRECT(&quot;Hours!$N$621:&quot;&amp;ADDRESS(...)) in the sumproduct.

Also make sure the INDIRECT is wrapped in ()s to avoid any confusion.</description>
		<content:encoded><![CDATA[<p>@Jadam&#8230; I think this is happening because you cannot define a range like a1:Address(xxx), it has to complete range or complete indirect. Why dont you use INDIRECT(&#8221;Hours!$N$621:&#8221;&amp;ADDRESS(&#8230;)) in the sumproduct.</p>
<p>Also make sure the INDIRECT is wrapped in ()s to avoid any confusion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jadam</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-88335</link>
		<dc:creator>Jadam</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-88335</guid>
		<description>bummer, example data formatted ugly....imagine rows and columns, rows and columns</description>
		<content:encoded><![CDATA[<p>bummer, example data formatted ugly&#8230;.imagine rows and columns, rows and columns</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jadam</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-88334</link>
		<dc:creator>Jadam</dc:creator>
		<pubDate>Tue, 15 Dec 2009 22:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-88334</guid>
		<description>I have a sumproduct question!
In my workbook i am working with 2 worksheets: &quot;Hours&quot; &amp; &quot;Variance&quot;.

I am essential developing a variance tool on the variance tab. 

I have a list of employees on the hours tab and the rests of the actual hours that they have worked by dated column.

I am trying to write a formula that totals all of the hours for a single employee based on a given date. See example at the end.

These formulas work as a stand alones:

=ADDRESS(MATCH(A10,Hours!$M$621:$M$725,0)+ROWS(Hours!$L$1:$L$620),MATCH($C$2,Hours!$620:$620),4,1,&quot;Hours&quot;)

=SUMPRODUCT(--(Hours!M621:M725=A10)*Hours!$N$621:$BZ$725)

BUT, when I try to combine the two to get the date variability like I want, Excel says my formula contains an error. Here is what the formula looks like:

=SUMPRODUCT(--(Hours!M621:M725=A10)*Hours!$N$621:ADDRESS(MATCH(A10,Hours!$M$621:$M$725,0)+ROWS(Hours!$L$1:$L$620),MATCH($C$2,Hours!$620:$620),4,1,&quot;Hours&quot;))

Doughnuts all around for anyone who can help me on this one! I suspect that I have a syntax issue in my formula but not sure.


Example: 


Variance Tab			
As of:	11/28/2009		
			
			
Resource	Total hours worked	        Answer should be	
Billy	                                                  	130	
Bob		             Formula                        50	
Joe		              goes                            80	
An		               here                            90	
Jill		                                                160	
			
			
Hours Tab			
			
Resource	11/14/2009	11/28/2009	12/12/2009
Billy	            40	            90	             30
Bob	            30	            20	             80
Joe	            50	            30	             80
An	            80	            10	             40
Jill	            80	            80	             50</description>
		<content:encoded><![CDATA[<p>I have a sumproduct question!<br />
In my workbook i am working with 2 worksheets: &#8220;Hours&#8221; &amp; &#8220;Variance&#8221;.</p>
<p>I am essential developing a variance tool on the variance tab. </p>
<p>I have a list of employees on the hours tab and the rests of the actual hours that they have worked by dated column.</p>
<p>I am trying to write a formula that totals all of the hours for a single employee based on a given date. See example at the end.</p>
<p>These formulas work as a stand alones:</p>
<p>=ADDRESS(MATCH(A10,Hours!$M$621:$M$725,0)+ROWS(Hours!$L$1:$L$620),MATCH($C$2,Hours!$620:$620),4,1,&#8221;Hours&#8221;)</p>
<p>=SUMPRODUCT(&#8211;(Hours!M621:M725=A10)*Hours!$N$621:$BZ$725)</p>
<p>BUT, when I try to combine the two to get the date variability like I want, Excel says my formula contains an error. Here is what the formula looks like:</p>
<p>=SUMPRODUCT(&#8211;(Hours!M621:M725=A10)*Hours!$N$621:ADDRESS(MATCH(A10,Hours!$M$621:$M$725,0)+ROWS(Hours!$L$1:$L$620),MATCH($C$2,Hours!$620:$620),4,1,&#8221;Hours&#8221;))</p>
<p>Doughnuts all around for anyone who can help me on this one! I suspect that I have a syntax issue in my formula but not sure.</p>
<p>Example: </p>
<p>Variance Tab<br />
As of:	11/28/2009		</p>
<p>Resource	Total hours worked	        Answer should be<br />
Billy	                                                  	130<br />
Bob		             Formula                        50<br />
Joe		              goes                            80<br />
An		               here                            90<br />
Jill		                                                160	</p>
<p>Hours Tab			</p>
<p>Resource	11/14/2009	11/28/2009	12/12/2009<br />
Billy	            40	            90	             30<br />
Bob	            30	            20	             80<br />
Joe	            50	            30	             80<br />
An	            80	            10	             40<br />
Jill	            80	            80	             50</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christmas Gift List - Set your budget and track gifts using Excel &#124; Pointy Haired Dilbert: Charting &#38; Excel Tips - Chandoo.org</title>
		<link>http://chandoo.org/wp/2009/11/10/excel-sumproduct-formula/#comment-87465</link>
		<dc:creator>Christmas Gift List - Set your budget and track gifts using Excel &#124; Pointy Haired Dilbert: Charting &#38; Excel Tips - Chandoo.org</dc:creator>
		<pubDate>Mon, 07 Dec 2009 09:46:08 +0000</pubDate>
		<guid isPermaLink="false">http://chandoo.org/wp/?p=2392#comment-87465</guid>
		<description>[...] used SUMPRODUCT liberally to summarize the gift data to show us &#8220;how many people got the gifts&#8221;, [...]</description>
		<content:encoded><![CDATA[<p>[...] used SUMPRODUCT liberally to summarize the gift data to show us &#8220;how many people got the gifts&#8221;, [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
