<?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: Not Bits</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:06:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jamie Collins</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17855</link>
		<dc:creator>Jamie Collins</dc:creator>
		<pubDate>Mon, 19 Dec 2005 14:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17855</guid>
		<description>&lt;p&gt;I discovered this one quite recently when converting some Jet SQL held in VBA code, the equivalent of &lt;/p&gt;
&lt;p&gt;... WHERE some_column = NOT NOW&lt;/p&gt;
&lt;p&gt;It took me a while to work out the flawed logic. However, it was still having the desired result because, although in VBA&lt;/p&gt;
&lt;p&gt;? NOT NOW&lt;br&gt;
-38707&lt;/p&gt;
&lt;p&gt;in Jet SQL&lt;/p&gt;
&lt;p&gt;Set rs = CreateObject(&quot;ADOR.RecordSet&quot;)&lt;br&gt;
rs.Open &quot;SELECT NOT NOW&quot;, _&lt;br&gt;
  &quot;Provider=Microsoft.Jet.OLEDB.4.0;&quot; &amp; _&lt;br&gt;
  &quot;Data Source=/Nobook.xls;&quot; &amp; _&lt;br&gt;
  &quot;Extended Properties=&#039;Excel 8.0&#039;&quot;&lt;br&gt;
? rs(0)&lt;br&gt;
0&lt;/p&gt;
&lt;p&gt;My point? That Jet operators aren&#039;t bitwise; you have to specify the bitwise equivalent e.g. BNOT:&lt;/p&gt;
&lt;p&gt;Set rs = CreateObject(&quot;ADOR.RecordSet&quot;)&lt;br&gt;
rs.Open &quot;SELECT BNOT NOW&quot;, _&lt;br&gt;
  &quot;Provider=Microsoft.Jet.OLEDB.4.0;&quot; &amp; _&lt;br&gt;
  &quot;Data Source=/Nobook.xls;&quot; &amp; _&lt;br&gt;
  &quot;Extended Properties=&#039;Excel 8.0&#039;&quot;&lt;br&gt;
? rs(0)&lt;/p&gt;
&lt;p&gt;Jamie.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I discovered this one quite recently when converting some Jet SQL held in VBA code, the equivalent of </p>
<p>&#8230; WHERE some_column = NOT NOW</p>
<p>It took me a while to work out the flawed logic. However, it was still having the desired result because, although in VBA</p>
<p>? NOT NOW<br />
-38707</p>
<p>in Jet SQL</p>
<p>Set rs = CreateObject(&#8220;ADOR.RecordSet&#8221;)<br />
rs.Open &#8220;SELECT NOT NOW&#8221;, _<br />
  &#8220;Provider=Microsoft.Jet.OLEDB.4.0;&#8221; &amp; _<br />
  &#8220;Data Source=/Nobook.xls;&#8221; &amp; _<br />
  &#8220;Extended Properties=&#8217;Excel 8.0&#8242;&#8221;<br />
? rs(0)<br />
0</p>
<p>My point? That Jet operators aren&#8217;t bitwise; you have to specify the bitwise equivalent e.g. BNOT:</p>
<p>Set rs = CreateObject(&#8220;ADOR.RecordSet&#8221;)<br />
rs.Open &#8220;SELECT BNOT NOW&#8221;, _<br />
  &#8220;Provider=Microsoft.Jet.OLEDB.4.0;&#8221; &amp; _<br />
  &#8220;Data Source=/Nobook.xls;&#8221; &amp; _<br />
  &#8220;Extended Properties=&#8217;Excel 8.0&#8242;&#8221;<br />
? rs(0)</p>
<p>Jamie.</p>
<p></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doco</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17803</link>
		<dc:creator>doco</dc:creator>
		<pubDate>Fri, 16 Dec 2005 16:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17803</guid>
		<description>&lt;p&gt;Damn!  I am a clutz.  How about an edit option as well!  :embarrassed:&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Damn!  I am a clutz.  How about an edit option as well!  :embarrassed:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doco</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17802</link>
		<dc:creator>doco</dc:creator>
		<pubDate>Fri, 16 Dec 2005 16:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17802</guid>
		<description>&lt;p&gt;{=AVERAGE(IF(NOT((RatioList&gt;FactLowerLimit)*(RatioList&lt;FactUpperLimit))),RatioList))}&lt;/p&gt;
&lt;p&gt;Did it work?  Too bad there wasn&#039;t a preview option.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br&gt;
doco&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>{=AVERAGE(IF(NOT((RatioList&gt;FactLowerLimit)*(RatioList&lt;FactUpperLimit))),RatioList))}</p>
<p>Did it work?  Too bad there wasn&#8217;t a preview option.</p>
<p>Thanks<br />
doco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Pablo Gonzalez</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17800</link>
		<dc:creator>Juan Pablo Gonzalez</dc:creator>
		<pubDate>Fri, 16 Dec 2005 15:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17800</guid>
		<description>&lt;p&gt;=IF(A1&lt;B1,IF(C1&gt;D1,E1),F1)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>=IF(A1&lt;B1,IF(C1&gt;D1,E1),F1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juan Pablo Gonzalez</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17801</link>
		<dc:creator>Juan Pablo Gonzalez</dc:creator>
		<pubDate>Fri, 16 Dec 2005 15:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17801</guid>
		<description>&lt;p&gt;doco, use &amp; l t ;, you missed the ; in your post.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>doco, use &amp; l t ;, you missed the ; in your post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doco</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17792</link>
		<dc:creator>doco</dc:creator>
		<pubDate>Fri, 16 Dec 2005 04:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17792</guid>
		<description>&lt;p&gt;That sucks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That sucks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doco</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17791</link>
		<dc:creator>doco</dc:creator>
		<pubDate>Fri, 16 Dec 2005 04:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17791</guid>
		<description>&lt;p&gt;Evidently it does not like the &amp;lt symbol...  I&#039;ll try with that&lt;/p&gt;
&lt;p&gt;=AVERAGE(IF(NOT(NOT((RatioList&amp;gtFactLowerLimit)*(RatioList&amp;ltFactUpperLimit))),RatioList))&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Evidently it does not like the &amp;lt symbol&#8230;  I&#8217;ll try with that</p>
<p>=AVERAGE(IF(NOT(NOT((RatioList&amp;gtFactLowerLimit)*(RatioList&amp;ltFactUpperLimit))),RatioList))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doco</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17790</link>
		<dc:creator>doco</dc:creator>
		<pubDate>Fri, 16 Dec 2005 04:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17790</guid>
		<description>&lt;p&gt;Chopped again!  Hey Dick?  What&#039;s going on?&lt;/p&gt;
&lt;p&gt;&quot;=AVERAGE(IF(NOT(NOT((RatioList&gt;FactLowerLimit)*(RatioList&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Chopped again!  Hey Dick?  What&#8217;s going on?</p>
<p>&#8220;=AVERAGE(IF(NOT(NOT((RatioList&gt;FactLowerLimit)*(RatioList</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doco</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17789</link>
		<dc:creator>doco</dc:creator>
		<pubDate>Fri, 16 Dec 2005 04:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17789</guid>
		<description>&lt;p&gt;Interesting, my last post was chopped!  What was up with that?&lt;/p&gt;
&lt;p&gt;=AVERAGE(IF(NOT(NOT((RatioList&gt;FactLowerLimit)*(RatioList&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Interesting, my last post was chopped!  What was up with that?</p>
<p>=AVERAGE(IF(NOT(NOT((RatioList&gt;FactLowerLimit)*(RatioList</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: doco</title>
		<link>http://www.dailydoseofexcel.com/archives/2005/12/14/not-bits/#comment-17788</link>
		<dc:creator>doco</dc:creator>
		<pubDate>Fri, 16 Dec 2005 04:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1303#comment-17788</guid>
		<description>&lt;p&gt;[quote] I&#039;m sure this use of Not is useful somewhere, somehow. &lt;/p&gt;
&lt;p&gt;I had a need to discover ouliers from a list of sales ratios based on a factor of lower quartile and upper quartile.  In order to return an array I had to use the following formula.&lt;/p&gt;
&lt;p&gt;=AVERAGE(IF(NOT(NOT((RatioList&gt;FactLowerLimit)*(RatioList&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[quote] I&#8217;m sure this use of Not is useful somewhere, somehow. </p>
<p>I had a need to discover ouliers from a list of sales ratios based on a factor of lower quartile and upper quartile.  In order to return an array I had to use the following formula.</p>
<p>=AVERAGE(IF(NOT(NOT((RatioList&gt;FactLowerLimit)*(RatioList</p>
]]></content:encoded>
	</item>
</channel>
</rss>

