Excel TOCOL Function: Flatten Any Range into a Clean Single Column
The TOCOL function is the fastest way to convert any rectangular range or spilled array into one tidy column that updates automatically. It belongs to Excel’s dynamic array family and is available in Microsoft 365 on Windows, Mac, and the web. The core idea is simple: take values laid out across rows and columns and return them in a single vertical list, in the order you choose, with options to ignore blanks and errors. Microsoft defines the syntax as =TOCOL(array, [ignore], [scan_by_column]), where array is the source range or array, ignore tells Excel which values to drop during the flatten, and scan_by_column controls whether values are read row-wise or column-wise. By default, Excel scans by row and keeps everything, but both behaviors are configurable for cleaner outputs.
