2

I have a google spreadsheet with multiple tabs. I would like to append all the element of the first columns of all tabs into one new column. How can I do this with a formula such that I can add or remove data from first columns, and also, add tabs without ever having to touch my new column?

Sheet 1 Column A    Sheet 2 Column A    New Column
Bob                 Mary                Bob
Joe                 Melissa             Joe
Jim                 Jackie              Jim
                                        Mary
                                        Melissa
                                        Jackie
stochastic
  • 215
  • 1
  • 6

1 Answers1

0

=query({'Sheet1'!A:A;'Sheet2'!A:A}, "select * where Col1 <> ''")

Please see more info on arrays {} here, and about query funcrion here.

You'll probably need to use some VBA code for this.

Max Makhrov
  • 17,309
  • 5
  • 55
  • 81