<?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: Include All in Array Formulas</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Pawel</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-56502</link>
		<dc:creator>Pawel</dc:creator>
		<pubDate>Thu, 06 Jan 2011 11:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-56502</guid>
		<description>&lt;p&gt;Instead of using unnamed ranges like D2:D101 it&#039;s better to use named dynamic ranges. You can substitute D2:D101 with cState where cState is named range =OFFSET(Book3!$D$1,1,0,COUNTA(Book3!$A:$A)-1,1). That makes your formulas easier to read as they are in pure English and you don&#039;t have to worry what happens if your data range extends - especially useful when you get your data range from an external source.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Instead of using unnamed ranges like D2:D101 it&#8217;s better to use named dynamic ranges. You can substitute D2:D101 with cState where cState is named range =OFFSET(Book3!$D$1,1,0,COUNTA(Book3!$A:$A)-1,1). That makes your formulas easier to read as they are in pure English and you don&#8217;t have to worry what happens if your data range extends &#8211; especially useful when you get your data range from an external source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-39514</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Tue, 26 May 2009 17:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-39514</guid>
		<description>&lt;p&gt;AleV - it&#039;s the SYNTAX of the RANK function that REQUIRES that its 2nd argument be a range. Nothing to do with formula syntax.&lt;/p&gt;
&lt;p&gt;To the general point, if recalc speed were the top priority, wouldn&#039;t&lt;/p&gt;
&lt;p&gt;=SUM(IF(G3=&quot;All&quot;,D2:D101=H3,(D2:D101=H3)*(C2:C101=G3))*E2:E101)&lt;/p&gt;
&lt;p&gt;be the optimal approach? I&#039;d use SUMPRODUCT myself, something more general like&lt;/p&gt;
&lt;p&gt;=SUMPRODUCT(((G3=&quot;All&quot;)+(C2:C101=G3)&gt;0)*(D2:D101=H3),E2:E101)&lt;/p&gt;
&lt;p&gt;In the current inclusive, nonjudgmental, bioengineered age, one may need to allow for All as a possible entry for Sex.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>AleV &#8211; it&#8217;s the SYNTAX of the RANK function that REQUIRES that its 2nd argument be a range. Nothing to do with formula syntax.</p>
<p>To the general point, if recalc speed were the top priority, wouldn&#8217;t</p>
<p>=SUM(IF(G3=&#8221;All&#8221;,D2:D101=H3,(D2:D101=H3)*(C2:C101=G3))*E2:E101)</p>
<p>be the optimal approach? I&#8217;d use SUMPRODUCT myself, something more general like</p>
<p>=SUMPRODUCT(((G3=&#8221;All&#8221;)+(C2:C101=G3)&gt;0)*(D2:D101=H3),E2:E101)</p>
<p>In the current inclusive, nonjudgmental, bioengineered age, one may need to allow for All as a possible entry for Sex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AleV</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-39507</link>
		<dc:creator>AleV</dc:creator>
		<pubDate>Tue, 26 May 2009 08:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-39507</guid>
		<description>&lt;p&gt;Thanks fzz. &lt;/p&gt;
&lt;p&gt;I&#039;m just a little bit confused as I used to think that since Named Ranges are essentially (in general array) formulas (as Jhon Walkenbach notes in his books, they are entered by using a &quot;=&quot; sign in the Name Manager, so they ARE actually formulas), then they should not be different from other array formulas you can write (and enter in the Name Manager). Apparently my conclusion is wrong: the RANK function (like sumifs and others) can manage Named Ranges but not arrays.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;br&gt;
AleV&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks fzz. </p>
<p>I&#8217;m just a little bit confused as I used to think that since Named Ranges are essentially (in general array) formulas (as Jhon Walkenbach notes in his books, they are entered by using a &#8220;=&#8221; sign in the Name Manager, so they ARE actually formulas), then they should not be different from other array formulas you can write (and enter in the Name Manager). Apparently my conclusion is wrong: the RANK function (like sumifs and others) can manage Named Ranges but not arrays.</p>
<p>Thanks again,<br />
AleV</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-39504</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Tue, 26 May 2009 02:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-39504</guid>
		<description>&lt;p&gt;AleV, Excel Help has always been wrong about the RANK function. It&#039;s 2nd argument MUST be a range reference; it can&#039;t be an array.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>AleV, Excel Help has always been wrong about the RANK function. It&#8217;s 2nd argument MUST be a range reference; it can&#8217;t be an array.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AleV</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-39498</link>
		<dc:creator>AleV</dc:creator>
		<pubDate>Mon, 25 May 2009 14:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-39498</guid>
		<description>&lt;p&gt;Hi Dick,&lt;br&gt;
I have some trouble with array formula and as usual I went on your blog looking for some hint: amazingly enough you are talking about Array Formulas... &lt;/p&gt;
&lt;p&gt;Does anybody know about any limitation in using array formulas? As far I can see Excel seems to behave inconsistently (i.e. I&#039;m wrong, but I can&#039;t get why): if I type the following (fictious) array formula&lt;br&gt;
=SUM(ROW(1:5))&lt;/p&gt;
&lt;p&gt;I get 15 &lt;/p&gt;
&lt;p&gt;If I type&lt;br&gt;
=COUNT(ROW(1:5))&lt;br&gt;
I get 5 (wow!)&lt;/p&gt;
&lt;p&gt;If I type&lt;br&gt;
=VLOOKUP(2,ROW(1:5),1,0)&lt;br&gt;
I get 2 (Great!)&lt;/p&gt;
&lt;p&gt;If I type&lt;br&gt;
=rank(1,ROW(1:5),0)&lt;br&gt;
I get an error (!!!???)&lt;/p&gt;
&lt;p&gt;The same behaviour occurs when I try to use sumifs countifs and other formulas.&lt;/p&gt;
&lt;p&gt;How can you explain this behaviour?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Dick,<br />
I have some trouble with array formula and as usual I went on your blog looking for some hint: amazingly enough you are talking about Array Formulas&#8230; </p>
<p>Does anybody know about any limitation in using array formulas? As far I can see Excel seems to behave inconsistently (i.e. I&#8217;m wrong, but I can&#8217;t get why): if I type the following (fictious) array formula<br />
=SUM(ROW(1:5))</p>
<p>I get 15 </p>
<p>If I type<br />
=COUNT(ROW(1:5))<br />
I get 5 (wow!)</p>
<p>If I type<br />
=VLOOKUP(2,ROW(1:5),1,0)<br />
I get 2 (Great!)</p>
<p>If I type<br />
=rank(1,ROW(1:5),0)<br />
I get an error (!!!???)</p>
<p>The same behaviour occurs when I try to use sumifs countifs and other formulas.</p>
<p>How can you explain this behaviour?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Phillips</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-39496</link>
		<dc:creator>Bob Phillips</dc:creator>
		<pubDate>Mon, 25 May 2009 10:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-39496</guid>
		<description>&lt;p&gt;So do I, but sometimes they are a necessary evil. Sometimes you just have to outsort the data otherwise it errors. Then you have to use IF, there is no other way I can think of.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>So do I, but sometimes they are a necessary evil. Sometimes you just have to outsort the data otherwise it errors. Then you have to use IF, there is no other way I can think of.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-39490</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Sun, 24 May 2009 14:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-39490</guid>
		<description>&lt;p&gt;The plus condition is perfect.  I hate IFs in my array formulas.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The plus condition is perfect.  I hate IFs in my array formulas.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: frank</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-39474</link>
		<dc:creator>frank</dc:creator>
		<pubDate>Sat, 23 May 2009 13:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-39474</guid>
		<description>&lt;p&gt;Another fancy trick. Excel is talented, versatile, powerful, is &quot;younger than I am yet it is more popular, worth more money, has more homes, is touched by more women, and is far better at math.&quot; (Mike Rouse on &lt;a href=&quot;http://www.dailydoseofexcel.com/archives/2006/09/05/happy-birthday-excel/&quot; rel=&quot;nofollow&quot;&gt;Excel&#039;s 21st birthday&lt;/a&gt;, 5 Sept 2006).&lt;/p&gt;
&lt;p&gt;The beauty of this formula is that it makes quantitative sense of a data set by letting Boolean and numeric values work indiscriminately together.&lt;/p&gt;
&lt;p&gt;At least one product sign is essential: {=SUM((D2:D101=&quot;NY&quot;)*1)} makes sense whereas {=SUM(D2:D101=I12)} doesn&#039;t, same for =SUMPRODUCT(...), which makes us think these functions were written for multiple condition scenarios.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another fancy trick. Excel is talented, versatile, powerful, is &#8220;younger than I am yet it is more popular, worth more money, has more homes, is touched by more women, and is far better at math.&#8221; (Mike Rouse on <a href="http://www.dailydoseofexcel.com/archives/2006/09/05/happy-birthday-excel/" rel="nofollow">Excel&#8217;s 21st birthday</a>, 5 Sept 2006).</p>
<p>The beauty of this formula is that it makes quantitative sense of a data set by letting Boolean and numeric values work indiscriminately together.</p>
<p>At least one product sign is essential: {=SUM((D2:D101=&#8221;NY&#8221;)*1)} makes sense whereas {=SUM(D2:D101=I12)} doesn&#8217;t, same for =SUMPRODUCT(&#8230;), which makes us think these functions were written for multiple condition scenarios.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Phillips</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-39473</link>
		<dc:creator>Bob Phillips</dc:creator>
		<pubDate>Sat, 23 May 2009 13:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-39473</guid>
		<description>&lt;p&gt;Actually yours can be used in the same way, sans IF,&lt;/p&gt;
&lt;p&gt;=SUM(((G3=&quot;All&quot;)+(C2:C101=G3))*(D2:D101=H3)*(E2:E101))&lt;/p&gt;
&lt;p&gt;whiche is 5 characters shorter yet, but still a nasty array formula.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Actually yours can be used in the same way, sans IF,</p>
<p>=SUM(((G3=&#8221;All&#8221;)+(C2:C101=G3))*(D2:D101=H3)*(E2:E101))</p>
<p>whiche is 5 characters shorter yet, but still a nasty array formula.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Phillips</title>
		<link>http://www.dailydoseofexcel.com/archives/2009/05/22/include-all-in-array-formulas/#comment-39472</link>
		<dc:creator>Bob Phillips</dc:creator>
		<pubDate>Sat, 23 May 2009 13:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=2497#comment-39472</guid>
		<description>&lt;p&gt;As ever, you can do a non-array form&lt;/p&gt;
&lt;p&gt;=SUMPRODUCT(((G3=&quot;All&quot;)+(C2:C101=G3))*(D2:D101=H3),E2:E101)&lt;/p&gt;
&lt;p&gt;and two whole characters shorter (:-))&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>As ever, you can do a non-array form</p>
<p>=SUMPRODUCT(((G3=&#8221;All&#8221;)+(C2:C101=G3))*(D2:D101=H3),E2:E101)</p>
<p>and two whole characters shorter (:-))</p>
]]></content:encoded>
	</item>
</channel>
</rss>

