Function Problems

How to Find the Lowest-Cost Supplier Combination Using Excel Solver

Natalie TaylorNatalie Taylor Nov 11, 2026 870 views

Question details

Determine the optimal combination of suppliers to fulfill a list of parts at the lowest possible total cost.

How to Find the Lowest-Cost Supplier Combination Using Excel Solver
Product
Microsoft Excel
Device & OS
not provided
Scenario
A procurement or supply chain optimization task where a user needs to assign specific parts to a limited number of suppliers to minimize expenses.
Observed behavior
The user needs a mathematical model or formula-based approach to identify the most cost-effective supplier assignment from multiple options.
Before you start

Ensure the Solver Add-in is activated in your spreadsheet application by navigating to File > Options > Add-Ins, as it is required to run optimization models.

Solution 1Recommended

Use Excel Solver for Evolutionary Search Optimization

Set up a binary decision model to minimize costs by finding the optimal supplier assignments using Excel Solver.

By modeling the problem with binary variables (0 or 1), you can instruct the Solver to test different supplier-part assignments. The evolutionary solving method is particularly well-suited for this type of discrete optimization.

1
Set up the assignment matrix

Create a data grid with suppliers as columns and parts as rows, leaving blank cells for a binary decision variable (0 or 1) representing whether a supplier is assigned to a specific part.

2
Apply assignment constraints

Add a summary column that sums the assigned suppliers for each part. Set a constraint rule in Solver that this sum must exactly equal 1, ensuring every part is assigned to only one supplier.

3
Limit the number of suppliers

Add a formula to count the unique suppliers chosen. Set a Solver constraint limiting this cell to a maximum of your desired supplier count (e.g., 3).

4
Calculate total cost

Create a target cell that calculates the total cost using the SUMPRODUCT function on the assignment matrix and your actual cost matrix.

5
Run Excel Solver

Navigate to Data > Solver. Set the objective to minimize your total cost target cell, select the 'Evolutionary' solving method, and click 'Solve'.

Use Excel Solver for Evolutionary Search Optimization
Solver Configuration: Using the Evolutionary engine can take slightly longer to calculate but is necessary for handling non-linear constraints like counting unique suppliers.

Optimize Procurement Costs effortlessly with WPS Spreadsheet

WPS Spreadsheet offers powerful data analysis tools, including built-in Solver capabilities, dynamic array support, and What-If Analysis, helping you find the most cost-effective supplier combinations effortlessly.

  1. 1. Download and open: Download and install WPS Office, then open your supplier cost dataset in WPS Spreadsheet.
  2. 2. Access Solver tool: Go to the Data tab and click on Solver to set up your cost minimization objective.
  3. 3. Define constraints: Select your changing variable cells representing supplier assignments and apply binary (bin) constraints.
  4. 4. Solve the model: Choose the appropriate solving method and click 'Solve' to instantly find the lowest-cost supplier combination.
Built-in Solver add-in handles complex linear, non-linear, and evolutionary optimization problems.Full compatibility with Microsoft Excel formats (.xlsx) and advanced dynamic array functions.Completely free to use with a lightweight installation and fast performance.
microsoft office alternative - wps office

Frequently Asked Questions

Why is the Evolutionary solving method recommended for supplier optimization?

The Evolutionary solver is ideal for non-smooth optimization problems with discrete variables. Choosing specific supplier combinations and setting up binary constraints often causes traditional linear solvers (like Simplex LP) to fail to find the true global minimum.

How do I enable the Solver tool if I cannot find it on the Data tab?

To enable Solver, go to File > Options > Add-Ins. In the Manage dropdown, select Excel Add-ins (or WPS Add-ins), click Go, check the box for Solver Add-in, and click OK. It will then appear on your Data ribbon.

Can I solve minimum cost problems without using the Solver add-in?

Yes. If you are using modern spreadsheet software that supports dynamic arrays, you can use a combination of LET, MINIFS, and custom LAMBDA functions to exhaustively evaluate all possible supplier combinations and extract the one with the lowest total cost.

What is a Data Table in What-If Analysis?

A Data Table is a feature that allows you to see the results of multiple different inputs simultaneously. In this scenario, it evaluates every generated supplier combination ID against your cost calculation formula to display all potential total costs in one unified grid.