Convert an Array to a Single Column in Excel
Question details
Extract values from an array into a single vertical column without manually rearranging them.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to combine values from a multirow, multicolumn range into one column.
- Observed behavior
- The desired result is a vertical list of the array's values, optionally excluding blank cells.
Identify the source range and choose an empty output column with enough space for its values. Check whether your Excel version supports TOCOL; Excel 2021 does not include it.
Use TOCOL to return the array in one column
Use this method in an Excel version that supports TOCOL to create a dynamic list and ignore blank cells.
Click an empty cell outside the source range, such as E1, and make sure the cells below it are clear.
Type =TOCOL(A1:C3,1), replacing A1:C3 with your array range, and press Enter. The second argument, 1, ignores blank cells.
Review the values below the formula cell. By default, TOCOL reads the source range across each row; clear any obstructing cells if Excel reports a spill error.

Use INDEX to list array values in older Excel versions
Use this formula when TOCOL is unavailable and you can fill the output cells manually.
Create a Single-Column List in WPS Spreadsheets
Use an INDEX-based formula in WPS Spreadsheets to list a rectangular range vertically without manually rearranging its values.
- 1. Open the workbook: Open WPS Spreadsheets and select Open to load your workbook.
- 2. Choose an output cell: Click an empty cell outside the source range, such as E1 for data in A1:C3.
- 3. Enter the formula: In E1, enter =IFERROR(INDEX($A$1:$C$3,INT((ROWS($E$1:E1)-1)/COLUMNS($A$1:$C$3))+1,MOD(ROWS($E$1:E1)-1,COLUMNS($A$1:$C$3))+1),""). Replace A1:C3 with your source range if needed.
- 4. Fill the formula down: Drag E1's fill handle down through E9 for a nine-cell source range. Empty source cells may appear as zeros rather than being skipped.

Frequently Asked Questions
Does TOCOL work in Excel 2021?
No. In Excel 2021, use an INDEX-based formula or another method such as Power Query. TOCOL is available in Microsoft 365 and Excel 2024.
How do I ignore blank cells when converting an array?
In a supported Excel version, enter =TOCOL(A1:C3,1) in an empty cell. The second argument tells TOCOL to ignore blanks.
Can TOCOL read the array down each column instead of across rows?
Yes. Enter =TOCOL(A1:C3,1,TRUE) to scan by column while ignoring blank cells.
Why does my TOCOL formula show a spill error?
The output area may contain existing data. Clear the cells below the formula or move it to an empty location with enough space for the results.
Does the INDEX method skip blank cells?
No. The INDEX formula lists every source position, and empty cells may appear as zeros. Use TOCOL with the second argument set to 1 if your Excel version supports it.




