Sheets Tip 366: Stack lists with the magic of TOCOL



Hi Reader,

Welcome to the Google Sheets Tips newsletter #366, your Monday morning espresso, in spreadsheet form!


➜ News

I.
Gemini in Google Sheets can now analyze data across multiple tables. Excellent news!

Read more here >>

II.
Google's Gemini Deep Research now integrates with your Workspace content, including Sheets. (This is only available for paid Workspace accounts.)

Read more here >>


➜ Sheets Tip #366: Stack lists with the magic of TOCOL

Suppose we have lists of names like this:

In this example, there are 4 columns of names, of varying lengths.

How can we combine them quickly and easily into a single list?

Enter TOCOL.

The TOCOL function flattens a range into a single column. It's like the FLATTEN function but has the advantage that you can specify whether to ignore blank cells.

In our example, this formula ignores all the blank cells:

=TOCOL(A1:D9,TRUE)

A1:D9 is the range of the 4 columns.

The second argument, TRUE, is us telling the TOCOL function to ignore the blanks. (Set it to FALSE or omit it if you want to keep the blanks.)

Here it is in our Sheet:

Easy!


If you enjoyed this newsletter, please forward it to a friend who might enjoy it.

Have a great week!

Cheers,
Ben

P.S. Can you top this embarrassing moment?

Google Sheets Tips

Get better at working with Google Sheets! Join 50,000 readers to get an actionable tip in your inbox every Monday.

Read more from Google Sheets Tips

Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #379, your Monday morning espresso, in spreadsheet form! Anyone else feeling a little overwhelmed with everything AI these days? Every day, panicked people on Twitter are prophesying the end of white-collar jobs. And Block recently announced they are reducing their headcount by 40% (4,000 people) because of AI, so maybe they have a point. But on a visit to a new dentist last month, I still had to fill out a paper form...

Hi Reader, Welcome to the Google Sheets Tips newsletter #378, your Monday morning espresso, in spreadsheet form! Last week, I shared an essay about how we’re at a threshold in 2026 where writing complex formulas from scratch doesn't make sense anymore (and others have come to similar conclusions). It’s simply no longer economically viable to spend 45 minutes wrestling with syntax when Gemini can generate the same result in seconds. Today, we’re putting that theory to the test with one of the...

Brought to you by: Hi Reader, Welcome to the Google Sheets Tips newsletter #377, your Monday morning espresso, in spreadsheet form! Coming to your inbox on a Tuesday this week, because it was a public holiday here in the US yesterday. Today I'm pondering whether it makes sense to write your own formulas anymore. AI tools are getting so good at writing formula syntax (and Apps Script code) that it doesn't make sense (economically at least) to spend hours crafting complex formulas yourself, if...