<?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: Union and Intersect</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/</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: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-40087</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Wed, 01 Jul 2009 01:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-40087</guid>
		<description>&lt;p&gt;Ed: Check the SubtractFirstPrinciples function at &lt;a href=&quot;http://www.dailydoseofexcel.com/archives/2007/08/17/two-new-range-functions-union-and-subtract/&quot; rel=&quot;nofollow&quot;&gt;http://www.dailydoseofexcel.com/archives/2007/08/17/two-new-range-functions-union-and-subtract/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can use it as in =SUM(SubtractFirstPrinciples(A:A,A1)) though it is quite slow if you give it an entire column in 2007.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ed: Check the SubtractFirstPrinciples function at <a href="http://www.dailydoseofexcel.com/archives/2007/08/17/two-new-range-functions-union-and-subtract/" rel="nofollow">http://www.dailydoseofexcel.com/archives/2007/08/17/two-new-range-functions-union-and-subtract/</a></p>
<p>You can use it as in =SUM(SubtractFirstPrinciples(A:A,A1)) though it is quite slow if you give it an entire column in 2007.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed Ferrero</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-40074</link>
		<dc:creator>Ed Ferrero</dc:creator>
		<pubDate>Tue, 30 Jun 2009 04:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-40074</guid>
		<description>&lt;p&gt;So, if we define a named range NotFirst =Sheet1!$2:$65536,&lt;br&gt;
then we can use a formula in cell A1 like this&lt;br&gt;
=SUM((C:C) NotFirst)&lt;br&gt;
to sum the whole of column C without getting a circular reference.&lt;/p&gt;
&lt;p&gt;It&#039;s a shame that there is no inverse of a range operator in Excel.&lt;br&gt;
Something that would let me specify =NOT(A1,A:A) and return A2:A65536.&lt;/p&gt;
&lt;p&gt;No clever comments about the number of rows in 2007, thanks.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>So, if we define a named range NotFirst =Sheet1!$2:$65536,<br />
then we can use a formula in cell A1 like this<br />
=SUM((C:C) NotFirst)<br />
to sum the whole of column C without getting a circular reference.</p>
<p>It&#8217;s a shame that there is no inverse of a range operator in Excel.<br />
Something that would let me specify =NOT(A1,A:A) and return A2:A65536.</p>
<p>No clever comments about the number of rows in 2007, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-33760</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Mon, 21 Jul 2008 23:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-33760</guid>
		<description>&lt;p&gt;Benny&lt;br&gt;
You may be correct, but Union is the label as assigned by Microsoft.&lt;/p&gt;
&lt;p&gt;ptgIsect: Intersection (ptg=0Fh)&lt;br&gt;
Computes the intersection of the top two operands. This is the Excel space operator.&lt;/p&gt;
&lt;p&gt;ptgUnion: Union (ptg=10h)&lt;br&gt;
Computes the union of the top two operands. This is the Excel comma operator.&lt;/p&gt;
&lt;p&gt;ptgRange: Range (ptg=11h)&lt;br&gt;
Computes the minimal bounding rectangle of the top two operands. This is the Excel colon operator.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Benny<br />
You may be correct, but Union is the label as assigned by Microsoft.</p>
<p>ptgIsect: Intersection (ptg=0Fh)<br />
Computes the intersection of the top two operands. This is the Excel space operator.</p>
<p>ptgUnion: Union (ptg=10h)<br />
Computes the union of the top two operands. This is the Excel comma operator.</p>
<p>ptgRange: Range (ptg=11h)<br />
Computes the minimal bounding rectangle of the top two operands. This is the Excel colon operator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benny</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-33748</link>
		<dc:creator>Benny</dc:creator>
		<pubDate>Mon, 21 Jul 2008 14:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-33748</guid>
		<description>&lt;p&gt;This is an informative page, with almost maliciously incorrect terminology.&lt;br&gt;
The [space] character is, indeed, an &quot;intersect operator.&quot;&lt;br&gt;
The [comma] character is IN NO WAY a mathematical &quot;union operator.&quot; It is in fact &quot;set addition,&quot; which SQL calls &quot;union all.&quot;&lt;/p&gt;
&lt;p&gt;A union returns a SET (in this case, a SET of cells). Set Addition returns a MULTISET. The comma is Set Addition, because using Comma with the same cell twice returns TWO (of the same) cell. For instance:&lt;br&gt;
3=COUNT(C2,C2,C2)=COUNT((C2,C2,C2))&lt;br&gt;
If comma were really a union operator, these counts would return 1!&lt;br&gt;
A less useless example is taking a &quot;plus&quot; shaped range:&lt;br&gt;
6=COUNT(F4:H4,G3:G5)&lt;br&gt;
Obviously, that plus-shaped range has 5 cells. Cell G4 is counted twice, PRECISELY because the comma-character is NOT a union operator.&lt;/p&gt;
&lt;p&gt;How sad, that Excel does not support mathematical union (without using VBA).&lt;br&gt;
-b&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is an informative page, with almost maliciously incorrect terminology.<br />
The [space] character is, indeed, an &#8220;intersect operator.&#8221;<br />
The [comma] character is IN NO WAY a mathematical &#8220;union operator.&#8221; It is in fact &#8220;set addition,&#8221; which SQL calls &#8220;union all.&#8221;</p>
<p>A union returns a SET (in this case, a SET of cells). Set Addition returns a MULTISET. The comma is Set Addition, because using Comma with the same cell twice returns TWO (of the same) cell. For instance:<br />
3=COUNT(C2,C2,C2)=COUNT((C2,C2,C2))<br />
If comma were really a union operator, these counts would return 1!<br />
A less useless example is taking a &#8220;plus&#8221; shaped range:<br />
6=COUNT(F4:H4,G3:G5)<br />
Obviously, that plus-shaped range has 5 cells. Cell G4 is counted twice, PRECISELY because the comma-character is NOT a union operator.</p>
<p>How sad, that Excel does not support mathematical union (without using VBA).<br />
-b</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-17605</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Fri, 02 Dec 2005 02:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-17605</guid>
		<description>&lt;p&gt;This looks like it has a lot of potential for me. I have  created named ranges which represent columns of unique parameters, and named ranges which represent groups of rows to partition the source of the data. What I would like to do is copy the several cells which are the interseection of the parameter range with a particular group of rows. I.e. column AB is named param1 and rows 10 to 20 are named datasetA and are several readings I want to do some computing on. What I have been experimenting with, without success, is using something like:&lt;/p&gt;
&lt;p&gt;intersect(range(&quot;param1?),range(&quot;datasetA&quot;)).copy worksheets(&quot;sheet2?).range(&quot;A1?)&lt;/p&gt;
&lt;p&gt;Suggestions?&lt;br&gt;
Thanks, Jim.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This looks like it has a lot of potential for me. I have  created named ranges which represent columns of unique parameters, and named ranges which represent groups of rows to partition the source of the data. What I would like to do is copy the several cells which are the interseection of the parameter range with a particular group of rows. I.e. column AB is named param1 and rows 10 to 20 are named datasetA and are several readings I want to do some computing on. What I have been experimenting with, without success, is using something like:</p>
<p>intersect(range(&#8220;param1?),range(&#8220;datasetA&#8221;)).copy worksheets(&#8220;sheet2?).range(&#8220;A1?)</p>
<p>Suggestions?<br />
Thanks, Jim.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-6779</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Fri, 04 Feb 2005 00:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-6779</guid>
		<description>&lt;p&gt;Jay,&lt;/p&gt;
&lt;p&gt;Thanks Jay - nice spotting&lt;/p&gt;
&lt;p&gt;=A1:A5, A8:A10 is valid, but always returns #VALUE!&lt;/p&gt;
&lt;p&gt;A pseudo-union.&lt;/p&gt;
&lt;p&gt;Rob&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jay,</p>
<p>Thanks Jay &#8211; nice spotting</p>
<p>=A1:A5, A8:A10 is valid, but always returns #VALUE!</p>
<p>A pseudo-union.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jay</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-6777</link>
		<dc:creator>jay</dc:creator>
		<pubDate>Thu, 03 Feb 2005 22:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-6777</guid>
		<description>&lt;p&gt;First, nice &amp; useful blog - thanks!&lt;/p&gt;
&lt;p&gt;Second, I&#039;m not convinced the union operator is really an operator and not just a piece of microsoft rhetoric.  I&#039;ve never seen it used in a context where it couldn&#039;t ALSO be interpreted as a comma separating arguments (e.g., in a SUM function).  For example, the following array formula, which uses an intersect operator, works:&lt;/p&gt;
&lt;p&gt;{SUM(IF((A1:A10 A1:10)=&quot;a&quot;,1,0))}&lt;/p&gt;
&lt;p&gt;whereas this one, which uses the so-called &quot;union operator&quot; returns a #VALUE! error&lt;/p&gt;
&lt;p&gt;{SUM(IF((A1:A5,A6:10)=&quot;a&quot;,1,0))}&lt;/p&gt;
&lt;p&gt;This is enourmously frustrating because an authentic union operator could be extremely useful when doing, e.g., complex database lookups.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>First, nice &amp; useful blog &#8211; thanks!</p>
<p>Second, I&#8217;m not convinced the union operator is really an operator and not just a piece of microsoft rhetoric.  I&#8217;ve never seen it used in a context where it couldn&#8217;t ALSO be interpreted as a comma separating arguments (e.g., in a SUM function).  For example, the following array formula, which uses an intersect operator, works:</p>
<p>{SUM(IF((A1:A10 A1:10)=&#8221;a&#8221;,1,0))}</p>
<p>whereas this one, which uses the so-called &#8220;union operator&#8221; returns a #VALUE! error</p>
<p>{SUM(IF((A1:A5,A6:10)=&#8221;a&#8221;,1,0))}</p>
<p>This is enourmously frustrating because an authentic union operator could be extremely useful when doing, e.g., complex database lookups.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ola Sandstrom</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-5409</link>
		<dc:creator>Ola Sandstrom</dc:creator>
		<pubDate>Thu, 20 Jan 2005 01:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-5409</guid>
		<description>&lt;p&gt;Great!&lt;br&gt;
Intersect by a blank separator is new to me. I&#039;ll definitly use it.&lt;/p&gt;
&lt;p&gt;Ola&lt;/p&gt;
&lt;p&gt;This is also new to me: &lt;a href=&quot;http://www.nsl.com/k/excel.k&quot; rel=&quot;nofollow&quot;&gt;http://www.nsl.com/k/excel.k&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Great!<br />
Intersect by a blank separator is new to me. I&#8217;ll definitly use it.</p>
<p>Ola</p>
<p>This is also new to me: <a href="http://www.nsl.com/k/excel.k" rel="nofollow">http://www.nsl.com/k/excel.k</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ross</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-5369</link>
		<dc:creator>ross</dc:creator>
		<pubDate>Tue, 18 Jan 2005 11:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-5369</guid>
		<description>&lt;p&gt;when i saw this, i started to thing about using Intersect with row and coloum, could be slow though.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>when i saw this, i started to thing about using Intersect with row and coloum, could be slow though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob van Gelder</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/01/16/union-and-intersect/#comment-5363</link>
		<dc:creator>Rob van Gelder</dc:creator>
		<pubDate>Mon, 17 Jan 2005 21:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=982#comment-5363</guid>
		<description>&lt;p&gt;I can&#039;t help but feel there is hidden potential with intersects. It looks very similar to a lookup.&lt;/p&gt;
&lt;p&gt;The Operator Precedence orders Intersect before Union which is why I used a bracket.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I can&#8217;t help but feel there is hidden potential with intersects. It looks very similar to a lookup.</p>
<p>The Operator Precedence orders Intersect before Union which is why I used a bracket.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

