Calculation Issues

Prevent Old Excel Spill Data from Remaining After SEQUENCE Shrinks in WPS Spreadsheets

Anum MushtaqAnum Mushtaq Nov 13, 2026 869 views

Question details

The user needs to stop leftover values from remaining in dependent cells below a dynamic SEQUENCE spill range after the array shrinks.

Prevent Old Excel Spill Data from Remaining After SEQUENCE Shrinks in WPS Spreadsheets
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.
Before you start

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.

Solution 1Recommended

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.

1
Locate the SEQUENCE formula cell

Click the cell containing SEQUENCE, for example D2, and note that its spill range is marked by a border in WPS Spreadsheets.

2
Select the first dependent result cell

Click the top cell in the adjacent column where you want dependent results to appear.

3
Enter a formula using the # spill reference

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.

4
Delete legacy values below the spill

Select any old values in that column below the new spill range and press Delete so only formula-driven results remain.

Use the spill operator (#) to tie dependent formulas to the SEQUENCE range
Spill range now stays aligned: The dependent column will automatically match the number of rows returned by SEQUENCE, including after it shrinks.
WPS Spreadsheets dynamic arrays

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. 1. Open the workbook: Launch WPS Spreadsheets and open the workbook containing the SEQUENCE formula.
  2. 2. Identify the dynamic array cell: Click the cell where SEQUENCE starts, such as D2, and confirm the current spill range.
  3. 3. Apply a # spill reference: In the top dependent cell, enter a formula that references D2# so results match the SEQUENCE range.
  4. 4. Clear stale entries below the range: Select and delete any remaining old values below the new spill range.
  5. 5. Save and test the change: Press Ctrl+S to save, then adjust the SEQUENCE arguments to confirm dependent results update automatically.
Prevents stale spill data when a SEQUENCE formula returns fewer rows.Supports Excel .xlsx dynamic arrays and the # spill operator.Free, lightweight WPS Office with a familiar spreadsheet interface.Keeps dependent formulas aligned without manual cleanup after every change.
microsoft office alternative - wps office

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.