Error #SPILL! in Excel quite common and fixing it is quite simple. Here it is How to fix #SPILL! easily in Excel.
Microsoft Excel offers features that make managing data in spreadsheets easy. However, occasionally, it also generates errors.
#SPILL! is an error that occurs even when the formula has the correct syntax and is used in the appropriate conditions. If you encounter the error #SPILL! in a cell in the spreadsheet, follow the steps below.
What is the #SPILL error in Excel?
The first step to fix the #SPILL error in Excel is to understand the conditions that created it. Microsoft Excel is used with various formulas, which unlock many powerful features. A type called array formulas applies a function over a range of cells instead of just one cell.
In newer versions of Excel, array formulas automatically expand to accommodate the space needed for the formula to work. This is called the spill range. In a spill range, other related cells that do not directly contain an array formula related to the formula are shaded gray in the formula bar.
An array formula needs enough space to “spill over” the data, so if these cells are unavailable or interrupted, the formula cannot function properly. This is the most common cause of #SPILL! Whenever an array formula is executed in a range that overlaps existing data, the #SPILL error occurs.
Additionally, you also face this error for the same reason if the overflow includes merged cells, the array size is not a fixed value.
How to fix #SPILL! in Excel
This error sounds “difficult” but how to handle it is quite simple once you know the cause of the error. Luckily, Excel will tell you what's causing the problem right next to the formula. All you need to do is select this box and click the warning sign next to it. Once you have identified the cause, you can take corrective measures #SPILL! in Excel.
If there is an interference in the overflow range, you should first try to move or delete the data that is interfering with the formula. Additionally, you can convert the array formula to an area with enough space to contain the overflow area.
If the merged cells interfere with the overflow area of the array, you need to find and unmerge that cell. You can do this by selecting the merged cell and clicking Merge and Center > Unmerge Cells on tabs Home.
Another type of #SPILL! Occurs when Excel cannot calculate and match the absolute size of the output value. Normally, you wouldn't need a function that returns billions of values. In such cases, the formula itself can cause this problem. You need to edit the formula so that it outputs the proper, much smaller array.
If you can't find any other reason why the formula isn't working, double check the entered formula to make sure all arguments required in the function are entered correctly.
Once the array formula has enough space to operate again, it will automatically recalculate. You can now return to work without any further problems. If the formula is not automatically recalculated, it may have been calculated manually in the first place. You can force it to recalculate by pressing F9 on your keyboard.
The above is The simplest ways to fix #SPILL errors! in Excel. Hope the article is useful to you.