
If Solver doesn't find a solution, only certain reports or no reports are available. The report is created on a new worksheet in your workbook. To create a report that is based on your solution after Solver finds a solution, you can click a report type in the Reports box and then click OK. Excel recalculates the worksheet with the last values that are found for the decision variable cells. You can interrupt the solution process by pressing Esc. To restore the original values before you clicked Solve, click Restore Original Values. To keep the solution values on the worksheet, in the Solver Results dialog box, click Keep Solver Solution. In the Solver Parameters dialog box, click the constraint that you want to change or delete.Ĭlick Change and then make your changes, or click Delete. You can change or delete an existing constraint by doing the following: Note You can apply the int, bin, and dif relationships only in constraints on decision variable cells. To accept the constraint and return to the Solver Parameters dialog box, click OK. To accept the constraint and add another, click Add. If you choose = for the relationship in the Constraint box, type a number, a cell reference or name, or a formula. If you click dif, alldifferent appears in the Constraint box. If you click bin, binary appears in the Constraint box. In the Cell Reference box, enter the cell reference or name of the cell range for which you want to constrain the value.Ĭlick the relationship ( =, int, bin, or dif ) that you want between the referenced cell and the constraint.If you click int, integer appears in the Constraint box. In the Solver Parameters dialog box, click Add. In the Subject to the Constraints box, enter any constraints that you want to apply by doing the following:

You can specify up to 200 variable cells. The variable cells must be related directly or indirectly to the objective cell. Separate the non-adjacent references with commas. In the By Changing Variable Cells box, enter a name or reference for each decision variable cell range. If you want the objective cell to be a certain value, click Value of, and then type the value in the box. If you want the value of the objective cell to be as small as possible, click Min. If you want the value of the objective cell to be as large as possible, click Max. The objective cell must contain a formula. In the Set Objective box, enter a cell reference or name for the objective cell. If you want to solve a workbook model that is stored on your local PC, use the Solver included with desktop Excel, or one of Frontline's enhanced Solvers for desktop Excel.Note: If the Solver command or the Analysis group is not available, you need to activate the Solver add-in.

NOTE: Although the Solver add-in can be used in Excel 2013 and Excel 2016, because your model is solved "in the cloud," this Solver add-in works only with Excel workbooks that are stored online. Now when you open your workbook, the Solver Task Pane should appear automatically. Click File Save As, and save to your Office 365 or SharePoint document library, or OneDrive or OneDrive for Business folder.ĥ.

Click to see the Solver add-in listing in the Office Store.Ĥ. If this is your first time using the Solver add-in, click Store, and look in the Data Analytics category. In the Office Add-ins dialog, find and select Solver under Click the Insert tab, then click the My Add-ins button.Ģ. If Solver appears in the Recently Used Add-ins dropdown list, select it there, and skip to step 4.ģ. Open the workbook where you want to use Solver.
How to activate solver for excel how to#
If you don't see the Solver Task Pane in your worksheet, you need to insert the Solver add-in: Follow the steps in Microsoft Office Support on How to get an Office Add-in for Excel.ġ. In Excel Online for Office 365, Excel Web App for SharePoint, or Excel on iPad, use the Solver add-in. Now on the Tools menu, you should see the Solver command. button and navigate to the folder containing Solver.xlam. If you don't see this name in the list, click the Select. In Excel for Macintosh, if you don't see the Solver command on the Tools menu, you need to load the Solver add-in.ġ. Click the Tools menu, then click the Add-ins command.Ģ. In the Add-ins available box, select the Solver.xlam check box.

Now on the Data tab, in the Analysis group, you should see the Solver command. If you don't see this name in the list, click the Browse. In Excel for Windows, if you don't see the Solver command or the Analysis group on the Data tab, you need to load the Solver add-in.ġ. Click the File tab, click Options, and then click the Add-ins category.Ģ. In the Manage box, click Excel Add-ins, and then click Go.ģ. In the Add-ins available box, select the Solver Add-in check box.
