How to Fix Excel Dynamic Formula Not Spilling Data into Separate Columns
Question details
The user needs a dynamic formula to correctly spill selected row data into separate columns and rows for a printable worksheet.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Creating a printable worksheet that pulls specific rows from a source sheet based on checkbox selections.
- Observed behavior
- The returned data appears as one large block or is awkwardly formatted, failing to spill correctly across the intended separate columns and rows.
Ensure that the destination area where you want the formula to spill is completely empty and does not contain any merged cells, as these will block dynamic array formulas.
Apply the FILTER Function and Clear the Spill Range
Use the FILTER function to dynamically pull checked rows, ensuring the destination range is free of obstructions.
The FILTER function is the most efficient way to extract data based on conditions (like a checked box). However, it requires a completely clear path to spill the data across multiple columns and rows.
Click on the top-left cell of your intended destination range where you want the filtered data to begin.
Type the formula =FILTER(DataRange, CheckboxRange=TRUE) into the formula bar, replacing 'DataRange' with your source data columns and 'CheckboxRange' with the column containing your checkboxes.
Press Enter. If you see a #SPILL! error, it means something is blocking the data. Look for any text, spaces, or hidden characters in the adjacent cells.
Highlight the entire expected spill area, go to the Home tab, and ensure 'Merge & Center' is turned off. Dynamic arrays cannot spill into merged cells.

Fix Awkward Text Flow and Formatting in Spilled Results
If the data spills but looks unattractive or clumped, adjust the cell formatting and column widths to make it printable.
Easily Manage Dynamic Arrays and Formatting with WPS Office
WPS Spreadsheet fully supports dynamic array functions like FILTER, allowing you to seamlessly extract and format data based on checkbox selections without formatting headaches.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your source data and checkboxes.
- 2. Input the formula: Select the destination cell and input your =FILTER() formula to extract the checked rows.
- 3. Let the data spill: Press Enter to let the data spill automatically across the necessary columns and rows.
- 4. Format for printing: Use the Home tab to apply Wrap Text, adjust borders, and AutoFit column widths for a perfect printable layout.

Frequently Asked Questions
Why am I getting a #SPILL! error when using the FILTER function?
A #SPILL! error occurs when the dynamic array formula doesn't have enough blank cells to display all the results. Check for hidden characters, spaces, or existing data in the destination area and clear them.
Can I use dynamic array formulas with merged cells?
No, dynamic array formulas cannot spill into merged cells. You must unmerge any cells in the intended spill range before the formula can successfully output the data across separate columns.
How do I make the spilled data look good for printing?
Select the spilled range, apply 'Wrap Text' from the Home tab, adjust column widths, and set appropriate row heights. You can also define the Print Area in the Page Layout tab to ensure the data fits perfectly on the printed page.




