<?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: Counting or summing vlookup in Excel or OpenOffice.org Calc</title>
	<atom:link href="http://www.theblog.ca/vlookup-sumproduct-excel/feed" rel="self" type="application/rss+xml" />
	<link>http://www.theblog.ca/vlookup-sumproduct-excel</link>
	<description>Useful tips on Canada, cell phones, banking, technology, WordPress, PHP and more</description>
	<lastBuildDate>Fri, 10 Feb 2012 07:03:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Lisa</title>
		<link>http://www.theblog.ca/vlookup-sumproduct-excel/comment-page-1#comment-17160</link>
		<dc:creator>Lisa</dc:creator>
		<pubDate>Mon, 21 Nov 2011 18:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=504#comment-17160</guid>
		<description>I also had an issue with SUMPRODUCT in Excel 2010. Didn&#039;t try Dave&#039;s fixed option but did get solution with SUMIF. I was trying to sum debits when the transaction description was &quot;Tx to Savings&quot;. Originally, VLOOKUP worked...the first time... but then duh...there was no instruction to sum. Removed vlookup and SUMIF worked great with *-1 of course to make the debit a positive number. Thanks for the inspiration!

=SUMIF(A2:A20,&quot;Tx to Savings&quot;,B2:B20)*-1</description>
		<content:encoded><![CDATA[<p>I also had an issue with SUMPRODUCT in Excel 2010. Didn&#8217;t try Dave&#8217;s fixed option but did get solution with SUMIF. I was trying to sum debits when the transaction description was &quot;Tx to Savings&quot;. Originally, VLOOKUP worked&#8230;the first time&#8230; but then duh&#8230;there was no instruction to sum. Removed vlookup and SUMIF worked great with *-1 of course to make the debit a positive number. Thanks for the inspiration!</p>
<p>=SUMIF(A2:A20,&quot;Tx to Savings&quot;,B2:B20)*-1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.theblog.ca/vlookup-sumproduct-excel/comment-page-1#comment-12639</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 11 Mar 2010 10:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=504#comment-12639</guid>
		<description>Hi, thanks for your tips. Just thought you might like to know that (my version at least of) Excel doesn&#039;t seem to cope with the first one (I haven&#039;t tested the rest) because of an issue with the result&#039;s format and just returns zero. So some extra brackets and forcing it to be a number-result with +0 helps it out.

Original:
=SUMPRODUCT($A$2:$A$10=D2,$B$2:$B$10)

Fixed for Excel:
=SUMPRODUCT(($A$2:$A$10=D2)+0,$B$2:$B$10)</description>
		<content:encoded><![CDATA[<p>Hi, thanks for your tips. Just thought you might like to know that (my version at least of) Excel doesn&#8217;t seem to cope with the first one (I haven&#8217;t tested the rest) because of an issue with the result&#8217;s format and just returns zero. So some extra brackets and forcing it to be a number-result with +0 helps it out.</p>
<p>Original:<br />
=SUMPRODUCT($A$2:$A$10=D2,$B$2:$B$10)</p>
<p>Fixed for Excel:<br />
=SUMPRODUCT(($A$2:$A$10=D2)+0,$B$2:$B$10)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aziyo</title>
		<link>http://www.theblog.ca/vlookup-sumproduct-excel/comment-page-1#comment-12453</link>
		<dc:creator>Aziyo</dc:creator>
		<pubDate>Tue, 16 Feb 2010 10:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.theblog.ca/?p=504#comment-12453</guid>
		<description>Good tips, Peter.  In problem #1, For large datasets, INDEX &amp; MATCH functions perform much quicker than an exact match VLOOKUP:
=INDEX($B$2:B10,MATCH(D2,$A$2:$A$10,0))
Once you get comfortable with them, you&#039;ll never use a VLOOKUP again.

For the 2nd problem, SUMIF gets the same solutoin and may be easier to wrap your head around:
=SUMIF($A$2:$A$10,D2,$B$2:$B$10)

For #3, an array formula (CTRL-SHIFT-ENTER) using the same logic, but not easy to read:
{=SUM(IF(ISERROR(SEARCH(D2,$A$2:$A$10))=FALSE,$B$2:$B$10))}

Another option is to use a PivotTable with a helper column of String functions to isolate the domain name. This is faster for large datasets (or slow computers!) and doesn&#039;t require re-typing domain names.</description>
		<content:encoded><![CDATA[<p>Good tips, Peter.  In problem #1, For large datasets, INDEX &amp; MATCH functions perform much quicker than an exact match VLOOKUP:<br />
=INDEX($B$2:B10,MATCH(D2,$A$2:$A$10,0))<br />
Once you get comfortable with them, you&#8217;ll never use a VLOOKUP again.</p>
<p>For the 2nd problem, SUMIF gets the same solutoin and may be easier to wrap your head around:<br />
=SUMIF($A$2:$A$10,D2,$B$2:$B$10)</p>
<p>For #3, an array formula (CTRL-SHIFT-ENTER) using the same logic, but not easy to read:<br />
{=SUM(IF(ISERROR(SEARCH(D2,$A$2:$A$10))=FALSE,$B$2:$B$10))}</p>
<p>Another option is to use a PivotTable with a helper column of String functions to isolate the domain name. This is faster for large datasets (or slow computers!) and doesn&#8217;t require re-typing domain names.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

