Calculation Issues

How to Use Goal Seek with Addition or SUM in Excel

Steve KSteve K Nov 10, 2026 868 views

Question details

The user wants to find out how to use the Goal Seek feature to reach a specific target value using simple addition or a SUM formula.

How to Use Goal Seek with Addition or SUM Formulas
Product
Spreadsheet
Device & OS
not provided
Scenario
Calculating a required input value for a specific cell to make an addition formula reach a desired total sum.
Observed behavior
The user needs to configure the Goal Seek tool with the correct formula cell, target value, and variable cell to calculate the missing addend.
Before you start

Ensure your target cell contains a valid formula (like simple addition or a SUM function) that directly or indirectly references the input cell you want Goal Seek to change.

Solution 1Recommended

Use Goal Seek with a Direct Addition or SUM Formula

Configure the What-If Analysis tool to adjust a specific input cell until your formula reaches the desired total.

This is the standard method for using Goal Seek. It works perfectly with any formula that adds values together, as long as the cell you want Excel to change does not contain a formula itself.

1
Create the formula

In your result cell, enter your addition formula (e.g., =A1+A2) or SUM formula (e.g., =SUM(A1:A5)). Make sure one of the referenced cells is empty or contains a variable value you want to calculate.

2
Open Goal Seek

Navigate to the Data tab on the top ribbon, click on 'What-If Analysis', and select 'Goal Seek' from the dropdown menu.

3
Configure the Goal Seek dialog

In the Goal Seek window, set the 'Set cell' to your formula cell. Enter your desired total sum in the 'To value' box (for example, 100).

4
Choose the changing cell

Click the 'By changing cell' box and select the variable cell (e.g., A2) that Excel should adjust to reach the target, then click OK.

Use Goal Seek with a Direct Addition or SUM Formula
Goal Seek Status: Once you click OK, a prompt will appear showing the target value and the current value found. Click OK to keep the newly calculated number in your spreadsheet.
Calculate Targets Easily

Use Goal Seek in WPS Spreadsheet

WPS Spreadsheet provides a built-in What-If Analysis tool, including Goal Seek. It allows you to solve for unknown variables in your SUM formulas just like Microsoft Excel, completely free of charge.

  1. 1. Open your file in WPS: Launch WPS Spreadsheet and open the workbook containing your addition data and formulas.
  2. 2. Access Goal Seek: Navigate to the Data tab, click on 'What-If Analysis', and choose 'Goal Seek' from the menu.
  3. 3. Set your parameters: Input your formula cell, desired target value, and the cell to change, then click OK to let WPS calculate the result instantly.
Fully compatible with Microsoft Excel formulas and functionsBuilt-in What-If Analysis and Goal Seek toolsFree, lightweight, and easy to useSupports complex SUM, addition, and gap formulas seamlessly
microsoft office alternative - wps office

Frequently Asked Questions

Why is Goal Seek giving me an error when I try to change a cell?

Goal Seek requires the 'By changing cell' to be a simple hardcoded value or an empty cell. If the cell you are trying to change contains a formula, Goal Seek will not work. Ensure the changing cell is a plain value.

Can Goal Seek change multiple cells at once in a SUM formula?

No, the basic Goal Seek tool can only adjust one input cell at a time. If you need to change multiple variables simultaneously to reach a target sum, you should use the Solver add-in feature.

Why isn't Goal Seek finding an exact match for my target value?

Sometimes Goal Seek stops when it finds a value that is very close to the target due to iteration limits. You can improve its accuracy by adjusting the 'Maximum change' setting in your spreadsheet's calculation options (Options > Formulas).

Can I use Goal Seek across different worksheets?

Yes, your 'Set cell' and 'By changing cell' can be located on different worksheets within the same workbook. Just ensure that the formula in the 'Set cell' correctly references the changing cell on the other sheet.