Function Problems

Convert an Array to a Single Column in Excel

Steven ParkerSteven Parker Dec 2, 2026 870 views

Question details

Extract values from an array into a single vertical column without manually rearranging them.

Convert an Array to a Single-Column Range in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Select an output cell

Click an empty cell outside the source range, such as E1, and make sure the cells below it are clear.

2
Enter the TOCOL formula

Type =TOCOL(A1:C3,1), replacing A1:C3 with your array range, and press Enter. The second argument, 1, ignores blank cells.

3
Check the spilled results

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 TOCOL to return the array in one column
Availability: TOCOL is available in Microsoft 365 and Excel 2024, among supported versions, but not in Excel 2021.
Work with arrays in WPS Spreadsheets

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. 1. Open the workbook: Open WPS Spreadsheets and select Open to load your workbook.
  2. 2. Choose an output cell: Click an empty cell outside the source range, such as E1 for data in A1:C3.
  3. 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. 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.
Convert a multirow, multicolumn range into a vertical listOpen and edit Microsoft Excel XLSX and XLS filesUse familiar spreadsheet formulas and a familiar interfaceWork with a free, lightweight office suite
microsoft office alternative - wps office

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.