Solver is built into Excel but turned off by default
Solver is a tool inside Excel that finds the best answer to a problem by testing different numbers. It comes with Excel but does not show up in your ribbon until you turn it on. Once you add it, you will see a Solver button in the Data tab, and you can use it to solve problems like "what price gives me the most profit" or "what combination of ingredients meets my budget."
The steps to turn on Solver are different depending on whether you use Excel on Windows or Mac. Both take less than a minute.
Key Takeaways
- Solver is a built-in Excel tool that finds optimal answers by testing different values in your spreadsheet.
- On Windows, you turn on Solver through File > Options > Add-ins, then select Solver from the list and click Go.
- On Mac, you turn on Solver through Excel > Preferences > Add-ins, then check the box next to Solver.
- After you turn on Solver, it appears as a button in the Data tab and is ready to use immediately.
- If Solver does not appear after you turn it on, restart Excel to load the add-in.
How to add Solver on Windows
Start by opening Excel and going to the File menu at the top left. Click File, then look for Options near the bottom of the menu. Click Options to open the Excel Options window.
In the Excel Options window, look for Add-ins on the left side. Click Add-ins. At the bottom of the window, you will see a dropdown that says "Manage:" with "COM Add-ins" selected. Click the Go button next to it.
A small window called Add-ins will open. Look for a checkbox next to Solver Add-in. Check the box if it is not already checked, then click OK. Solver is now turned on. Close the Options window and look at the Data tab in your ribbon — you should see a Solver button there.
How to add Solver on Mac
Open Excel on your Mac and click Excel in the menu bar at the very top of the screen. From the dropdown, click Preferences.
In the Preferences window, look for Add-ins and click it. You will see a list of add-ins. Find Solver Add-in in the list and check the box next to it. Click OK.
Close the Preferences window and look at the Data tab in your ribbon. You should see the Solver button. If you do not see it right away, close Excel completely and open it again — sometimes the add-in needs a fresh start to load.
What to do if Solver does not show up
If you turned on Solver but the button does not appear in the Data tab, the most common fix is to close Excel completely and open it again. Add-ins sometimes do not load until Excel restarts.
If Solver still does not appear after a restart, go back to the Add-ins menu and make sure the checkbox next to Solver is actually checked. On Windows, also check that the dropdown at the bottom says "COM Add-ins" — if it says something else, change it back to COM Add-ins and click Go again.
If you are using a version of Excel older than 2010, Solver may not be included. Check your version by going to File > Account (Windows) or Excel > About Excel (Mac) and looking at the version number. Versions 2010 and newer all include Solver.
Where to find Solver once it is turned on
After you turn on Solver, click the Data tab in your ribbon. On the far right side of the Data tab, you will see a Solver button. Click it to open the Solver window, where you can set up your problem.
The Solver window has three main fields: Set Objective (the cell you want to maximize or minimize), By Changing Variable Cells (the cells Solver is allowed to change), and Subject to the Constraints (any limits on those changes). You fill these in based on what you are trying to solve.
Frequently Asked Questions
Do I need to install Solver or download it from somewhere?
No. Solver comes built into Excel — you only need to turn it on through the Add-ins menu. You do not download or install anything separate.
Will turning on Solver slow down my Excel?
No. Solver only runs when you click the Solver button and tell it to solve a problem. It does not run in the background or affect your spreadsheet's speed when you are not using it.
Can I turn off Solver after I turn it on?
Yes. Go back to the Add-ins menu (File > Options > Add-ins on Windows, or Excel > Preferences > Add-ins on Mac) and uncheck the box next to Solver Add-in. The button will disappear from the Data tab.
What if I see Solver in the Add-ins list but the checkbox is grayed out?
A grayed-out checkbox usually means Solver is already turned on. Close the Add-ins window and check the Data tab — Solver should be there. If it is not, restart Excel.
Does Solver work the same way on Windows and Mac?
Yes. Once Solver is turned on, the Solver window and how you use it are identical on both Windows and Mac. Only the steps to turn it on are different.