<?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: Rows and Columns</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/</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: hanss</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-32748</link>
		<dc:creator>hanss</dc:creator>
		<pubDate>Mon, 09 Jun 2008 09:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-32748</guid>
		<description>&lt;p&gt;I used this code.&lt;br&gt;
The method application filesearch is much more convenient, because it automatically selects all the excelfiles (if you want it) and automatically takes all subfolders into account (if you wish). Unfortunately the method doesn&#039;t seem to exist anymore in Excel 2007.&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;&lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; test()&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; Application&lt;br&gt;
&#160; &#160; .Calculation = xlCalculationManual&lt;br&gt;
&#160; &#160; .EnableEvents = &lt;span class=&quot;kw1&quot;&gt;False&lt;/span&gt;&lt;br&gt;
&#160; &#160; .DisplayAlerts = &lt;span class=&quot;kw1&quot;&gt;False&lt;/span&gt;&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt;&lt;br&gt;
&#160; &lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Each&lt;/span&gt; fl &lt;span class=&quot;kw1&quot;&gt;In&lt;/span&gt; CreateObject(&lt;span class=&quot;st0&quot;&gt;&quot;scripting.filesystemobject&quot;&lt;/span&gt;).getfolder(&lt;span class=&quot;st0&quot;&gt;&quot;E:OF&quot;&lt;/span&gt;).Files&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; Right(fl.Name, 4) = &lt;span class=&quot;st0&quot;&gt;&quot;.xls&quot;&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Each&lt;/span&gt; sh &lt;span class=&quot;kw1&quot;&gt;In&lt;/span&gt; GetObject(fl.Path).Worksheets&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Not&lt;/span&gt; sh.ProtectContents &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; sh.Cells.SpecialCells(xlCellTypeLastCell)&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; c0 = fl.Path &amp; &lt;span class=&quot;st0&quot;&gt;&quot;!&quot;&lt;/span&gt; &amp; sh.Name &amp; &lt;span class=&quot;st0&quot;&gt;&quot;&#124;&quot;&lt;/span&gt; &amp; .Address &amp; &lt;span class=&quot;st0&quot;&gt;&quot;&#124;&quot;&lt;/span&gt; &amp; .Row &amp; &lt;span class=&quot;st0&quot;&gt;&quot;&#124;&quot;&lt;/span&gt; &amp; .Column&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; Workbooks(2).Sheets(1).Range(&lt;span class=&quot;st0&quot;&gt;&quot;A1:D1&quot;&lt;/span&gt;)&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; .Offset(.CurrentRegion.Rows.Count) = Split(c0, &lt;span class=&quot;st0&quot;&gt;&quot;&#124;&quot;&lt;/span&gt;)&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; Workbooks(fld.Name).&lt;span class=&quot;kw1&quot;&gt;Close&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;False&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; Application&lt;br&gt;
&#160; &#160; .Calculation = xlCalculationAutomatic&lt;br&gt;
&#160; &#160; .EnableEvents = &lt;span class=&quot;kw1&quot;&gt;True&lt;/span&gt;&lt;br&gt;
&#160; &#160; .DisplayAlerts = &lt;span class=&quot;kw1&quot;&gt;True&lt;/span&gt;&lt;br&gt;
&#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>I used this code.<br />
The method application filesearch is much more convenient, because it automatically selects all the excelfiles (if you want it) and automatically takes all subfolders into account (if you wish). Unfortunately the method doesn&#8217;t seem to exist anymore in Excel 2007.</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Sub</span> test()<br />
&nbsp; <span class="kw1">With</span> Application<br />
&nbsp; &nbsp; .Calculation = xlCalculationManual<br />
&nbsp; &nbsp; .EnableEvents = <span class="kw1">False</span><br />
&nbsp; &nbsp; .DisplayAlerts = <span class="kw1">False</span><br />
&nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
&nbsp; <br />
&nbsp; <span class="kw1">For</span> <span class="kw1">Each</span> fl <span class="kw1">In</span> CreateObject(<span class="st0">&#8220;scripting.filesystemobject&#8221;</span>).getfolder(<span class="st0">&#8220;E:OF&#8221;</span>).Files<br />
&nbsp; &nbsp; <span class="kw1">If</span> Right(fl.Name, 4) = <span class="st0">&#8220;.xls&#8221;</span> <span class="kw1">Then</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw1">For</span> <span class="kw1">Each</span> sh <span class="kw1">In</span> GetObject(fl.Path).Worksheets<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">If</span> <span class="kw1">Not</span> sh.ProtectContents <span class="kw1">Then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">With</span> sh.Cells.SpecialCells(xlCellTypeLastCell)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; c0 = fl.Path &amp;amp; <span class="st0">&#8220;!&#8221;</span> &amp;amp; sh.Name &amp;amp; <span class="st0">&#8220;|&#8221;</span> &amp;amp; .Address &amp;amp; <span class="st0">&#8220;|&#8221;</span> &amp;amp; .Row &amp;amp; <span class="st0">&#8220;|&#8221;</span> &amp;amp; .Column<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">With</span> Workbooks(2).Sheets(1).Range(<span class="st0">&#8220;A1:D1&#8243;</span>)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Offset(.CurrentRegion.Rows.Count) = Split(c0, <span class="st0">&#8220;|&#8221;</span>)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">If</span><br />
&nbsp; &nbsp; &nbsp; <span class="kw1">Next</span><br />
&nbsp; &nbsp; &nbsp; Workbooks(fld.Name).<span class="kw1">Close</span> <span class="kw1">False</span><br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">If</span><br />
&nbsp; <span class="kw1">Next</span><br />
&nbsp; &nbsp; <br />
&nbsp; <span class="kw1">With</span> Application<br />
&nbsp; &nbsp; .Calculation = xlCalculationAutomatic<br />
&nbsp; &nbsp; .EnableEvents = <span class="kw1">True</span><br />
&nbsp; &nbsp; .DisplayAlerts = <span class="kw1">True</span><br />
&nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-30158</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Mon, 28 Jan 2008 17:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-30158</guid>
		<description>&lt;p&gt;344 non-blank sheets&lt;br&gt;
Average 444.2 rows and 10.3 cols&lt;br&gt;
Mode 17 rows and 10 cols&lt;br&gt;
Median rows 48 rows and 9 cols&lt;br&gt;
Max 10141 rows and 256 cols&lt;br&gt;
Min rows 2 rows and 1 cols&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>344 non-blank sheets<br />
Average 444.2 rows and 10.3 cols<br />
Mode 17 rows and 10 cols<br />
Median rows 48 rows and 9 cols<br />
Max 10141 rows and 256 cols<br />
Min rows 2 rows and 1 cols</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-30095</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Sun, 27 Jan 2008 11:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-30095</guid>
		<description>&lt;p&gt;&quot;Avergae 1,102 rows and 18.2 columns.&quot;....wonder why MS botherd about increasing the number of Rows and columns&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;Avergae 1,102 rows and 18.2 columns.&#8221;&#8230;.wonder why MS botherd about increasing the number of Rows and columns</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-30071</link>
		<dc:creator>Marcus</dc:creator>
		<pubDate>Fri, 25 Jan 2008 17:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-30071</guid>
		<description>&lt;p&gt;I ran a scan (essentially a DOS batch file) which listed every spreadsheet in one department of a bank I did work for. There was about 7,500 spreadsheets. And while I didn&#039;t get rows and columns, I did get file size and last modified date. &lt;/p&gt;
&lt;p&gt;The vast majority of the spreadsheets were in the few-hundred kilobytes to a couple of meg range. However there were lots of minnows (100meg. There were a couple of 150 meg moby dicks.&lt;/p&gt;
&lt;p&gt;I&#039;d also agree with dermot - the averages don&#039;t necessarily make sense or are even meangingful. Throw in one or two mody dick&#039;s or a few hundred minnows and the average goes out the window. And what would deem a decent sample size?&lt;/p&gt;
&lt;p&gt;The industry in which the spreadsheet is created also makes a huge difference on what kind of average is deemed reasonable.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I ran a scan (essentially a DOS batch file) which listed every spreadsheet in one department of a bank I did work for. There was about 7,500 spreadsheets. And while I didn&#8217;t get rows and columns, I did get file size and last modified date. </p>
<p>The vast majority of the spreadsheets were in the few-hundred kilobytes to a couple of meg range. However there were lots of minnows (100meg. There were a couple of 150 meg moby dicks.</p>
<p>I&#8217;d also agree with dermot &#8211; the averages don&#8217;t necessarily make sense or are even meangingful. Throw in one or two mody dick&#8217;s or a few hundred minnows and the average goes out the window. And what would deem a decent sample size?</p>
<p>The industry in which the spreadsheet is created also makes a huge difference on what kind of average is deemed reasonable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PetLahev</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-30065</link>
		<dc:creator>PetLahev</dc:creator>
		<pubDate>Fri, 25 Jan 2008 10:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-30065</guid>
		<description>&lt;p&gt;Here is my results&lt;br&gt;
(I had to rewrite code as John wrote)&lt;/p&gt;
&lt;p&gt;466 Files (blank sheets removed)&lt;/p&gt;
&lt;p&gt;------&lt;br&gt;
Avg 188.4 rows and 10.1 cols&lt;br&gt;
Median 22,5 rows and 7 cols&lt;br&gt;
Mode 13 rows and 3 cols&lt;br&gt;
Max: 30,720 rows, 231 cols&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Here is my results<br />
(I had to rewrite code as John wrote)</p>
<p>466 Files (blank sheets removed)</p>
<p>&#8212;&#8212;<br />
Avg 188.4 rows and 10.1 cols<br />
Median 22,5 rows and 7 cols<br />
Mode 13 rows and 3 cols<br />
Max: 30,720 rows, 231 cols</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dermot</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-30045</link>
		<dc:creator>dermot</dc:creator>
		<pubDate>Fri, 25 Jan 2008 05:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-30045</guid>
		<description>&lt;p&gt;I don&#039;t think these averages make any sense. What matters more is the number and complexity of unique formulae.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think these averages make any sense. What matters more is the number and complexity of unique formulae.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Cone</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-30041</link>
		<dc:creator>Jim Cone</dc:creator>
		<pubDate>Thu, 24 Jan 2008 23:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-30041</guid>
		<description>&lt;p&gt;How would anyone ever get a wide enough sample to feel confident about the &quot;average&quot; Excel spreadsheet?&lt;/p&gt;
&lt;p&gt;Here is my contribution...&lt;br&gt;
155 Files (blank sheets removed)&lt;br&gt;
793 Sheets&lt;br&gt;
------&lt;br&gt;
RowsColumns&lt;br&gt;
Average585.210.5&lt;br&gt;
Max40370256&lt;br&gt;
Median457&lt;br&gt;
Min11&lt;br&gt;
Mode142&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How would anyone ever get a wide enough sample to feel confident about the &#8220;average&#8221; Excel spreadsheet?</p>
<p>Here is my contribution&#8230;<br />
155 Files (blank sheets removed)<br />
793 Sheets<br />
&#8212;&#8212;<br />
RowsColumns<br />
Average585.210.5<br />
Max40370256<br />
Median457<br />
Min11<br />
Mode142</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-30036</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 24 Jan 2008 20:59:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-30036</guid>
		<description>&lt;p&gt;I want to see that worksheet that has 18.2 columns ;-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I want to see that worksheet that has 18.2 columns <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J-Walk</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-30034</link>
		<dc:creator>J-Walk</dc:creator>
		<pubDate>Thu, 24 Jan 2008 18:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-30034</guid>
		<description>&lt;p&gt;I used Excel 2007, so I had to respond to a lot more prompts than you did. I eventually got a file that couldn&#039;t be opened, and the code ended. My results for 230 non-empty sheets:&lt;/p&gt;
&lt;p&gt;Avg 382.6 rows and 10.0 cols&lt;br&gt;
Median 30 rows and 6 cols&lt;br&gt;
Mode 8 rows and 2 cols&lt;br&gt;
Max: 31,681 rows, 256 cols&lt;/p&gt;
&lt;p&gt;My results are not at all typical. Most of these are not &quot;real&quot; workbooks. They are files that I&#039;ve used for book examples or for testing purposes.&lt;/p&gt;
&lt;p&gt;If anyone tries this with Excel 2007, change this statement:&lt;/p&gt;
&lt;p&gt;  If srFile.Type = &quot;Microsoft Excel Worksheet&quot; Then&lt;/p&gt;
&lt;p&gt;To this:&lt;/p&gt;
&lt;p&gt;  If Left(srFile.Type, 22) = &quot;Microsoft Office Excel&quot; Then&lt;/p&gt;
&lt;p&gt;Also, you&#039;ll need to add a reference to Microsoft Scripting Runtime&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I used Excel 2007, so I had to respond to a lot more prompts than you did. I eventually got a file that couldn&#8217;t be opened, and the code ended. My results for 230 non-empty sheets:</p>
<p>Avg 382.6 rows and 10.0 cols<br />
Median 30 rows and 6 cols<br />
Mode 8 rows and 2 cols<br />
Max: 31,681 rows, 256 cols</p>
<p>My results are not at all typical. Most of these are not &#8220;real&#8221; workbooks. They are files that I&#8217;ve used for book examples or for testing purposes.</p>
<p>If anyone tries this with Excel 2007, change this statement:</p>
<p>  If srFile.Type = &#8220;Microsoft Excel Worksheet&#8221; Then</p>
<p>To this:</p>
<p>  If Left(srFile.Type, 22) = &#8220;Microsoft Office Excel&#8221; Then</p>
<p>Also, you&#8217;ll need to add a reference to Microsoft Scripting Runtime</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://www.dailydoseofexcel.com/archives/2008/01/24/rows-and-columns/#comment-30033</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Thu, 24 Jan 2008 17:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1800#comment-30033</guid>
		<description>&lt;p&gt;This is great.  It&#039;s always interesting to see what the &quot;reality&quot; of some of our factoids are.&lt;/p&gt;
&lt;p&gt;-Kyle @ Gullible.info&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is great.  It&#8217;s always interesting to see what the &#8220;reality&#8221; of some of our factoids are.</p>
<p>-Kyle @ Gullible.info</p>
]]></content:encoded>
	</item>
</channel>
</rss>

