Solver is already on your computer. It's a free add-in that ships with every desktop copy of Excel β Windows and Mac. You don't download anything. You just flip a checkbox.
On Windows: File β Options β Add-ins β Manage: Excel Add-ins β Go β tick Solver Add-in β OK. On Mac: Tools β Excel Add-ins β tick Solver β OK. After that, Solver shows up on the right side of the Data tab. Excel Online (the browser version) doesn't have Solver at all β that's the only place you'll hit a wall.
Most people who go looking for Solver assume it's a paid plugin. It isn't. Solver is a free optimization engine Microsoft bundles with Excel β and it's been there since Excel 3.0. The only reason you can't see it right now is that Microsoft ships it disabled by default. Flip one switch and the Solver button appears on the Data tab.
This guide walks you through the install on Windows, the install on Mac, the Excel Online limitation, and the first real model you'll build. You'll learn the three solving methods (GRG Nonlinear, Simplex LP, Evolutionary), when to use each one, and the fixes for the two errors that catch everyone β "Solver could not find a feasible solution" and the missing-button panic.
Quick context before we install. Solver was built by a company called Frontline Systems, which still develops the Premium versions today. Microsoft licenses the standard edition and ships it free inside Excel. That's why Solver lives under "Add-ins" rather than under regular Excel features β it's technically a third-party add-on that Microsoft preloads for you. The implication: turning it on is free, but it's a separate component, so it can also be turned off accidentally.
Here's the exact click path. It takes about 20 seconds. Open Excel. Click File in the top-left ribbon. From the left sidebar, pick Options β you'll see a dialog box pop up. In that dialog, click Add-ins on the left.
Look at the bottom of the Add-ins panel. There's a dropdown labeled Manage: with "Excel Add-ins" already selected. Click the Goβ¦ button next to it. A small checklist window opens β that's where the magic happens. Tick the box next to Solver Add-in. Click OK. Done. No restart, no download.
Now click the Data tab on the main ribbon. Scan all the way to the right. You'll see a new group called Analyze with a Solver button inside it. That's your install confirmation. If you also see Data Analysis next to it, that's the Analysis ToolPak β same install path, different checkbox, useful for regression and ANOVA.
Worth knowing: Solver settings are per-workbook, not per-install. If you email a workbook with Solver constraints set up, the recipient sees those constraints β but only if they've enabled Solver on their copy of Excel too. The model travels. The add-in doesn't. That's the most common cause of "my colleague's file doesn't work on my Excel" complaints.
One more Windows detail: if your IT department locked down Add-ins (common in finance and healthcare environments), the Solver checkbox may be greyed out. Check with admin β usually a one-line policy change unblocks it. Solver itself doesn't touch the network, file system, or registry, so most IT teams approve it without fuss once asked.
Look for the Analyze group at the right edge of the Data ribbon. Solver and Data Analysis sit side by side.
Mac Excel 2019+ mirrors the Windows layout. Solver appears on the Data tab once you tick it in Tools.
The web version of Excel doesn't include Solver. You'll need the desktop app for any optimization work.
Mac users sometimes can't find the Add-ins panel because Microsoft put it somewhere different. Don't go hunting in Preferences β it's in the menu bar. Open Excel. From the top menu, click Tools. From the dropdown, pick Excel Add-insβ¦. The same checklist window from Windows pops up. Tick Solver. Click OK.
If you're on Excel 2011 for Mac, the path is slightly different β Solver lives under Tools but as its own entry, and you may need to download it separately from Microsoft. Excel 2016 onward fixed that. Anything from the last decade follows the click path above.
After enabling, head to the Data tab on the ribbon. Solver appears on the far right. That's it. The Mac and Windows versions of Solver share the same engine, so any constraints, objective cells, and changing cells you set up on one platform will run identically on the other. You can hand a Solver workbook to a Windows colleague β or get one from them β without conversion headaches.
One Mac gotcha: if you have multiple Office installs (a 2019 standalone plus a 365 install, say), make sure you're enabling Solver on the version you actually use. The checkbox is per-application, not per-Mac. Quitting one Excel and opening another won't carry the setting over. Worth double-checking which Excel is your default if Solver "disappears" between sessions.
Apple Silicon Macs (M1, M2, M3) run Solver natively β there's no Rosetta translation involved as of Excel for Mac 2021 and later. Speed is comparable to a similarly priced Intel machine, sometimes faster on big models because the M-series chips handle the Solver iteration loop efficiently. Older Intel Macs still work fine for everyday models too.
This catches people off guard. Excel Online (the version you open at office.com or through SharePoint) does not include Solver. It's not a hidden toggle, it's just not built. Same goes for Excel for iPad and Excel for iPhone β Solver is desktop-only.
The workaround is simple. If a workbook with Solver lands in your OneDrive and you want to actually run it, click Open in Desktop App from the Excel Online toolbar. The file opens in your local Excel, where Solver works normally. Save changes, and they sync back to OneDrive.
No desktop Excel at all? You've got two free options. LibreOffice Calc includes its own Solver with similar capabilities β the UI differs but the math is the same. Download from libreoffice.org. Or try Google Sheets with the OpenSolver add-on from the Google Workspace Marketplace, which runs linear and integer problems in your browser. Neither matches desktop Excel for huge models, but for everyday optimization both work.
File β Options β Add-ins β Manage: Excel Add-ins β Go β tick Solver Add-in β OK. Solver appears under Data β Analyze. No download, no restart. The same click path works whether you bought a standalone copy or subscribe to 365.
Helpful side-effect: while you're in the Add-ins dialog, tick Analysis ToolPak too. It adds regression, t-tests, ANOVA, and histograms β all things Solver users tend to need eventually. Both add-ins are free and pre-bundled.
Tools β Excel Add-insβ¦ β tick Solver β OK. Solver button shows up on the Data tab. If Tools menu doesn't show Excel Add-ins, you're probably on Excel 2011 β upgrade or download Solver directly from solver.com.
One catch worth flagging: Mac Solver runs slightly slower than Windows on identical models. For huge optimization problems (500+ variables), Windows wins on speed. For everyday models, you won't notice.
Solver is not available on Excel Online, Excel for iPad, or Excel for iPhone. There's no add-in to enable β the feature simply isn't built into those versions. The workaround: open the file in desktop Excel, run Solver there, save, and the changes sync back through OneDrive or SharePoint.
If you don't have desktop Excel, the free alternative is LibreOffice Calc, which includes its own Solver with similar capabilities. The interface differs but the underlying math is the same.
Excel 2011 didn't ship with Solver in some installer bundles. If Tools β Excel Add-ins doesn't list it, download the free Mac Solver from solver.com/mac-solver. Install it like any Mac app, restart Excel, and Solver appears under Tools menu (not Data tab β that's a 2011 quirk).
Better long-term fix: upgrade to Excel 2019 or 365. Excel 2011 stopped receiving security patches years ago and isn't supported by current macOS versions anyway.
Solver's interface looks intimidating the first time you open it. It isn't. Every Solver model has exactly three things: an Objective (the cell you want to maximize, minimize, or hit a target on), Variable Cells (the cells Solver is allowed to change), and Constraints (the rules Solver has to respect). That's it.
Quick example. Imagine you sell two products β A profits $5 each, B profits $8 each. You have 40 hours of labor available. A takes 2 hours per unit, B takes 4 hours. Maximum demand is 15 units of A and 10 units of B. How many of each should you make?
Set up a sheet. Put units of A in B1 and units of B in B2 (start with 0). Profit formula in B3: =B1*5+B2*8. Labor used in B4: =B1*2+B2*4. Now click Data β Solver. Set Objective = B3. Click "Max". By Changing Variable Cells = B1:B2. Add constraints: B4 β€ 40, B1 β€ 15, B2 β€ 10, B1:B2 β₯ 0, B1:B2 = integer. Solving Method = Simplex LP (linear problem). Click Solve.
You'll see the answer in about half a second: 10 units of B, 0 of A, profit $80, labor maxed at 40 hours. Solver figured out that B's higher margin beats A's lower labor cost. That's the entire workflow, and it scales the same way to 1,000-variable problems.
Worth knowing for bigger models: tick Make Unconstrained Variables Non-Negative in the main Solver dialog unless you genuinely allow negative values. Most real-world problems (units produced, dollars invested, hours worked) can't go negative, and forgetting this constraint leads to nonsense results that Solver will happily report as "optimal."
After Solver finishes, you'll see a Results dialog. Click Answer Report in the list on the right before clicking OK. It generates a new worksheet with the final values, constraint status (binding vs not binding), and slack for each rule. The Sensitivity Report next to it tells you which constraints, if relaxed by one unit, would improve your objective the most β invaluable for follow-up analysis.
The third option, Limits Report, shows the upper and lower bound each variable could take while keeping the solution feasible. Most beginners skip these reports and miss the actual insight Solver provides β the solution itself is half the value, the reports are the other half.
Solver gives you three engines and they aren't interchangeable. Pick the wrong one and you'll either get a slow answer, a wrong answer, or no answer at all. Here's the honest breakdown.
Simplex LP is for linear problems β anything where doubling an input doubles the output, and there are no curves, squares, or IF statements in the formula chain. Classic use cases: product mix, blending, transportation, scheduling. Simplex is the fastest of the three by a wide margin. If your model is truly linear, Solver will find the global optimum in milliseconds, even with thousands of variables.
GRG Nonlinear (Generalized Reduced Gradient) is Solver's default. Use it when formulas have curves β quadratics, exponentials, logarithms β but stay smooth (no jagged jumps). Portfolio optimization with covariance matrices, regression curve fitting, and pricing models all fit here. GRG finds a local optimum, not a global one, which means starting values matter. Try a few different starting points if results look off.
Evolutionary is the slow but flexible option. Use it for non-smooth problems β formulas containing IF, VLOOKUP, MIN, MAX, ABS, or any logic that creates jumps in the solution surface. Examples: scheduling with shift constraints, knapsack-style packing, anything where Excel's calculation jumps suddenly. Evolutionary uses genetic algorithms, so it tries lots of random combinations. Expect 30 seconds to several minutes on medium models. It's an approximation β it won't guarantee the absolute best answer, just a good one.
Quick test: if your formulas only use +, -, *, /, SUM, SUMPRODUCT β Simplex LP. If they use ^, EXP, LOG, sin/cos β GRG. If they use IF, VLOOKUP, MAX/MIN, ABS β Evolutionary. When in doubt, try Simplex first; if it complains about non-linearity, switch to GRG. If GRG returns weird results, fall back to Evolutionary.
One more tip on method selection. Solver remembers your last choice per workbook, so if you opened someone else's file you might be running on whatever engine they last picked. Always glance at the Solving Method dropdown before clicking Solve β a Simplex setting on a nonlinear model will silently produce wrong answers without raising an error. Triple-check on inherited workbooks.
Solver isn't a toy. It runs production-scale optimization at thousands of companies. The common use cases below are the ones where it shines on a standard Excel install β no Premium Solver Platform needed.
Linear optimization is the everyday workhorse. Manufacturing companies use it to decide how many of each product to make given limited machine hours and raw materials. Schedulers use it to assign nurses to shifts while respecting overtime caps. Logistics teams use it to pick which warehouse ships to which customer at lowest total cost. All of these problems share a structure: a clear objective, finite resources, and rules that can be written as linear formulas.
Portfolio optimization is where GRG Nonlinear earns its place. Given a list of assets with expected returns and a covariance matrix of how they move together, Solver finds the mix that maximizes return for a given risk level β Markowitz's classic mean-variance frontier, built in Excel in 20 minutes. It's not Bloomberg, but for personal portfolios or small fund work, it's plenty.
Regression curve fitting uses Solver to find the best parameters for any custom equation you can write β useful when your data doesn't fit Excel's built-in LINEST or TREND functions. Set up your model with parameters as variable cells, minimize the sum of squared errors, and Solver hands you the best-fit values. Common in scientific work where you need a specific non-linear curve shape.
Schedule and assignment problems are where Evolutionary shines. Assigning students, employees, or deliveries β anywhere you have yes/no decisions plus rules that can't easily be written linearly. Slow but flexible, and it usually beats hand-tuned solutions by 10-30% on real datasets. The excel pivot tables guide is the next step once your optimization output needs slicing.
"Solver Add-in is not installed" appears most often after a Microsoft 365 update wipes your settings. Fix: redo the install path from the top of this guide. File β Options β Add-ins β Manage: Excel Add-ins β Go β tick Solver. Two minutes max.
"Solver could not find a feasible solution" means your constraints contradict each other. Example: you require total production β₯ 100 units but also total labor β€ 20 hours when each unit needs 1 hour. There's no way to satisfy both. Fix: review constraints one at a time, comment out the most restrictive ones, and re-run to find the conflict. The Sensitivity Report Solver offers after a successful run will flag which constraints are binding.
"The Objective Cell values do not converge" means Solver thinks the answer is infinite β usually because you forgot an upper-bound constraint. If you tell Solver to maximize profit with no cap on production, it will happily say "make a billion units" and then complain. Add a realistic upper bound (capacity, demand) and re-run.
One sneaky cause of the missing-button panic: Excel sometimes disables Solver after a crash or unexpected shutdown to protect the workbook. Check File β Options β Add-ins and look at the Disabled Application Add-ins section near the bottom. If Solver shows up there, click Manage: Disabled Items β Go β enable Solver, then re-enable it in the regular Add-ins panel. Two-step fix, three minutes.
If you're working with text-heavy reference sheets while building your model, the how to indent in excel walkthrough is worth bookmarking β clean indentation makes constraint lists readable when your model grows past 20 variables. And when you're ready to test your Excel skills broadly, the excel hub has the full library of practice tests across formulas, functions, and data analysis tools. Worth the bookmark before your next interview prep round.
Open Excel. Click File (Windows) or Tools (Mac). Navigate to the Add-ins dialog.
Tick Solver Add-in. Click OK. Verify Solver appears on the Data tab.
Set up a simple worksheet: variable cells, formula cells, constraint cells.
Open Solver. Define Objective, Variable Cells, and at least one constraint.
Pick a solving method (Simplex LP for linear, GRG for curves, Evolutionary for IF-heavy).
Click Solve. Review the solution. Inspect the Answer or Sensitivity Report.
Save your workbook. Solver settings persist with the file for next time.
Yes. Solver is a free add-in bundled with every desktop copy of Excel since Excel 3.0. You don't download or pay for anything β you just enable it through File β Options β Add-ins on Windows, or Tools β Excel Add-ins on Mac. There's a paid Premium Solver Platform from Frontline Systems for very large models (8,000+ variables) but most users never need it.
Solver ships disabled by default. If you don't see it on the Data tab, you haven't enabled the add-in yet. On Windows: File β Options β Add-ins β Manage: Excel Add-ins β Go β tick Solver Add-in β OK. On Mac: Tools β Excel Add-ins β tick Solver. After that, Solver appears on the right side of the Data tab. If it still doesn't show, restart Excel.
Open Excel. Click Tools in the top menu bar. Pick Excel Add-insβ¦. Tick the box next to Solver. Click OK. Solver appears on the Data tab. The path is shorter than Windows because Mac Excel doesn't have a Manage dropdown β the add-in checklist opens directly from Tools.
No. Solver isn't built into Excel Online, Excel for iPad, or Excel for iPhone. It's a desktop-only feature. If you receive a workbook with Solver constraints set up and want to actually run it, click "Open in Desktop App" from the Excel Online toolbar, and the file opens locally where Solver works. As a free alternative, LibreOffice Calc has its own Solver with similar capabilities.
Goal Seek changes one input cell to make one output cell hit a target β it's a single-variable tool. Solver handles multiple variables, multiple constraints, and three optimization directions (maximize, minimize, or target). If you only need to tweak one number, Goal Seek (Data β What-If Analysis β Goal Seek) is faster. If you have several decisions that interact, Solver is the right tool.
Three options. Simplex LP for linear problems (only +, -, *, /, SUM, SUMPRODUCT in your formulas) β fastest and finds the global optimum. GRG Nonlinear for smooth curves (^, EXP, LOG, trig functions) β default choice, finds local optimum so starting values matter. Evolutionary for non-smooth problems (IF, VLOOKUP, MAX, MIN, ABS) β slowest, returns a good answer rather than the absolute best.
Yes β every desktop edition from Excel 2016 onward includes Solver with the same install path. File β Options β Add-ins β Manage: Excel Add-ins β Go β tick Solver β OK. The Solver engine has improved slightly between versions, but the interface and feature set are essentially identical. Models built in 2016 run unchanged in 365.
Standard Solver (the free one bundled with Excel) handles up to 200 decision variables and 100 constraints. That covers about 95% of real-world business problems. For larger models, the Premium Solver Platform from Frontline Systems lifts the cap to 8,000+ variables, but it costs $500 and up. A free alternative is OpenSolver, an Excel add-in that uses open-source engines (CBC, COIN-OR) with no variable limit for linear problems.