[]
SpreadJS Designer supports for What‑If Analysis, including Goal Seek and Data Table.
These features are available from the Data tab in the ribbon.

Goal Seek determines the input value required to achieve a specified formula result.
Go to Data → What‑If Analysis → Goal Seek.
The Goal Seek dialog appears.

In the dialog, specify:
Set cell: The formula cell whose result you want to control.
To value: The desired result.
By changing cell: The input cell that will be adjusted.
Maximum iterations: The maximum number of calculation attempts.
Tolerance: The acceptable difference between the calculated result and the target value.
Click OK to start the process.
When Goal Seek starts:
The system iteratively updates the changing cell.
A Goal Seek Status pane displays the progress.
You can review intermediate results during calculation.
When the result falls within the specified tolerance:
A result dialog is displayed.
You can then choose:
OK – Apply the final value to the worksheet. The operation supports undo.
Cancel – Revert all changes made during the process.

A Data Table evaluates a formula using multiple input values and returns the corresponding results.
Select the target range in the worksheet.
Go to Data → What‑If Analysis → Data Table.
The Data Table dialog appears.

In the dialog, specify:
Row input cell
Column input cell
At least one input cell must be provided.
Click OK to confirm.
After confirmation:
An SJS.TABLE formula is inserted into the selected range.
The results are calculated automatically.

During calculation, the Status Bar displays the progress of the Data Table evaluation.
You can monitor the percentage completed until the calculation finishes.

For performance optimization, Designer supports Partial Calculation mode for Data Table.
When enabled:
SJS.TABLE formulas are not recalculated automatically when dependent values change.
Users must manually trigger recalculation by clicking the Calculate button.
This mode is recommended when working with large data tables.
