Home >Software Tutorial >Computer Software >How to use Excel Solver-Excel Solver tutorial

How to use Excel Solver-Excel Solver tutorial

王林
王林forward
2024-03-04 11:40:391502browse

php Xiaobian Yuzai will show you how to use excel planning solver. Excel Solver is a spreadsheet-based optimization tool that helps users solve a variety of complex planning problems. By using Excel Solver, users can quickly and accurately find the best solution and improve work efficiency. This tutorial will introduce in detail the basic steps of Excel Solver, allowing you to easily master the use of this powerful tool.

1. First open the options as shown below.

How to use Excel Solver-Excel Solver tutorial

2. Open "Add-ins" as shown in the figure below.

How to use Excel Solver-Excel Solver tutorial

3. On the lower right side, select "excel add-in" and click the "Go" button, as shown in the figure below.

How to use Excel Solver-Excel Solver tutorial

4. Check the "Solver Add-in" and click OK to enable this feature.

How to use Excel Solver-Excel Solver tutorial

5. At this time, you can start to solve the problem. First, look at the question. Here, the editor takes chickens and rabbits in the same cage as an example. There are 35 chickens and rabbits in total and 94 legs. How many chickens and rabbits are there? First of all, we know that the number of feet = the number of chickens × 2 and the number of rabbits × 4, and the number of heads = the number of chickens and the number of rabbits. We write these two known conditions into the table, as shown in the figure below.

How to use Excel Solver-Excel Solver tutorial

6. Then click "Solver" in the "Data" tab, as shown in the figure below.

How to use Excel Solver-Excel Solver tutorial

7. First, let’s look at the upper part, which means that according to the question, we want to get a result where B4 (number of feet) is 94 by changing B2 (number of chickens) and B3 (number of rabbits), as shown in the figure below.

How to use Excel Solver-Excel Solver tutorial

8. Click the Add button on the right to add more constraints. The number of chickens and rabbits is "int (integer)", and the number of heads = 35, as shown in the figure below.

How to use Excel Solver-Excel Solver tutorial

9. Now that all conditions have been added, click “Solve” at the end, as shown in the figure below.

How to use Excel Solver-Excel Solver tutorial

10. The amount of data is not large, and the results can be obtained immediately. You can directly click OK to save. We can see the results. There are 23 chickens and 12 rabbits, which meet the requirements of the question and complete the solution, as shown in the figure below.

How to use Excel Solver-Excel Solver tutorial

The above is all the content on how to use Excel Solver brought by the editor. I hope it can be helpful to everyone.

The above is the detailed content of How to use Excel Solver-Excel Solver tutorial. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:pcsoft.com. If there is any infringement, please contact admin@php.cn delete