<?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: Google Sheets: Combine Multiple Ranges / Sheets into a Single Range / Sheet	</title>
	<atom:link href="https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/feed/" rel="self" type="application/rss+xml" />
	<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/</link>
	<description>Guidance for digital marketers</description>
	<lastBuildDate>Fri, 08 Mar 2024 03:27:13 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		By: Dave Meindl		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-3899</link>

		<dc:creator><![CDATA[Dave Meindl]]></dc:creator>
		<pubDate>Fri, 08 Mar 2024 03:27:13 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-3899</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-3853&quot;&gt;kzkz&lt;/a&gt;.

Glad to hear it!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-3853">kzkz</a>.</p>
<p>Glad to hear it!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave Meindl		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-3898</link>

		<dc:creator><![CDATA[Dave Meindl]]></dc:creator>
		<pubDate>Fri, 08 Mar 2024 03:26:53 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-3898</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-3888&quot;&gt;Chirag&lt;/a&gt;.

Glad you found the solution helpful.

Regarding the dates in column F on the &quot;Main&quot; sheet...

If you&#039;re looking to have the date in column F reflect the date that&#039;s represented in column A, you&#039;ll probably want to modify slightly your formula in column F.

Try this instead:

&lt;code&gt;={&quot;date&quot;;ARRAYFORMULA(DATE(REGEXEXTRACT(TO_TEXT(FILTER(A2:A, A2:A&lt;&gt;&quot;&quot;)),&quot;[0-9]{4}$&quot;), REGEXEXTRACT(TO_TEXT(FILTER(A2:A, A2:A&lt;&gt;&quot;&quot;)),&quot;^[^-/]{1,2}[-/]([^-/]{1,2})&quot;), REGEXEXTRACT(TO_TEXT(FILTER(A2:A, A2:A&lt;&gt;&quot;&quot;)),&quot;^[^-/]{1,2}&quot;)))}&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-3888">Chirag</a>.</p>
<p>Glad you found the solution helpful.</p>
<p>Regarding the dates in column F on the &#8220;Main&#8221; sheet&#8230;</p>
<p>If you&#8217;re looking to have the date in column F reflect the date that&#8217;s represented in column A, you&#8217;ll probably want to modify slightly your formula in column F.</p>
<p>Try this instead:</p>
<p><code>={"date";ARRAYFORMULA(DATE(REGEXEXTRACT(TO_TEXT(FILTER(A2:A, A2:A<>"")),"[0-9]{4}$"), REGEXEXTRACT(TO_TEXT(FILTER(A2:A, A2:A<>"")),"^[^-/]{1,2}[-/]([^-/]{1,2})"), REGEXEXTRACT(TO_TEXT(FILTER(A2:A, A2:A<>"")),"^[^-/]{1,2}")))}</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chirag		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-3888</link>

		<dc:creator><![CDATA[Chirag]]></dc:creator>
		<pubDate>Fri, 01 Mar 2024 16:43:56 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-3888</guid>

					<description><![CDATA[Hi Dave, 

This was very helpful. I got it working and wanted to know if there is a way to append a column and insert the name of the *source sheet* respectively *for every row*. 

This is my sheet. 
https://docs.google.com/spreadsheets/d/1lgrKRHIJqYQXvW0dCU4G2XOqp2tY9VCD_T47Qg2pCPE/edit?usp=sharing

I&#039;ve added ArrayFormula manually to each sheet. This works as a workaround. was wondering if there is a better solution. As this sheet is updated programmatically via a script]]></description>
			<content:encoded><![CDATA[<p>Hi Dave, </p>
<p>This was very helpful. I got it working and wanted to know if there is a way to append a column and insert the name of the *source sheet* respectively *for every row*. </p>
<p>This is my sheet.<br />
<a href="https://docs.google.com/spreadsheets/d/1lgrKRHIJqYQXvW0dCU4G2XOqp2tY9VCD_T47Qg2pCPE/edit?usp=sharing" rel="nofollow ugc">https://docs.google.com/spreadsheets/d/1lgrKRHIJqYQXvW0dCU4G2XOqp2tY9VCD_T47Qg2pCPE/edit?usp=sharing</a></p>
<p>I&#8217;ve added ArrayFormula manually to each sheet. This works as a workaround. was wondering if there is a better solution. As this sheet is updated programmatically via a script</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: kzkz		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-3853</link>

		<dc:creator><![CDATA[kzkz]]></dc:creator>
		<pubDate>Sun, 11 Feb 2024 03:16:10 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-3853</guid>

					<description><![CDATA[Thank you so much! This was the perfect solution to my problem.]]></description>
			<content:encoded><![CDATA[<p>Thank you so much! This was the perfect solution to my problem.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave Meindl		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-1531</link>

		<dc:creator><![CDATA[Dave Meindl]]></dc:creator>
		<pubDate>Fri, 17 Jun 2022 21:51:43 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-1531</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-1530&quot;&gt;David&lt;/a&gt;.

Most likely, the data is all there. There&#039;s probably just a lot of empty rows between the data from the first sheet and the data from the second.

Arrays do not automatically filter out empty rows.

&lt;code&gt;={SHEET1!Q:U;SHEET2!Q:U}&lt;/code&gt;

This formula retrieves the entire requested range from each of the specified ranges. In other words, &quot;SHEET1!Q:U&quot; retrieves the entire range of rows and columns corresponding to SHEET1!Q:U, whether there&#039;s data there or not.

So, your formula is saying, &quot;Grab all rows and columns from SHEET1!Q:U (including empty ones). Then append all rows and columns from SHEET2!Q:U (including empty ones).&quot;

To retrieve only rows that contain data, use the &lt;a href=&quot;https://support.google.com/docs/answer/3093197?hl=en&quot; target=&quot;_blank&quot; rel=&quot;noopener nofollow ugc&quot;&gt;FILTER&lt;/a&gt; function.

&lt;code&gt;={FILTER(SHEET1!Q:U, SHEET1!Q:Q&lt;&gt;&quot;&quot;);FILTER(SHEET2!Q:U, SHEET2!Q:Q&lt;&gt;&quot;&quot;)}&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-1530">David</a>.</p>
<p>Most likely, the data is all there. There&#8217;s probably just a lot of empty rows between the data from the first sheet and the data from the second.</p>
<p>Arrays do not automatically filter out empty rows.</p>
<p><code>={SHEET1!Q:U;SHEET2!Q:U}</code></p>
<p>This formula retrieves the entire requested range from each of the specified ranges. In other words, &#8220;SHEET1!Q:U&#8221; retrieves the entire range of rows and columns corresponding to SHEET1!Q:U, whether there&#8217;s data there or not.</p>
<p>So, your formula is saying, &#8220;Grab all rows and columns from SHEET1!Q:U (including empty ones). Then append all rows and columns from SHEET2!Q:U (including empty ones).&#8221;</p>
<p>To retrieve only rows that contain data, use the <a href="https://support.google.com/docs/answer/3093197?hl=en" target="_blank" rel="noopener nofollow ugc">FILTER</a> function.</p>
<p><code>={FILTER(SHEET1!Q:U, SHEET1!Q:Q<>"");FILTER(SHEET2!Q:U, SHEET2!Q:Q<>"")}</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-1530</link>

		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 17 Jun 2022 17:44:14 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-1530</guid>

					<description><![CDATA[Did this functionality get removed in an update? I am using curly brackets to combine data from multiple tabs within the same sheet, but it only shows the data from the first range. 

I have ensured that all of the data is within the same columns on each tab, and each column contains the same type of data. I have approx. 10-15 tabs that need to be combined into a master list, but I started by trying to combine 2 of them in an attempt to avoid potential syntax errors.

My current formula:
={SHEET1!Q:U;SHEET2!Q:U}]]></description>
			<content:encoded><![CDATA[<p>Did this functionality get removed in an update? I am using curly brackets to combine data from multiple tabs within the same sheet, but it only shows the data from the first range. </p>
<p>I have ensured that all of the data is within the same columns on each tab, and each column contains the same type of data. I have approx. 10-15 tabs that need to be combined into a master list, but I started by trying to combine 2 of them in an attempt to avoid potential syntax errors.</p>
<p>My current formula:<br />
={SHEET1!Q:U;SHEET2!Q:U}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave Meindl		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-1499</link>

		<dc:creator><![CDATA[Dave Meindl]]></dc:creator>
		<pubDate>Mon, 16 May 2022 00:42:31 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-1499</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-1486&quot;&gt;Kelly&lt;/a&gt;.

Hi Kelly. This post shows how to combine the data from those sheets into one big master sheet.

&lt;code&gt;={Sheet1!A1:I300;Sheet2!A2:I300;Sheet3!A2:I300}&lt;/code&gt;

It also shows how, using QUERY, you can reduce the data to just that which matches certain criteria.

You want to retrieve those rows where the value of column D is 8150-5800-8110. So, you want your SELECT statement to express this.

&lt;code&gt;SELECT * WHERE Col4 = &#039;8150-5800-8110&#039;&lt;/code&gt;

This SQL statement says, &quot;Get all rows and columns in the range where column 4 (i.e. column D) is equal to 8150-5800-8110.

Your final formula would look like this:

&lt;code&gt;=QUERY({Sheet1!A1:I300;Sheet2!A2:I300;Sheet3!A2:I300}, &quot;SELECT * WHERE Col4 = &#039;8150-5800-8110&#039;&quot;, 1)&lt;code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-1486">Kelly</a>.</p>
<p>Hi Kelly. This post shows how to combine the data from those sheets into one big master sheet.</p>
<p><code>={Sheet1!A1:I300;Sheet2!A2:I300;Sheet3!A2:I300}</code></p>
<p>It also shows how, using QUERY, you can reduce the data to just that which matches certain criteria.</p>
<p>You want to retrieve those rows where the value of column D is 8150-5800-8110. So, you want your SELECT statement to express this.</p>
<p><code>SELECT * WHERE Col4 = '8150-5800-8110'</code></p>
<p>This SQL statement says, &#8220;Get all rows and columns in the range where column 4 (i.e. column D) is equal to 8150-5800-8110.</p>
<p>Your final formula would look like this:</p>
<p><code>=QUERY({Sheet1!A1:I300;Sheet2!A2:I300;Sheet3!A2:I300}, "SELECT * WHERE Col4 = '8150-5800-8110'", 1)</code><code></code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kelly		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-1486</link>

		<dc:creator><![CDATA[Kelly]]></dc:creator>
		<pubDate>Sun, 08 May 2022 21:59:23 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-1486</guid>

					<description><![CDATA[HELP PLEASE!  I am trying t combine data from three sheets and put them into one big Master.  For the life of me I cannot figure out how I do it.  
Sheet#1 I want to grab the data from A2:I300 if D2:D300=&quot;8150-5800-8110&quot;
Sheet#2 I want to grab the data from A2:I300 if D2:D300=&quot;8150-5800-8110&quot;
Sheet#3 I want to grab the data from A2:I300 if D2:D300=&quot;8150-5800-8110&quot;
Any Help that you can offer would be GREATLY Appreciated!]]></description>
			<content:encoded><![CDATA[<p>HELP PLEASE!  I am trying t combine data from three sheets and put them into one big Master.  For the life of me I cannot figure out how I do it.<br />
Sheet#1 I want to grab the data from A2:I300 if D2:D300=&#8221;8150-5800-8110&#8243;<br />
Sheet#2 I want to grab the data from A2:I300 if D2:D300=&#8221;8150-5800-8110&#8243;<br />
Sheet#3 I want to grab the data from A2:I300 if D2:D300=&#8221;8150-5800-8110&#8243;<br />
Any Help that you can offer would be GREATLY Appreciated!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex Walton		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-700</link>

		<dc:creator><![CDATA[Alex Walton]]></dc:creator>
		<pubDate>Thu, 07 Oct 2021 16:34:13 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-700</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-254&quot;&gt;Don Payne&lt;/a&gt;.

Don, Dave,

A year late to the party here, but I had exactly the same problem.
I was trying to sort by numbers in Col1 across data from 9 different sheets.  The issue was that the data had first been exported from another tool, then uploaded sheet-by-sheet into Google Sheets.

In short, the numbers in Col1 were not being recognised as numbers.  They were like... text numbers or something.  This prevented the query from viewing every cell in column 1 as the same data type and aggregating all the data into a single array.

I just selected the first column for each sheet, deselected the title cell A1, and used Ctrl+Shift+1 to force the format to Number.

The aggregated query array updated itself accordingly.

Hope this helps anyone else stuck with this - if your data has been imported (and not entered manually), make sure you&#039;re working with a native Sheets datatype that can be sorted and not plain text!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-254">Don Payne</a>.</p>
<p>Don, Dave,</p>
<p>A year late to the party here, but I had exactly the same problem.<br />
I was trying to sort by numbers in Col1 across data from 9 different sheets.  The issue was that the data had first been exported from another tool, then uploaded sheet-by-sheet into Google Sheets.</p>
<p>In short, the numbers in Col1 were not being recognised as numbers.  They were like&#8230; text numbers or something.  This prevented the query from viewing every cell in column 1 as the same data type and aggregating all the data into a single array.</p>
<p>I just selected the first column for each sheet, deselected the title cell A1, and used Ctrl+Shift+1 to force the format to Number.</p>
<p>The aggregated query array updated itself accordingly.</p>
<p>Hope this helps anyone else stuck with this &#8211; if your data has been imported (and not entered manually), make sure you&#8217;re working with a native Sheets datatype that can be sorted and not plain text!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ro Hur		</title>
		<link>https://davidmeindl.com/google-sheets-combine-multiple-ranges-sheets-into-a-single-range-sheet/#comment-617</link>

		<dc:creator><![CDATA[Ro Hur]]></dc:creator>
		<pubDate>Sat, 21 Aug 2021 22:09:19 +0000</pubDate>
		<guid isPermaLink="false">https://davidmeindl.com/?p=8443#comment-617</guid>

					<description><![CDATA[Is there a way to &quot;automate&quot; this to continue adding columns? Or some such similar feature?
Ex: =MAX(COUNTIF(A1:A15, &quot;*Gummi*&quot;), COUNTIF(B1:B15, &quot;*Gummi*&quot;)) continues in the next column into
=MAX(COUNTIF(A1:A15, &quot;*Gummi*&quot;), COUNTIF(B1:B15, &quot;*Gummi*&quot;), COUNTIF(C1:C15, &quot;*Gummi*&quot;))

Ranges will be replaced with dynamic ranges, not sure if that would affect it
=INDIRECT(&quot;B&quot; &#038; MATCH(FALSE,INDEX(F3:F=&quot;&quot;),0) + 1)]]></description>
			<content:encoded><![CDATA[<p>Is there a way to &#8220;automate&#8221; this to continue adding columns? Or some such similar feature?<br />
Ex: =MAX(COUNTIF(A1:A15, &#8220;*Gummi*&#8221;), COUNTIF(B1:B15, &#8220;*Gummi*&#8221;)) continues in the next column into<br />
=MAX(COUNTIF(A1:A15, &#8220;*Gummi*&#8221;), COUNTIF(B1:B15, &#8220;*Gummi*&#8221;), COUNTIF(C1:C15, &#8220;*Gummi*&#8221;))</p>
<p>Ranges will be replaced with dynamic ranges, not sure if that would affect it<br />
=INDIRECT(&#8220;B&#8221; &amp; MATCH(FALSE,INDEX(F3:F=&#8221;&#8221;),0) + 1)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
