Professional Documents
Culture Documents
Excel Solver Examples
Excel Solver Examples
Excel Solver Examples
The workbook provides 3 examples of using Excel Solver to find optimal solutions for decision problems.
Author
Last update
Tutorial URL
Examples:
• Example 1. Calculating minimal cost per service
• Example 2. Magic box
• Example 3. Transportation optimization problem
cel Solver Examples
rkbook provides 3 examples of using Excel Solver to find optimal solutions for decision problems.
Ablebits.com
23-May-16
How to use Solver in Excel with examples
Problem
You need to calculate the minimal cost per service (B5) that will let you pay for the new equipment within the specified timeframe.
Solution
1. The Objective is cell B7 that contains a formula to calculate the number of months to pay for the new equipment.
Diagonal SUM 15
15
Problem
Put numbers from 1 to 9 in cells B2:D4 so that each row, column and diagonal adds up to 15.
Solution
1. The Objective cell - none.
$B$2:$D$4 = AllDifferent
$B$2:$D$4 = integer
$B$5:$D$5 = 15
$E$2:$E$4 = 15
$B$7:$B$8 = 15
645816883.xlsx
Problem
You want to minimize the cost of shipping goods from 2 different warehouses to 4 different customers. Each warehouse has a limited supply and
each customer has a certain demand.
Solution
1. The Objective is to minimize cost. This is cell C12, named Shipping_cost.
2. The Variable cells are those containing the number of products to ship from each warehouse to the customers. These are cells B2:E8, given the
name Products_shipped.
Page 6