In Excel: enable it under File ▸ Options ▸ Add-ins ▸ Manage: Excel Add-ins ▸ Go ▸ tick Solver Add-in — a Solver button then appears at the right end of the Data tab.
File ▸ Options ▸ Add-ins, set Manage to Excel Add-ins, click Go, tick Solver Add-in, OK. On Mac: Tools ▸ Excel Add-ins.
Build the model so one cell computes the objective from the cells Solver is allowed to change.
Data ▸ Analyze ▸ Solver. Set Objective to that cell and pick Max, Min or Value Of.
Set "By Changing Variable Cells" to the input cells — they must be values, not formulas.
Add constraints one at a time with the Add button; use int or bin in the operator list for whole-number or yes/no decisions.
Pick the solving method: Simplex LP for a linear model, GRG Nonlinear for smooth curves, Evolutionary when the model contains IF or lookups.
Click Solve, then choose Keep Solver Solution and optionally produce the Answer and Sensitivity reports.
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
Solver is an optimiser: you give it a target cell, a set of cells it may change, and constraints, and it finds the values that maximise, minimise or hit a target. It ships with Excel but is off by default. It goes further than Goal Seek, which changes one input to hit one target with no constraints. Three solving methods are offered: Simplex LP for linear problems (fastest and guaranteed optimal), GRG Nonlinear for smooth curved ones, and Evolutionary for problems with IF, VLOOKUP or other non-smooth logic. Choosing Simplex LP on a nonlinear model produces an error; choosing GRG on a nonlinear model finds a local optimum that depends on the starting values. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. Treat “where to find solver on excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That turns a calculation you can defend to a CFO or an auditor into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
A production mix: profit per unit in B2:C2, hours per unit in B3:C3, total hours available 400 in E3. Units to make sit in B5:C5 (currently 0) and total profit in E5 as =SUMPRODUCT(B2:C2,B5:C5). Data ▸ Solver ▸ Set Objective: $E$5 ▸ To: Max ▸ By Changing Variable Cells: $B$5:$C$5 ▸ Add constraints: $E$3<=400 and $B$5:$C$5>=0, tick "Make Unconstrained Variables Non-Negative" ▸ Select a Solving Method: Simplex LP ▸ Solve. Solver writes the optimal units into B5:C5. Product mix, staff rostering, blending, transport routing and portfolio allocation are all the same shape of problem, and Solver answers them in one dialog instead of a week of trial and error. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “where to find solver on excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Putting a formula in a changing cell — Solver overwrites it with a number and the model breaks.
- Choosing Simplex LP for a model containing
IF,MAXor a lookup, which reports that the linearity conditions are not satisfied. - Leaving out a non-negativity constraint and getting an "optimal" answer that makes minus 300 units.
- Accepting a GRG Nonlinear result as the global optimum; it finds a local one, so re-run from different starting values.
- Expecting Solver in Excel for the web or on mobile, where the add-in does not exist.
Frequently asked questions
How do I add Solver to Excel?
File ▸ Options ▸ Add-ins ▸ set Manage to Excel Add-ins ▸ Go ▸ tick Solver Add-in ▸ OK. On Mac use Tools ▸ Excel Add-ins. The button appears on the Data tab.
What is the difference between Solver and Goal Seek?
Goal Seek changes one input to make one cell hit one value, with no constraints. Solver changes many inputs, respects constraints, and can maximise or minimise rather than only hitting a target.
Which solving method should I pick?
Simplex LP when the objective and constraints are all linear — it is fastest and gives the true optimum. GRG Nonlinear for smooth curved models. Evolutionary when the model uses IF, MAX, MIN or lookups.
Why does Solver say the linearity conditions are not satisfied?
The model contains something non-linear — often an IF, a lookup or a multiplication of two changing cells — while Simplex LP is selected. Switch to GRG Nonlinear or Evolutionary.
Other ways people ask this
People reach this page typing “where do i find solver in excel” and “how to find excel solver”, among other phrasings; whichever wording you used, the fix above is the one you want.
Why do people search for this in so many different ways?
Because the same task has many names. “where do i find solver in excel”, “how to find excel solver” all point at the one operation explained on this page, which is why they all lead here.