Solver for Google Sheets ES Notify me

Free guides and template

The best answer, right in your sheet.

Learn to do in Google Sheets what Excel’s Solver and Goal Seek do: what to make, how to ship, who works each shift. With a worked example and a free template that solves it for you.

  • Free, no sign-up
  • Works in Google Sheets
  • Your data never leaves your sheet
Solver template · Workshop Solver
Workshop example with two parts. Solver finds that the best plan is 20 parts A and 60 parts B, for $2,600 profit a week. The lathe and the mill are at their limit.
RowABCDEFG
5ObjectiveMaximizeValue$2,600
6Status✓ Optimal solution
8VariablesPart APart B
12Obj. coefficients4030
13Solution2060
15ConstraintsABUsedSignLimitSlack
16Lathe hours21100≤1000
17Mill hours1180≤800
18Part A orders1020≤4020
The guide’s example: two parts, two machines.

The template

A Google Sheet that solves the problem for you.

Make a copy in your Google Drive, type in your numbers and choose SolverSolve this tab. It uses the optimization engine Google includes in its spreadsheets.

  • A worked example and a blank model ready to adapt to your own problem.
  • Goal Seek in a side panel.
  • Continuous, integer and binary variables (yes or no), and error messages that tell you which cell to check.
  • Your data never leaves your sheet. The script can only read and write the spreadsheet it lives in.
Solver template · Goal Seek Solver
Goal Seek example: a $15,000 loan over 60 months. To get a $280 monthly payment, the annual interest rate has to be 4.55%.
RowAB
6Loan amount$15,000
7Term (months)60
8Annual interest rate4.55%
9Monthly payment$280.00
Goal Seek: payment = $280 by changing the rate.

FAQ

What people usually ask.

Does Google Sheets have a Solver?

Not built in. Excel ships the Solver add-in for free; Google Sheets has no menu or function that does the same. You can still get it for free in three ways: a script template like ours, the OpenSolver add-on, or downloading the sheet and using Solver in desktop Excel or LibreOffice. All three are explained in the Solver guide.

Does Google Sheets have Goal Seek?

Not built in either. Google offers a free add-on called “Goal Seek”. Often you don’t even need it: a function like RATE or a bit of algebra gives the answer directly. See the Goal Seek guide.

Is the template really free?

Yes. It’s a Google Sheet with an open-source script. No sign-up, no e-mail, no payment details. You make a copy and it’s yours.

Does my data leave my sheet?

No. The script runs inside your own Google account and can only read and write the spreadsheet it lives in. It sends nothing anywhere, not even to us.

How big a problem can it solve?

Classroom problems and the day-to-day problems of a small business: tens or a few hundred variables, in seconds. Models with many integer variables can take longer; the template waits up to 60 seconds and tells you if the solution might not be the best one.

What if my problem isn’t linear?

The template solves linear problems: each variable is multiplied by a fixed number and added up. If your model multiplies variables together or uses powers, you need another method, such as GRG Nonlinear in desktop Excel’s Solver. The guide explains how to tell if your problem is linear.

Four more worked examples (product mix, transportation, staff scheduling and capital budgeting) are available in Spanish.

Waitlist

Want it in every sheet, without copying templates?

We’re considering building a Google Sheets add-on with Solver and Goal Seek. We’ll build it if there’s enough interest. Join the list and you’ll try it free before anyone else: we’ll e-mail you just once, if it launches, with your access.

  • It would read your model as it is, with your own formulas.
  • Integer and binary variables, plain-language reports and Goal Seek.
  • It would solve inside your browser: your data would never leave your sheet.

Free, no strings attached. No newsletters, no ads, and you can unsubscribe anytime. How we handle your e-mail.

You’re on the list. Thanks.If the add-on launches, we’ll e-mail you once with your free early access.

One last thing, if you like: what would you use it for?