18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Part V<br />

Analyzing Data with Excel<br />

To start Solver to tackle this example, choose Data ➪ Analysis ➪ Solver. Excel displays its Solver<br />

Parameters dialog box, shown in Figure 37.4.<br />

FIGURE 37.4<br />

The Solver Parameters dialog box.<br />

In this example, the target cell is D6 — the cell that calculates the total profit for three products.<br />

1. Enter (or point to) cell D6 in the Set Target Cell field of the Solver Parameters dialog box.<br />

2. Because the objective is to maximize this cell, click the Max option.<br />

3. Next, specify the changing cells (which are in the range B3:B5) in the By Changing Cells<br />

box. The next step is to specify the constraints on the problem. The constraints are added one at a<br />

time and appear in the box labeled Subject To The Constraints.<br />

4. To add a constraint, click the Add button. Excel displays the Add Constraint dialog box, shown<br />

in Figure 37.5. This dialog box has three parts: a Cell Reference, an operator, and a Constraint<br />

value.<br />

5. To set the first constraint (that the total production capacity is 300 units), enter B6 as the<br />

Cell Reference, choose equal (=) from the drop-down list of operators, and enter 300 as the<br />

Constraint value.<br />

6. Click Add to add the remaining constraints. Table 37.1 summarizes the constraints for this<br />

problem.<br />

FIGURE 37.5<br />

The Add Constraint dialog box.<br />

654

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!