Prevent Old Excel Spill Data from Remaining After SEQUENCE Shrinks in WPS Spreadsheets
Question details
The user needs to stop leftover values from remaining in dependent cells below a dynamic SEQUENCE spill range after the array shrinks.

- Product
- WPS Spreadsheets
- Device & OS
- not provided
- Scenario
- A worksheet uses SEQUENCE to generate a dynamic list, and formulas in adjacent columns depend on that list.
- Observed behavior
- When SEQUENCE returns fewer rows than before, formulas or old values below the new spill range continue to display stale data.
Open the workbook in WPS Spreadsheets and identify the cell containing the SEQUENCE formula—for example, D2—and the dependent column that still shows old data below the current spill range.
Use the spill operator (#) to tie dependent formulas to the SEQUENCE range
Use this when you want dependent results to automatically expand and shrink with the SEQUENCE dynamic array.
Referencing the SEQUENCE cell with # tells WPS Spreadsheets to read the whole spilled range. Dependent formulas then spill exactly over the rows returned by SEQUENCE, so no stale values can remain below the current range if old hard-coded data is removed.
Click the cell containing SEQUENCE, for example D2, and note that its spill range is marked by a border in WPS Spreadsheets.
Click the top cell in the adjacent column where you want dependent results to appear.
Type a formula such as =IF(D2#="","",D2#*2) and press Enter. Replace D2 with your actual SEQUENCE cell and adjust the expression as needed.
Select any old values in that column below the new spill range and press Delete so only formula-driven results remain.

Fill down a blank-check formula to hide stale dependent values
Use this if you prefer a traditional fill-down approach or need to keep a fixed formula range.
Keep Dynamic SEQUENCE Results Clean in WPS Spreadsheets
Handle dynamic array spills in WPS Spreadsheets with the spill operator (#) or blank-check formulas. Your dependent columns stay synchronized when SEQUENCE expands or shrinks, and Excel workbooks remain fully compatible.
- 1. Open the workbook: Launch WPS Spreadsheets and open the workbook containing the SEQUENCE formula.
- 2. Identify the dynamic array cell: Click the cell where SEQUENCE starts, such as D2, and confirm the current spill range.
- 3. Apply a # spill reference: In the top dependent cell, enter a formula that references D2# so results match the SEQUENCE range.
- 4. Clear stale entries below the range: Select and delete any remaining old values below the new spill range.
- 5. Save and test the change: Press Ctrl+S to save, then adjust the SEQUENCE arguments to confirm dependent results update automatically.

Frequently Asked Questions
Why are old values still showing below my SEQUENCE formula after it shrinks?
This usually happens because dependent cells were filled down or contain hard-coded values. Use a spill reference such as D2# in WPS Spreadsheets to manage them, or clear values not controlled by formulas.
What does the # spill operator do in WPS Spreadsheets?
Putting # after a dynamic array cell, such as D2#, references the entire spill range returned by that cell. Formulas using it spill to exactly the same number of rows.
Can I use =IF(D2="","",...) instead of the # operator?
Yes. Put the blank check in the top dependent cell and fill the formula down over the maximum expected rows. Empty SEQUENCE results will display as blank, but stale hard-coded values still need to be deleted.
How do I delete leftover values outside the current SEQUENCE spill range?
Select the rows below the current spill range in the affected column and press Delete. Make sure those cells do not contain data you need elsewhere.
Does WPS Spreadsheets support SEQUENCE and dynamic arrays from Excel?
Yes. WPS Spreadsheets supports Excel dynamic array functions and opens .xlsx workbooks, so SEQUENCE, the # spill operator, and related formulas remain compatible.




