<?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: Selection Stats</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/</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: Bcole</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-36991</link>
		<dc:creator>Bcole</dc:creator>
		<pubDate>Thu, 08 Jan 2009 19:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-36991</guid>
		<description>&lt;p&gt;One more thing.&lt;br&gt;
I was having issues with Autofilter and correct calculation.&lt;br&gt;
I added a line redefining Target as only Visible cells and test great so far.&lt;br&gt;
Insert before Calculations (^ = existing row to show code line reference):&lt;/p&gt;
&lt;p&gt;^   &#039;Caclulate stats&lt;br&gt;
    &#039; Target redefined to select only visible cells&lt;br&gt;
    Set Target = Target.SpecialCells(xlVisible)&lt;/p&gt;
&lt;p&gt;^   vAvg = Application.Average(Target)&lt;br&gt;
^...&lt;/p&gt;
&lt;p&gt;Please post back if this doesn&#039;t work for you.&lt;/p&gt;
&lt;p&gt;bcole&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>One more thing.<br />
I was having issues with Autofilter and correct calculation.<br />
I added a line redefining Target as only Visible cells and test great so far.<br />
Insert before Calculations (^ = existing row to show code line reference):</p>
<p>^   &#8216;Caclulate stats<br />
    &#8216; Target redefined to select only visible cells<br />
    Set Target = Target.SpecialCells(xlVisible)</p>
<p>^   vAvg = Application.Average(Target)<br />
^&#8230;</p>
<p>Please post back if this doesn&#8217;t work for you.</p>
<p>bcole</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bcole</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-36989</link>
		<dc:creator>Bcole</dc:creator>
		<pubDate>Thu, 08 Jan 2009 17:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-36989</guid>
		<description>&lt;p&gt;This is great! I have been attempting a version for myself, but was unable to get other excel Status Bar messages to come through. Well done.&lt;br&gt;
I loaded a simple Run macro in the &#039;ThisWorkbook&#039;  Object of my personal file and it starts the calc on open:&lt;br&gt;
Private Sub Workbook_Open()&lt;br&gt;
Run &quot;InitializeApp()&quot;&lt;br&gt;
End Sub&lt;br&gt;
Thanks again,&lt;br&gt;
bcole&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is great! I have been attempting a version for myself, but was unable to get other excel Status Bar messages to come through. Well done.<br />
I loaded a simple Run macro in the &#8216;ThisWorkbook&#8217;  Object of my personal file and it starts the calc on open:<br />
Private Sub Workbook_Open()<br />
Run &#8220;InitializeApp()&#8221;<br />
End Sub<br />
Thanks again,<br />
bcole</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pushpender</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-36663</link>
		<dc:creator>Pushpender</dc:creator>
		<pubDate>Thu, 25 Dec 2008 16:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-36663</guid>
		<description>&lt;p&gt;Sorry guys.. Its working now. I did a mistake earlier in copy pasting the code.&lt;br&gt;
Thanks to the code writer/s.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry guys.. Its working now. I did a mistake earlier in copy pasting the code.<br />
Thanks to the code writer/s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pushpender</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-36557</link>
		<dc:creator>pushpender</dc:creator>
		<pubDate>Sat, 20 Dec 2008 12:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-36557</guid>
		<description>&lt;p&gt;Hi&lt;br&gt;
I tried this eaxtly but could not toggle status bar with different outputs? Am i doing something stupid?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi<br />
I tried this eaxtly but could not toggle status bar with different outputs? Am i doing something stupid?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike cave</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-22412</link>
		<dc:creator>mike cave</dc:creator>
		<pubDate>Mon, 12 Feb 2007 12:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-22412</guid>
		<description>&lt;p&gt;Hey guys do you know i i can add a custom function to this, is i called my function &quot;CountErrors&quot;???&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey guys do you know i i can add a custom function to this, is i called my function &#8220;CountErrors&#8221;???</p>
<p>Thanks!</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-22276</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Wed, 31 Jan 2007 21:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-22276</guid>
		<description>&lt;p&gt;Julie:  You could wrap all the results in a&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container text default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;text codecolorer&quot;&gt;Format&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;function.  For example, you could format the average like&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;Application.StatusBar = &lt;span class=&quot;st0&quot;&gt;&quot;Average: &quot;&lt;/span&gt; &amp; Format(&lt;span class=&quot;kw1&quot;&gt;CStr&lt;/span&gt;(vAvg), &lt;span class=&quot;st0&quot;&gt;&quot;#,##0.00&quot;&lt;/span&gt;) &amp; &lt;span class=&quot;st0&quot;&gt;&quot; &#124; &quot;&lt;/span&gt; &amp; _&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>Julie:  You could wrap all the results in a</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container text default">
<div style="white-space: nowrap;" class="text codecolorer">Format</div>
</div>
<p>function.  For example, you could format the average like</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer">Application.StatusBar = <span class="st0">&#8220;Average: &#8220;</span> &amp;amp; Format(<span class="kw1">CStr</span>(vAvg), <span class="st0">&#8220;#,##0.00&#8243;</span>) &amp;amp; <span class="st0">&#8221; | &#8220;</span> &amp;amp; _</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julie</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-22272</link>
		<dc:creator>Julie</dc:creator>
		<pubDate>Wed, 31 Jan 2007 17:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-22272</guid>
		<description>&lt;p&gt;This is great!  The only thing that I would like to change (but I&#039;m not sure how) is the formatting of the results that appear on the taskbar.  &lt;/p&gt;
&lt;p&gt;Is there a way to round the average to 2 decimal places and add commas to the larger numers (i.e. 1,000,000 instead of 1000000)?  &lt;/p&gt;
&lt;p&gt;I&#039;m definitely a beginner at writing Macros, so I have no idea how I would accomplish this.  Any help would be greatly appreciated!&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Julie&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is great!  The only thing that I would like to change (but I&#8217;m not sure how) is the formatting of the results that appear on the taskbar.  </p>
<p>Is there a way to round the average to 2 decimal places and add commas to the larger numers (i.e. 1,000,000 instead of 1000000)?  </p>
<p>I&#8217;m definitely a beginner at writing Macros, so I have no idea how I would accomplish this.  Any help would be greatly appreciated!</p>
<p>Thanks!</p>
<p>Julie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-2935</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Mon, 13 Dec 2004 12:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-2935</guid>
		<description>&lt;p&gt;Sorry, ignore my last comment. Its working !&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Scott&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry, ignore my last comment. Its working !</p>
<p>Thanks</p>
<p>Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-2934</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Mon, 13 Dec 2004 12:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-2934</guid>
		<description>&lt;p&gt;I have followed the instructions, and added this code into a class module within my worksheet.&lt;br&gt;
I can&#039;t get the status-bar at the bottom to change to show each of the values (sum, average, min, max etc).&lt;/p&gt;
&lt;p&gt;Am I doing something stupid ? or not doing something which I should ?&lt;/p&gt;
&lt;p&gt;Sorry, but I am new to advanced VBA and any help gratefully received.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Scott.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have followed the instructions, and added this code into a class module within my worksheet.<br />
I can&#8217;t get the status-bar at the bottom to change to show each of the values (sum, average, min, max etc).</p>
<p>Am I doing something stupid ? or not doing something which I should ?</p>
<p>Sorry, but I am new to advanced VBA and any help gratefully received.</p>
<p>Thanks</p>
<p>Scott.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/12/09/selection-stats/#comment-2910</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Sat, 11 Dec 2004 00:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=927#comment-2910</guid>
		<description>&lt;p&gt;Good idea - I&#039;ve wished for this ever since seeing it in a version (don&#039;t remember which one) of Quattro Pro.&lt;/p&gt;
&lt;p&gt;I&#039;m new to the site - I just came across it searching for help on another problem.  I can tell it&#039;s going to be a good resource.&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good idea &#8211; I&#8217;ve wished for this ever since seeing it in a version (don&#8217;t remember which one) of Quattro Pro.</p>
<p>I&#8217;m new to the site &#8211; I just came across it searching for help on another problem.  I can tell it&#8217;s going to be a good resource.</p>
<p>Greg</p>
]]></content:encoded>
	</item>
</channel>
</rss>

