<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Merge Excel worksheets?</title>
	<link>http://ask.metafilter.com/97103/Merge-Excel-worksheets/</link>
	<description>Comments on Ask MetaFilter post Merge Excel worksheets?</description>
	<pubDate>Mon, 21 Jul 2008 08:40:26 -0800</pubDate>
	<lastBuildDate>Mon, 21 Jul 2008 08:40:26 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Merge Excel worksheets?</title>
		<link>http://ask.metafilter.com/97103/Merge-Excel-worksheets</link>	
		<description>What&apos;s the easiest way to merge data from multiple Excel worksheets into one big worksheet &lt;br /&gt;&lt;br /&gt; I have a workbook with 223 worksheets. Each worksheet contains information about a given geographic area. The information for any given variable is in the same cell each time. I would like to convert this into one big worksheet.&lt;br&gt;
---------------&lt;br&gt;
Example of what I have:&lt;br&gt;
&lt;br&gt;
Worksheet 1 [Area 1]:&lt;br&gt;
Blue: 3&lt;br&gt;
Black: 5&lt;br&gt;
Green: 4&lt;br&gt;
&lt;br&gt;
Worksheet 2 [Area 2]:&lt;br&gt;
Blue: 5&lt;br&gt;
Black: 2&lt;br&gt;
Green: 5&lt;br&gt;
------------------&lt;br&gt;
Example of what I want&lt;br&gt;
&lt;br&gt;
ONE BIG WORKSHEET&lt;br&gt;
Area, Blue, Black, Green&lt;br&gt;
1,        3,       5,     4&lt;br&gt;
2,         5,      2,     5&lt;br&gt;
--------------------------&lt;br&gt;
&lt;br&gt;
If, for example, the value for &apos;Blue&apos; will always be in cell B3, then, essentially I want a macro that works like this:&lt;br&gt;
&lt;br&gt;
For i &amp;lt; 224&lt;br&gt;
BIGSHEETBi=SHEETi!B!3</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.97103</guid>
		<pubDate>Mon, 21 Jul 2008 08:23:34 -0800</pubDate>
		<dc:creator>ewiar</dc:creator>
		
			<category>excel</category>
		
			<category>worksheet</category>
		
			<category>merge</category>
		
			<category>database</category>
		
	</item> <item>
		<title>By: inigo2</title>
		<link>http://ask.metafilter.com/97103/Merge-Excel-worksheets#1415280</link>	
		<description>You can pretty much do exactly what you typed there. Note -- I haven&apos;t tested this but I think it should work. (Hopefully it posts okay, might be some extra spaces.)&lt;br&gt;
&lt;br&gt;
&lt;pre&gt;&lt;br&gt;
Sub CombineData()&lt;br&gt;
  For i = 1 To Sheets.Count&lt;br&gt;
    Worksheets(&quot;BigSheet&quot;).Range(&quot;B&quot; &amp;amp; i).Value = Worksheets(i).Range(&quot;B&quot; &amp;amp; i).Value&lt;br&gt;
  Next&lt;br&gt;
End Sub&lt;br&gt;
&lt;/pre&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.97103-1415280</guid>
		<pubDate>Mon, 21 Jul 2008 08:40:26 -0800</pubDate>
		<dc:creator>inigo2</dc:creator>
	</item><item>
		<title>By: ewiar</title>
		<link>http://ask.metafilter.com/97103/Merge-Excel-worksheets#1415645</link>	
		<description>For anyone with the same problem, I also hacked together the following far less elegant solution.&lt;br&gt;
&lt;br&gt;
Three columns: A, B, C&lt;br&gt;
In A: 1 through n (A1: 1, A2: &quot;=A1+1&quot;, fill down)&lt;br&gt;
In B: &quot; &apos;=Sheet &quot;; fill down&lt;br&gt;
In C: ![Cell coordinates]; fill down&lt;br&gt;
&lt;br&gt;
Concatenate the three in a fourth column: &quot;=concatenate(B1, A1, C1)&quot;; fill down&lt;br&gt;
&lt;br&gt;
Cut and paste the column with the concatenated formulae (the first will look like &quot;=Sheet1![Cell Coordinates]&quot;) into Notepad. Copy and paste from Notepad back into Excel into the desired column.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.97103-1415645</guid>
		<pubDate>Mon, 21 Jul 2008 13:08:53 -0800</pubDate>
		<dc:creator>ewiar</dc:creator>
	</item>
	</channel>
</rss>
