Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to union ranges in google spreadsheets

I want to union ranges from any Google spreadsheets.

The example

Sheet1!A:A

{12, 131, 45} 

Sheet2!A:A

{12, 131, 46} 

The unknown function

=formula_for_union_range(Sheet1!A:A; Sheet2!:A:A) 

should return

{12, 131, 45, 12, 131, 46} 

The question

How is it possible?

like image 819
contributorpw Avatar asked May 29 '12 05:05

contributorpw


People also ask

How do I combine two ranges in Google Sheets?

Type =CONCAT ( to begin your formula. Type the address of the first cell that you want to combine with, such as A2. Type a comma, and then type the address of the next cell that you want to combine with, such as B2. Press enter on the keyboard.

How do I create a union in Google Sheets?

Combine Two Query Results Vertically in Google Sheets Just place the semicolon between the two Query formulas and then wrap the entire formula with the Curly Brackets. It would work in most of the cases. But if either of the formulas returns an #N/A (empty output) then the combined formula would return an #VALUE!

How do you group ranges in Google Sheets?

Select the rows or columns that you want to group. You can do this easily by dragging through them. Then, right-click and choose the Group option for the rows or columns you selected.


1 Answers

Just use:

={sheet1!a:a; sheet2!a:a} 
like image 189
mik Avatar answered Sep 25 '22 10:09

mik