How to Fix Excel Formula Spilling into Adjacent Cells
Question details
The user wants to stop formulas from automatically returning multiple values into adjacent cells, creating non-editable spilled arrays.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Entering a formula that references a multi-cell range instead of a single cell for division or other calculations.
- Observed behavior
- The formula triggers dynamic-array spill behavior, returning multiple results into a spill range below or beside the formula cell where the adjacent cells appear gray and cannot be edited individually.
Verify if your formula includes a range (like AT58:AT60) where a single cell reference (like AT58) is expected. If you only want a single result, you will need to adjust the formula references.
Change Array References to Single Cells and Fill Down
Modify the formula to calculate a single row and copy it down manually to avoid dynamic spilling.
In modern versions of Excel, using a range in a basic formula triggers a dynamic array. To return to the traditional calculation method, rewrite the formula to reference only a single row, then drag it down.
Click on the very first cell where the formula was entered (this is the only cell in the spill range that is actually editable).
In the formula bar, change the range reference to a single cell reference. For example, change =AT58:AT60/O7 to =AT58/O7.
Press the Enter key. The formula will now calculate only one value, and the spill range will disappear.
Click and hold the small green square at the bottom-right corner of the cell, then drag it down to fill the formula into the cells below.

Force a Single Value with the @ Operator
Use the implicit intersection operator (@) to tell Excel to extract only a single value from a range, overriding the spill behavior.
Apply Formula to Multiple Cells using Ctrl+Enter
Select multiple cells and enter the single-cell formula across all of them simultaneously without creating a dynamic array.
Easily Manage Formulas and Arrays with WPS Spreadsheet
WPS Office Spreadsheet provides a clean, user-friendly interface for building formulas without confusing automatic spill errors. It is highly compatible with Microsoft Excel formats and functions, allowing you to manage your data effortlessly.
- 1. Open WPS Spreadsheet: Download and install WPS Office, then open your existing Excel workbook in WPS Spreadsheet.
- 2. Select the target cell: Click the cell where you want to perform your calculation.
- 3. Enter your formula: Type your standard formula referencing a single cell (e.g., =AT58/O7) and press Enter.
- 4. Fill the data: Hover over the bottom-right corner of the cell until the cross cursor appears, then drag down to populate the rest of the column cleanly.

Frequently Asked Questions
Why are the spilled cells grayed out and uneditable in Excel?
In dynamic array formulas, only the top-left cell where the formula was originally entered contains the actual formula. The adjacent gray cells simply display the calculated spill results. Because they are driven by the parent cell, they cannot be manually edited.
How do I clear a spill range in Excel?
To clear the spill range, you must delete or modify the formula in the first (origin) cell. You cannot delete the spilled results individually. If you are getting a #SPILL! error, you need to clear any data that is blocking the spill area.
Is there a way to disable dynamic arrays in Microsoft Excel?
Dynamic array behavior is native to Microsoft 365 and Excel 2021 or later and cannot be globally disabled in the settings. However, you can prevent spilling on a case-by-case basis by using the @ operator before range references to force implicit intersection.
What does the #SPILL! error mean?
The #SPILL! error occurs when an array formula needs to spill its results into adjacent cells, but one or more of those target cells already contain data, text, or even a hidden space. Clearing the blocking cells will allow the formula to spill properly and fix the error.




