<?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: Range within a Range</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Pugsley Scott</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-35961</link>
		<dc:creator>Pugsley Scott</dc:creator>
		<pubDate>Thu, 06 Nov 2008 04:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-35961</guid>
		<description>&lt;p&gt;Wouldn&#039;t the following array formula work?&lt;/p&gt;
&lt;p&gt;{=sum((AA NorthwindInv=A2)*(C:C NorthwindInv))}&lt;br&gt;
I almost always use something like this instead of SUMIF. Which is faster in Excel 2003?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t the following array formula work?</p>
<p>{=sum((AA NorthwindInv=A2)*(C:C NorthwindInv))}<br />
I almost always use something like this instead of SUMIF. Which is faster in Excel 2003?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-35021</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Sat, 11 Oct 2008 13:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-35021</guid>
		<description>&lt;p&gt;Speaking of Fast and Slow...I recently did some speed tests using a Timer available from Ross&#039;s website (methods in excel) &lt;/p&gt;
&lt;p&gt;I am a bit suprised at the results - As I always thought the Sumproduct would win over Array entered Sum - do others have a different trend&lt;/p&gt;
&lt;p&gt;Data 65535 rows - Name, City, Person, Amt&lt;/p&gt;
&lt;p&gt;a)Array Entered Sum : 0.584 s&lt;br&gt;
b)Sumproduct :0.825 s&lt;br&gt;
c)Dsum-Sum : 0.223&lt;br&gt;
d)SumIFS(2007): 0.046 s&lt;/p&gt;
&lt;p&gt;e) Index/Match :0.05 s&lt;br&gt;
f) VLookup :0.087 s&lt;/p&gt;
&lt;p&gt;g) Match (1 Type, Data in Unsorted order, Search item present in the last row) : 0.001s&lt;br&gt;
g) Vlookup (True, Data unsorted, Search item present in the last row) : 0.005 s&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Speaking of Fast and Slow&#8230;I recently did some speed tests using a Timer available from Ross&#8217;s website (methods in excel) </p>
<p>I am a bit suprised at the results &#8211; As I always thought the Sumproduct would win over Array entered Sum &#8211; do others have a different trend</p>
<p>Data 65535 rows &#8211; Name, City, Person, Amt</p>
<p>a)Array Entered Sum : 0.584 s<br />
b)Sumproduct :0.825 s<br />
c)Dsum-Sum : 0.223<br />
d)SumIFS(2007): 0.046 s</p>
<p>e) Index/Match :0.05 s<br />
f) VLookup :0.087 s</p>
<p>g) Match (1 Type, Data in Unsorted order, Search item present in the last row) : 0.001s<br />
g) Vlookup (True, Data unsorted, Search item present in the last row) : 0.005 s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-35001</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Thu, 09 Oct 2008 23:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-35001</guid>
		<description>&lt;p&gt;AlexJ Faster or not, the array formula is difficult for others to use and makes for a messy and often confusing formula for the less experienced.  I would avoid an unnecessary Array Formula for the sake of the maintenance guy.&lt;/p&gt;
&lt;p&gt;They also create a real pain when inserting rows/columns.  I do use them, but sparingly, it can cause so many problems, just like &quot;Merged Cells&quot;.&lt;/p&gt;
&lt;p&gt;As for the intersection, this is of limited value and again very confusing for the reviewer,  the simple Index and Sumif of fzz is so easy to understand that I would say it wins my vote.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>AlexJ Faster or not, the array formula is difficult for others to use and makes for a messy and often confusing formula for the less experienced.  I would avoid an unnecessary Array Formula for the sake of the maintenance guy.</p>
<p>They also create a real pain when inserting rows/columns.  I do use them, but sparingly, it can cause so many problems, just like &#8220;Merged Cells&#8221;.</p>
<p>As for the intersection, this is of limited value and again very confusing for the reviewer,  the simple Index and Sumif of fzz is so easy to understand that I would say it wins my vote.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Williams</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-34997</link>
		<dc:creator>Charles Williams</dc:creator>
		<pubDate>Thu, 09 Oct 2008 15:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-34997</guid>
		<description>&lt;p&gt;SUMIF and COUNTIF (and SUMIFS in Excel 20007) are usually quite a lot faster than the equivalent array formulae.&lt;/p&gt;
&lt;p&gt;I tend to try and avoid full-column references because of concerns about performance, and INDEX is very fast so thats my preference.&lt;/p&gt;
&lt;p&gt;I like using implicit intersection with range-names representing ranges, but I rarely use explicit intersection in Formulae.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>SUMIF and COUNTIF (and SUMIFS in Excel 20007) are usually quite a lot faster than the equivalent array formulae.</p>
<p>I tend to try and avoid full-column references because of concerns about performance, and INDEX is very fast so thats my preference.</p>
<p>I like using implicit intersection with range-names representing ranges, but I rarely use explicit intersection in Formulae.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AlexJ</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-34996</link>
		<dc:creator>AlexJ</dc:creator>
		<pubDate>Thu, 09 Oct 2008 14:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-34996</guid>
		<description>&lt;p&gt;Mike,&lt;br&gt;
I&#039;m also a SIMIF hater - I use&lt;br&gt;
{SUM(IF(INDEX(Table1,0,1)=criterion,INDEX(Table1,0,2),0))}&lt;br&gt;
as an array formula. Do you think that it is faster than SUMIF?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Mike,<br />
I&#8217;m also a SIMIF hater &#8211; I use<br />
{SUM(IF(INDEX(Table1,0,1)=criterion,INDEX(Table1,0,2),0))}<br />
as an array formula. Do you think that it is faster than SUMIF?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-34994</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 09 Oct 2008 14:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-34994</guid>
		<description>&lt;p&gt;i&#039;ve always used offset to pull out bits of a named range, something like:&lt;/p&gt;
&lt;p&gt;=SUMIF(OFFSET(data,0,0,,1),&quot;A&quot;,OFFSET(data,0,2,,1))&lt;/p&gt;
&lt;p&gt;but i like the INDEX formulation.  I think you can drop the zero to (works for me anyway)&lt;/p&gt;
&lt;p&gt;=SUMIF(INDEX(data,,1),&quot;A&quot;,INDEX(data,,3))&lt;/p&gt;
&lt;p&gt;and i think the INDEX way has the benefit of being non-volatile as well?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i&#8217;ve always used offset to pull out bits of a named range, something like:</p>
<p>=SUMIF(OFFSET(data,0,0,,1),&#8221;A&#8221;,OFFSET(data,0,2,,1))</p>
<p>but i like the INDEX formulation.  I think you can drop the zero to (works for me anyway)</p>
<p>=SUMIF(INDEX(data,,1),&#8221;A&#8221;,INDEX(data,,3))</p>
<p>and i think the INDEX way has the benefit of being non-volatile as well?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Woodhouse</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-34993</link>
		<dc:creator>Mike Woodhouse</dc:creator>
		<pubDate>Thu, 09 Oct 2008 12:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-34993</guid>
		<description>&lt;p&gt;I use named formulae in array formulae all the time. I hadn&#039;t thought of the intersection idea though; I&#039;ll have to give that some thought.&lt;/p&gt;
&lt;p&gt;The only drawback I can see is the need to be careful about sizes when more than one name is involved, but most people who are clued-up enough to understand Control-Shift-Enter probably get that.&lt;/p&gt;
&lt;p&gt;Speaking of good/bad ideas, SUMIF() and COUNTIF() (and anything else ...IF() that requires a string construction and evaluation across an array) are definitely on my &quot;bad idea&quot; list. So very slooooooww.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I use named formulae in array formulae all the time. I hadn&#8217;t thought of the intersection idea though; I&#8217;ll have to give that some thought.</p>
<p>The only drawback I can see is the need to be careful about sizes when more than one name is involved, but most people who are clued-up enough to understand Control-Shift-Enter probably get that.</p>
<p>Speaking of good/bad ideas, SUMIF() and COUNTIF() (and anything else &#8230;IF() that requires a string construction and evaluation across an array) are definitely on my &#8220;bad idea&#8221; list. So very slooooooww.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Williams</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-34990</link>
		<dc:creator>Rick Williams</dc:creator>
		<pubDate>Thu, 09 Oct 2008 07:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-34990</guid>
		<description>&lt;p&gt;Hey fzz:&lt;br&gt;
I never knew you could use INDEX with a zero parameter to return entire rows or cols in a range - that&#039;s really nifty!  I&#039;ll have to remember that one.&lt;/p&gt;
&lt;p&gt;Also, I like the idea of the intersection method, but honestly - I never think to use it when building a spreadsheet.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey fzz:<br />
I never knew you could use INDEX with a zero parameter to return entire rows or cols in a range &#8211; that&#8217;s really nifty!  I&#8217;ll have to remember that one.</p>
<p>Also, I like the idea of the intersection method, but honestly &#8211; I never think to use it when building a spreadsheet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-34989</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Thu, 09 Oct 2008 05:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-34989</guid>
		<description>&lt;p&gt;I&#039;ve seen newsgroup responses using&lt;/p&gt;
&lt;p&gt;=SUMIF(INDEX(TableRange,0,1),criterion,INDEX(TableRange,0,3))&lt;/p&gt;
&lt;p&gt;Wouldn&#039;t that produce the same result? If so, the question is which is &#039;better&#039;. INDEX uses a nested function call level. On the other hand, intersection syntax is harder to read (IMO).&lt;/p&gt;
&lt;p&gt;The INDEX formula may be more flexible in the sense that the column arguments could be expressions themselves while intersection terms A:A and C:C are constants.&lt;/p&gt;
&lt;p&gt;Then there&#039;s recalc speed, which in this case means whether intersection operations return range references more quickly than INDEX function calls.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;ve seen newsgroup responses using</p>
<p>=SUMIF(INDEX(TableRange,0,1),criterion,INDEX(TableRange,0,3))</p>
<p>Wouldn&#8217;t that produce the same result? If so, the question is which is &#8216;better&#8217;. INDEX uses a nested function call level. On the other hand, intersection syntax is harder to read (IMO).</p>
<p>The INDEX formula may be more flexible in the sense that the column arguments could be expressions themselves while intersection terms A:A and C:C are constants.</p>
<p>Then there&#8217;s recalc speed, which in this case means whether intersection operations return range references more quickly than INDEX function calls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Rosenblum</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/10/08/range-within-a-range/#comment-34986</link>
		<dc:creator>Mike Rosenblum</dc:creator>
		<pubDate>Thu, 09 Oct 2008 00:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1900#comment-34986</guid>
		<description>&lt;p&gt;Yes, I like this approach, especially with named columns (and rows) instead of just range addresses.&lt;/p&gt;
&lt;p&gt;In Excel 2007 the new &quot;structured references&quot; for Tables (http://msdn.microsoft.com/en-us/library/bb833052(office.11).aspx) is really fantastic for this.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yes, I like this approach, especially with named columns (and rows) instead of just range addresses.</p>
<p>In Excel 2007 the new &#8220;structured references&#8221; for Tables (<a href="http://msdn.microsoft.com/en-us/library/bb833052(office.11" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb833052(office.11</a>).aspx) is really fantastic for this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

