How to Display a Range of Cells with an Excel Array Formula
Question details
The user wants to return or display values from a specific cell range into another range using an array formula.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Duplicating or mirroring a range of cells into another location using array functions for data analysis or reporting.
- Observed behavior
- The user needs the correct formula syntax and execution keystrokes to ensure the array of values spans across multiple output cells correctly.
Determine your current Excel version, as Microsoft 365 handles arrays dynamically (Spill), while older versions require selecting the destination range and using specific keystrokes.
Use Dynamic Arrays (Microsoft 365 and Excel 2021)
Utilize the modern spill feature to automatically populate adjacent cells without special keystrokes.
In modern versions of Excel, dynamic array formulas are native. You no longer need to select the entire output range or use special keyboard shortcuts. A single formula will automatically calculate and spill the results into adjacent cells.
Click on the single destination cell where you want the top-left value of the array to appear (e.g., D1).
Type the formula referencing the source range, such as =A1:A3.
Press the Enter key. The results will automatically spill into the cells below (D1:D3).

Use Legacy Array Formulas (Excel 2019 and Older)
Create a traditional array formula using the Ctrl+Shift+Enter shortcut for older Excel versions.
Master Array Formulas Effortlessly with WPS Office
WPS Spreadsheet provides robust support for array formulas, allowing you to easily display, calculate, and manage ranges of cells without complex setup. It handles complex data processing smoothly and is a great free alternative.
- 1. Open Your Workbook: Launch WPS Spreadsheet and open your existing file or create a new one.
- 2. Highlight the Target Range: Select the destination cells (e.g., D1:D3) where the array output should be displayed.
- 3. Input the Formula: Type your array formula, such as =A1:A3, into the formula bar.
- 4. Execute the Array: Press Ctrl+Shift+Enter to evaluate the array correctly across the selected cells.

Frequently Asked Questions
Why does my array formula only show the first value?
In older versions of Excel, if you only press Enter instead of Ctrl+Shift+Enter, Excel evaluates the formula as a standard formula and only returns the first value of the array. Ensure you select the entire output range and use the Ctrl+Shift+Enter shortcut.
Can I edit a single cell within a legacy array formula?
No, legacy array formulas entered with Ctrl+Shift+Enter cannot have individual cells changed, cleared, or moved. You must select the entire array range to edit or delete the formula.
What does the #SPILL! error mean?
This error occurs in newer Excel versions when a dynamic array formula attempts to output multiple values, but one or more destination cells are not empty. Delete the obstructing data to allow the formula to spill properly.
Do I need to type the curly braces { } myself?
No. If you are using a legacy array formula, pressing Ctrl+Shift+Enter automatically adds the curly braces around the formula. Manually typing them will cause Excel to treat your input as plain text.




