Skip to main content

Participation Project #11 - Excel Solver

WV Miners

Assignment Files

Submissions

You must submit your completed file(s) through the CS101 Submit Assignments tool.

Due Date

This assignment is due on Thursday, February 20, 2025. For on-campus sections, it is due by the end of class. For online sections, it is due by 11:59:59 PM Eastern Time. Late work will not be accepted.

Grades

This assignment is worth 8 points. A grading rubric is provided at the end of the assignment instructions. Over the entire semester, students must complete at least 20 Participation Projects to earn a maximum of 160 points.

Help & Resources

Video

This video is also available on YouTube [1].

Assignment Notes

Add Solver to Excel

If you do not see solver at the end of your Data tab in Excel, you'll want to go to the File menu, and then down to options. You'll get a pop up window with an Add-ins menu. When you click this, you'll see an option to "Manage: Excel Add-ins" towards the bottom of the pop up. 

Manage Add Ins dialog box screenshot showing that Excel Add Ins is selected from the Manage dropdown. Select Go.

Screenshot of Solver Add-ins with Solver Add In checkbox selected.

Once you click the Go button, you should have an option to check a box to add in the Solver. Make sure that the box is checked, and then click Ok. The solver will show up as a new section on your data ribbon. 

On the Data Tab, solver add in appears at the very end as a new section.

When you click on the Solver option, your window should look like this: 

Solver Parameters dialog box screen shot with Set Objective at the top.

In the Set Objective field, you want to put the reference to the cell you’re trying to put the value in. If the question says “change the value of the cell” that means you need to pick the Value Of option in the radio buttons. If it says you want to minimize the total value, pick the Min button. If you choose Value Of, you also have to put a value in the box that has a default zero in it, otherwise it’s going to set the value to 0.

An important note: Cell G16, which is the cell you’re setting to a number, has a formula in it. You’re changing the value of a different cell so that when this formula is calculated, the calculation is equal to a specific value, or a minimum.

Make sure you set the solving method to the correct one (it defaults to GRG Nonlinear).

Select a Solving Method portion of the Solver Dialog Box blown up showing Simplex LP selected.

To add a constraint, just click the Add button.

You can enter in multiple cells in both the By Changing Variable Cells and the Constraints.

Associated Learning Objectives

This assignment covers the following course and unit learning objectives:

Number Learning Objective
C01 Build spreadsheets to perform calculations, display data, conduct analysis, and explore what-if scenarios.
C05 Identify, access, and evaluate information to solve real world problems.
C01.ED02 Create and manage workbooks, worksheets, and their data.
C01.ED07 Use what-if analysis tools to project future values and prepare different scenarios.
C05.ED01 Locate and access data and resources necessary to solve problems.
C05.ED08 Interpret and analyze spreadsheet data.

References

  1. M. A. Austin, Excel: Solver Participation Project. West Virginia University, 2018. Available: https://www.youtube.com/watch?v=5CiUvTsdg3k.