EDUCBA Logo

EDUCBA

MENUMENU
  • Explore
    • EDUCBA Pro
    • PRO Bundles
    • Featured Skills
    • New & Trending
    • Fresh Entries
    • Finance
    • Data Science
    • Programming and Dev
    • Excel
    • Marketing
    • HR
    • PDP
    • VFX and Design
    • Project Management
    • Exam Prep
    • All Courses
  • Blog
  • Enterprise
  • Free Courses
  • Log in
  • Sign Up
Home Excel Excel Resources Excel Tools Solve Equation in Excel
 

Solve Equation in Excel

Pradeep S
Article byPradeep S
Madhuri Thakur
Reviewed byMadhuri Thakur

Updated May 12, 2023

solve equation in excel

 

 

Solve Equation in Excel (Table of Contents)

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

  • Overview of Solve Equation in Excel
  • How to Add the Solver Add-in Tool?
  • Example of How to Solve Equations Using Solver Add-in Tool

Overview of Solve Equation in Excel

Excel help’s us in many ways by making the task easier & simple. The Solver Add-in tool is significant for performing or solving equations in Excel. Sometimes we need to perform or carry out reverse calculations, where we need to calculate one or two variables to get the desired results.

Example: For the profit of the extra 10%, how many units need to be sold, or what marks are required for the last semester of final exams to get the distinction.

This above calculation or equations can be calculated with the help of Solver Add-in, with specific criteria.

Definition of Solve Equation in Excel

It determines the optimal value of the target cell by changing values in cells used to calculate the target cell.

It contains the below-mentioned parameters.

  • Target
  • Variables
  • Constraints
  • Formula to use to calculate

How to Add the Solver Add-in Tool?

Let’s check out how to add the solver add-in tool in Excel. Users can use the Solver Add-in to perform calculations on equations with specific criteria.

To add the Solver Add-in tool, the below-mentioned procedure is followed:

  • Click on the File option or an Office Button; then, click on Excel Options.

how to add solver add-in tool 1

  • The Excel Options window dialog box appears; under Add-ins, select Solver Add-in in the inactive application add-ins list and “Go.“

how to add solver add-in tool 2

  • An Add-ins window appears where you can see the list of active add-ins options. Tick the Solver Add-in and click on the “Ok” button.

how to add solver add-in tool 3

Notice that the Excel sheet now displays the Solver Add-in as Solver under the “Data” tab located on the extreme right side, indicating its addition.

how to add solver add-in tool 4

Example of How to Solve Equations Using Solver Add-in Tool

Calculate Variable Values For % Profit Maximization with the help of the Solver Add-in Tool.

You can download this Solve Equation Excel Template here – Solve Equation Excel Template

solve equation in excel example 1.1

In the table above, the monthly sales data of price per unit, containing Cost or stockiest Price per unit & Selling Price per unit to customers. Now, I have April & May month with a percentage profit for each unit, i.e., 13.33% & 15.38%, respectively.

Here, B4 & C4 is the percentage profit for April & May 2019, calculated with the help of the formula below.

Formula to Find out Percentage Profit: 

((Selling price per unit – Stockist price per unit)/ Stockist price per unit) *100

Variables (B2, B3 & C2, C3): Here, the variables are Cost or stockiest Price per unit & Selling Price per unit to customers, which keeps changing monthly.

Target & Constraints

I aim to take the percentage profit (%) per unit to 20%. So, for that, I need to find out the Cost or stockiest Price per unit & Selling Price per unit to customers needed to achieve a profit of 20%.

  • Target Cell: D4 (Profit %) should give a 20% profit
  • Variable Cells: C2 (Cost or stockiest Price per unit) and C3 (Selling Price per unit to customers)
  • Constraints: D2 should be >= 16,000 and D3 should be <= 20,000

Formula to Find out Percentage Profit: 

((Selling price per unit – Stockist price per unit)/ Stockist price per unit) *100

i.e. ((D3-D2)/D2) *100

Before usage of the solver add-in tool, we need to enter the profit calculator formula ((D3-D2)/D2) *100 in the target cell (D4) to calculate the 20 % profit.

solve equation in excel example 1.2

To solve equations using Solver Add-in in Excel, you need to provide specific information. Now, select cell D4, and I need to launch the Solver Add-in by clicking on the Data tab and selecting a Solver.

solve equation in excel example 1.3

Once the solver is selected, a Solver parameter window appears, where you need to mention the “Target Cell” as a “D4” cell reference in the set objective text box and select a radio button as “Value of”, In the text box of it set the targeted profit as 20 %

solve equation in excel example 1.4

solve equation in excel example 1.5

In the “By changing variable cells”, select the range of D2 (Cost or stockiest Price per unit) and D3 (Selling Price per unit to customers) cell where it is mentioned as $D$2:$D$3 in the text box.

solve equation in excel example 1.6

After the addition of changing variable cell range, we need to add constraints; Click on “Add” under the subject to the constraints to add columns for each label and ensure proper mailing.

solve equation in excel example 1.7

Now, the first parameter of Constraints is added by inputting the cell reference & constraint value, i.e., Cost price or stockiest Price per unit, which is either more than or equal to 16,000 (>=16000)

solve equation in excel example 1.8

solve equation in excel example 1.9

Now it reflects under Subject to the Constraints box, and again we need to click on add to add one more constraint, i.e., Selling Price per unit to customers. It is added by inputting the cell reference & constraint value, which is either less than or equal to 20,000 (<=20000)

solve equation in excel example 1.10

SEE example 1.11

We have added all the parameters; we just need to click on solve.

SEE example 1.12

It will ask whether you want to keep the solver solution and the original values. Select these options based on your requirement; I selected the Keep Solver Solution and clicked the “Ok” button in this scenario.

SEE example 1.11

Now, you will observe a change in the value in the cells D2 (Cost or stockiest Price per unit) and D3 (Selling Price per unit to customers) to 16000 and 19200, respectively, to get the 20% Profit.

SEE example 1.13

Things to Remember About Solve Equations in Excel

Most of the third-party Excel add-in program provides solve equations & data analysis tools for statistical, financial, and engineering data. Other tools & functions which are used to solve equations in Excel are:

  • What-If Analysis: It is also used to solve equations & data analysis, allowing you to try out different values (scenarios) for formulas to get the desired output.
  • Goal Seek:it’s an inbuilt function under What-If Analysis that helps users solve equations by sourcing cell values until the desired output is achieved.

Recommended Articles

This is a guide to Solving Equation in Excel. Here we discuss how to add the Solver Add-in Tool and solve equations with Solver Add-in Tool in Excel. You can also go through our other suggested articles to learn more –

  1. Evaluate Formula in Excel
  2. Excel Solver Tool
  3. VBA Solver
  4. Standard Deviation in Excel

Primary Sidebar

Footer

Follow us!
  • EDUCBA FacebookEDUCBA TwitterEDUCBA LinkedINEDUCBA Instagram
  • EDUCBA YoutubeEDUCBA CourseraEDUCBA Udemy
APPS
EDUCBA Android AppEDUCBA iOS App
Blog
  • Blog
  • Free Tutorials
  • About us
  • Contact us
  • Log in
Courses
  • Enterprise Solutions
  • Free Courses
  • Explore Programs
  • All Courses
  • All in One Bundles
  • Sign up
Email
  • [email protected]

ISO 10004:2018 & ISO 9001:2015 Certified

© 2025 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

EDUCBA

Download Solve Equation Excel Template

EDUCBA Login

Forgot Password?

EDUCBA

Download Solve Equation Excel Template

EDUCBA

डाउनलोड Solve Equation Excel Template

🚀 Limited Time Offer! - ENROLL NOW