You know the result you want from a spreadsheet, but not the input that will produce it. For example, what price would give you a target profit, how many units would cover fixed costs, or what monthly payment fits a budget? This is a “what input gets me there?” problem, often called goal seeking.
Google Sheets does not include Excel’s built-in Goal Seek command. You can still solve many models by rearranging a formula or comparing scenarios. For repeated work, an add-on can automate the search. Here are three practical ways to find an input from a desired result.
First, identify the objective and the changing input
Before using any method, write down two things:
- The formula cell whose result you care about.
- The input cell you are willing to change.
A model needs a formula that depends on the changing cell. If profit is calculated from price, units, and costs, changing an unrelated cell cannot move the result. Keep the objective and input separate from any assumptions that should remain fixed during the solve.
For example, put unit price in B2, quantity in B3, and fixed costs in B4. In B5, calculate profit with =B2*B3-B4. If you want profit of $2,500 and expect to sell 500 units with $6,000 in fixed costs, the unknown is price in B2.
Way 1: Rearrange the formula with algebra
If the formula is simple and the changing input appears in a straightforward way, solve for it algebraically. The profit formula is:
profit = price × units − fixed costs
Rearrange it:
price = (target profit + fixed costs) ÷ units
Using the example, the price is ($2,500 + $6,000) ÷ 500 = $17. Enter $17 in the price cell and check that the profit formula returns $2,500.
This is the fastest method when the equation is easy to transform. It also makes the relationship clear: with more units, the same target profit requires a smaller margin per unit. Algebra is less convenient when a formula combines several nested functions, lookup results, or many dependent inputs. In those cases, derivation can become harder than using the model itself.
Way 2: Compare scenarios with a table
A scenario table is useful when you want to compare several candidate inputs or see how sensitive the result is. List possible prices in one column and calculate profit for each in another. A data table or a copied formula can show how the target changes across the range.
In the example, test prices from $12 to $22 in one-dollar increments. Each row can calculate price × units − fixed costs, using the shared quantity and cost cells. If the target profit is $2,500, look for the row closest to that value. Narrow the range around the result and add smaller increments, such as 50 cents or 10 cents.
This approach makes trade-offs visible and works well when approximate answers are enough. It can also expose discontinuities: perhaps a discount applies at a threshold, or a tax rate changes after a certain amount. A scenario table is not always precise enough for a target that falls between increments, and manually testing many inputs can be slow.
Way 3: Use a Goal Seek add-on
For a formula that already models the real situation, a Goal Seek add-on searches for the input that makes the formula reach a specified value. Instead of deriving the equation or building a grid of candidates, you choose the formula cell, target, and changing cell.
With Goal Seek+ by CrowTonic, open the Google Sheet and choose Extensions → Goal Seek+ by CrowTonic → Open. Select the profit formula in B5, set the target to 2500, and choose price in B2 as the input cell. Use the selected-cell buttons to choose cells directly in the sheet rather than typing addresses. Set low and high values that make sense for your price range, then run the solve.
The add-on types trial values into the input cell and checks the formula result. It does not replace the formula. Review the suggested value before keeping it; one-click Undo restores the original input if you want to compare another target.
Goal Seek+ also has a Solver mode for maximizing, minimizing, or reaching a target while changing up to six cells. Use Solver when several inputs need to move together, and set low and high limits for each one. A simple model still needs realistic bounds: an optimizer can find a mathematically valid value that does not make business sense.
Check whether the target is reachable
Not every formula can reach every result. If the minimum possible payment is zero, a negative target is impossible. If your formula uses rounded values or thresholds, nearby inputs may jump past the target. A selected input may not affect the chosen formula cell at all.
When a solver reports no answer, check that the objective cell is a formula, the formula depends on the selected input, the target uses the same units as the formula, and the bounds include a plausible solution. Goal Seek+ tries a wider range first and reports the closest value it found when it cannot hit the exact target.
If different inputs can produce the same result, decide which one you prefer before choosing a solution. For example, two prices might both meet a target because quantity changes in steps. The formula alone cannot determine which option is best; your constraints and judgment do that.
Choose a method that matches the model
Use algebra for a simple equation you can rearrange. Use a scenario table when you want to see multiple possibilities or inspect a discontinuity. Use an add-on when the formula is already correct and you want to find an input without rebuilding the math by hand.
Whichever method you choose, keep a copy of the original assumptions and verify the result in the sheet. A solved input is only as reliable as the formulas and data behind it. For an in-sheet search with cell selection, bounds, and one-click Undo, see Goal Seek+.