How To Use Solver In Microsoft Excel (with Pictures) - WikiHow

Skip to ContentQuizzes
  • Home
  • Random
  • Browse Articles
  • Quizzes & Games
  • All QuizzesHot
  • Love Quizzes
  • Personality Quizzes
  • Fun Games
  • Dating Simulator
  • Learn Something New
  • Forums
  • Courses
  • Happiness Hub
  • Explore More
  • Support wikiHow
  • About wikiHow
  • Log in / Sign up
Terms of Use wikiHow is where trusted research and expert knowledge come together. Learn why people trust wikiHow How to Use Solver in Microsoft Excel PDF download Download Article Written by Jack Lloyd

Last Updated: July 28, 2022 Tested

PDF download Download Article
  • Enabling Solver
  • |
  • Analyzing and Solving
  • |
  • Video
  • |
  • Tips
  • |
  • Warnings
|Show more |Show less X

This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. The wikiHow Tech Team also followed the article's instructions and verified that they work. This article has been viewed 648,900 times. Learn more...

This wikiHow teaches you how to use Microsoft Excel's Solver tool, which allows you to alter different variables in a spreadsheet in order to achieve a desired solution. You can use Solver in both Windows and Mac versions of Excel, though you'll have to enable Solver before you can begin using it.

Steps

Part 1 Part 1 of 2:

Enabling Solver

PDF download Download Article
  1. Step 1 Open Excel. 1 Open Excel. Click or double-click the Excel app icon, which resembles a green box with a white "X" on it.
    • Solver comes pre-installed with both Windows and Mac versions of Excel, but you'll have to enable it manually.
  2. Step 2 Click Blank workbook. 2 Click Blank workbook. This will open the Excel window, from which point you can proceed with enabling Solver.
    • If you have an existing Excel file you'd like to use Solver with, you can open it instead of creating a new file.
    Advertisement
  3. Step 3 Click File. 3 Click File. It's a tab in the upper-left side of the Excel window.
    • On a Mac, click Tools instead, then skip the next step.
  4. Step 4 Click Options. 4 Click Options. You'll find this option at the bottom of the File menu. Doing so brings up the Options window.[1]
  5. Step 5 Click Add-ins. 5 Click Add-ins. It's a tab in the lower-left side of the Options window.
    • On a Mac, click Excel Add-ins in the Tools menu.
  6. Step 6 Open the "Add-ins Available" window. 6 Open the "Add-ins Available" window. Make sure that the "Manage" text box has "Excel Add-ins" listed in it, then click Go at the bottom of the page.
    • On a Mac, this window will open after clicking Excel Add-ins in the Tools menu.
  7. Step 7 Install the Solver add-in. 7 Install the Solver add-in. Check the "Solver" box in the middle of the page, then click OK. Solver should now appear as a tool in the Data tab that's at the top of Excel.
  8. Advertisement
Part 2 Part 2 of 2:

Analyzing and Solving

PDF download Download Article
  1. Step 1 Understand Solver's use. 1 Understand Solver's use. Solver can analyze your spreadsheet's data and any constraints you've added to show you possible solutions. This is useful if you're working with multiple variables.
  2. Step 2 Add your data to your spreadsheet. 2 Add your data to your spreadsheet. In order to use Solver, your spreadsheet must have data with different variables and a solution.
    • For example, you might create a spreadsheet documenting your various expenses over the course of a month with the output cell resulting in your money left over.
    • You can't use solver on a spreadsheet which doesn't have solvable data (i.e., your data has to have equations).
  3. Step 3 Click the Data tab. 3 Click the Data tab. It's at the top of the Excel window. This will open the Data toolbar.
  4. Step 4 Click Solver. 4 Click Solver. You'll find this option in the far-right side of the Data toolbar. Doing so opens the Solver window.
  5. Step 5 Select your target cell. 5 Select your target cell. Click the cell in which you want to display your Solver solution. This will add it to the "Set Objective" box.
    • For example, if you're creating a budget where the end goal is your monthly income, you would click the final "Income" cell.
  6. Step 6 Set a goal. 6 Set a goal. Check the "Value Of" box, then type your target value into the text box next to "Value Of".
    • For example, if your goal is to have $200 at the end of the month, you would type 200 into the text box.
    • You can also check either the "Max" or "Min" box in order to prompt Solver to determine the absolute maximum or minimum value.
    • Once you've set a goal, Solver will attempt to meet that goal by adjusting other variables in your spreadsheet.
  7. Step 7 Add constraints. 7 Add constraints. Constraints set restrictions on the values that Solver can use, which prevents Solver from accidentally nullifying one or more of your spreadsheet's values. You can add a constraint by doing the following:[2]
    • Click Add
    • Click the cell (or select the cells) for which the constraint applies.
    • Select a type of constraint from the middle drop-down menu.
    • Enter the constraint's number (e.g., a maximum or minimum).
    • Click OK
  8. Step 8 Run Solver. 8 Run Solver. Once you've added all of your constraints, click Solve at the bottom of the Solver window. This will prompt Solver to find the optimal solution for your problem.
  9. Step 9 Review the results. 9 Review the results. When Solver alerts you that it has an answer, you can see the answer by looking at your spreadsheet to see which values were changed.
  10. Step 10 Change your Solver criteria. 10 Change your Solver criteria. If the output that you received isn't ideal for your spreadsheet, click Cancel in the pop-up window, then adjust your objective and constraints.
    • If you do like your Solver's results, you can apply them to your spreadsheet by checking the "Keep Solver Solution" box and then clicking OK.
  11. Advertisement

Expert Q&A

Search Add New Question Ask a Question 200 characters left Include your email address to get a message when this question is answered. Submit Advertisement

Video

Tips

  • Solver is best used for problems such as scheduling employees, determining the lowest price for which you can sell items while meeting a financial goal, and budgeting. Thanks Helpful 2 Not Helpful 0
Submit a Tip All tip submissions are carefully reviewed before being published Name Please provide your name and last initial Submit Thanks for submitting a tip for review! Advertisement

Warnings

  • Solver cannot be used in spreadsheets in which there is no "output" or actual solution. For example, you can't apply solver to a spreadsheet which has no equations. Thanks Helpful 1 Not Helpful 2
Advertisement

You Might Also Like

Create a Budget SpreadsheetHow toCreate a Budget Spreadsheet Make a Spreadsheet in ExcelHow toMake a Spreadsheet in Excel Apply Conditional Formatting in ExcelHow toApply Conditional Formatting in Excel Subtract in ExcelHow toSubtract in Excel Use Vlookup With an Excel SpreadsheetHow to Use VLOOKUP with an Excel Spreadsheet Add in ExcelHow to Add Numbers & Cells in Excel: Complete Guide Do a Break Even Chart in ExcelHow to Create a Break Even Chart in Excel for Your Business Expenses Track your Bills in Microsoft ExcelHow toTrack your Bills in Microsoft Excel Use Summation Formulas in Microsoft ExcelHow to Use the SUM Function in Excel to Add Cells, Ranges, & Numbers Make a Personal Budget on ExcelHow toMake a Personal Budget on Excel Run a Multiple Regression in ExcelHow to Run a Multiple Regression in Microsoft Excel: Step-by-Step Guide Add Up Columns in ExcelHow to Add Up Columns in Microsoft Excel: Quickly Sum Numbers Edit Data in Microsoft Excel3 Simple Ways to Edit Data in MS Excel Use Macros in ExcelExcel Macros: How to Run, Record, and Use Macros in Excel Advertisement

References

  1. https://support.office.com/en-us/article/Load-the-Solver-Add-in-in-Excel-612926fc-d53b-46b4-872c-e24772f078ca#OfficeVersion=Windows
  2. https://www.youtube.com/watch?v=dRm5MEoA3OI

About This Article

Jack Lloyd Written by: Jack Lloyd wikiHow Technology Writer This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 648,900 times. How helpful is this? Co-authors: 25 Updated: July 28, 2022 Views: 648,900 Categories: Microsoft Excel Article SummaryX

1. Enable Solver in the "Add-ins" section of your Excel preferences if necessary. 2. Open a spreadsheet with data you want to analyze. 3. Click Data, then click Solver. 4. Select a cell to use from the "Set Objective" field. 5. Check the "Value Of" box, then enter a desired value. 6. Click Solve. Did this summary help you?YesNo

In other languages Spanish German Russian Indonesian Dutch Italian Japanese
  • Print
  • Send fan mail to authors
Thanks to all authors for creating a page that has been read 648,900 times.

Is this article up to date?

Yes No Advertisement Cookies make wikiHow better. By continuing to use our site, you agree to our cookie policy. Jack Lloyd Written by: Jack Lloyd wikiHow Technology Writer Click a star to vote Co-authors: 25 Updated: July 28, 2022 Views: 648,900

Quizzes & Games

IQ TestIQ TestTake QuizAm I Smart QuizAm I Smart QuizTake QuizHow Rich Will I Be QuizHow Rich Will I Be QuizTake QuizCognitive TestCognitive TestTake QuizWhat Is My Work Style QuizWhat Is My Work Style QuizTake QuizAdvanced Roulette GameAdvanced Roulette GamePlay

You Might Also Like

Create a Budget SpreadsheetHow toCreate a Budget SpreadsheetMake a Spreadsheet in ExcelHow toMake a Spreadsheet in ExcelApply Conditional Formatting in ExcelHow toApply Conditional Formatting in ExcelSubtract in ExcelHow toSubtract in Excel

Featured Articles

Hilarious Clean Jokes That’ll Make Adults & Kids LaughHilarious Clean Jokes That’ll Make Adults & Kids LaughAm I Ready For A Relationship QuizAm I Ready For A Relationship QuizWhy Is He Ignoring Me? 12 Possible Reasons (Plus, What to Do)Why Is He Ignoring Me? 12 Possible Reasons (Plus, What to Do)A Complete Style Guide for the Gamine Kibbe Body TypeA Complete Style Guide for the Gamine Kibbe Body Type Tell if You’re in LoveHow to Tell if You’re in LoveWhich Chaotic Evil Villain Am I QuizWhich Chaotic Evil Villain Am I Quiz

Trending Articles

Let Us Rate You 1-10: Attractiveness Scale QuizLet Us Rate You 1-10: Attractiveness Scale QuizCan We Guess If You're Single or Taken?Can We Guess If You're Single or Taken?Make OutHow toMake OutAm I a Gigachad or Totally Chopped?Am I a Gigachad or Totally Chopped?How Rare Is My Birthday QuizHow Rare Is My Birthday QuizHow Nonchalant Am I QuizHow Nonchalant Am I Quiz

Featured Articles

What Does It Mean If Someone Tries to Kill You in Your Dream?What Does It Mean If Someone Tries to Kill You in Your Dream?200+ Best Questions to Ask Someone You Like (Texting & IRL)200+ Best Questions to Ask Someone You Like (Texting & IRL)How Beautiful Am I QuizHow Beautiful Am I Quiz13 Types of Hairlines for Men and Women (And How to Maintain Yours)13 Types of Hairlines for Men and Women (And How to Maintain Yours)Which of the 8 Face Shapes Do You Have? Helpful Tips & Style GuidanceWhich of the 8 Face Shapes Do You Have? Helpful Tips & Style GuidanceMental Illness TestMental Illness Test

Featured Articles

Enjoy the HolidaysHow toEnjoy the Holidays Get 250 Grams of Protein Daily: Best Foods, Meal Plans & MoreHow to Get 250 Grams of Protein Daily: Best Foods, Meal Plans & MoreAm I Girly QuizAm I Girly Quiz200 Fun, Flirty, & Deep Questions to Get to Know a Guy Better200 Fun, Flirty, & Deep Questions to Get to Know a Guy Better Tighten Skin Under Your Chin: Natural or Surgical OptionsHow to Tighten Skin Under Your Chin: Natural or Surgical OptionsWhat Would My Nickname Be QuizWhat Would My Nickname Be Quiz

Watch Articles

Wrap a Round GiftHow toWrap a Round GiftSteam in an OvenHow toSteam in an Oven Make Plant-Based Meat: 4 Incredible RecipesHow to Make Plant-Based Meat: 4 Incredible RecipesClean a Silver NecklaceHow toClean a Silver Necklace4 Easy Ways to Open a Can of Soda4 Easy Ways to Open a Can of SodaPart Your HairHow toPart Your Hair

Trending Articles

180 Good Comebacks & Savage Roasts to Win Any Argument180 Good Comebacks & Savage Roasts to Win Any ArgumentAm I a Furry QuizAm I a Furry QuizHave I Met My Soulmate Yet QuizHave I Met My Soulmate Yet QuizRandom Fortune GeneratorRandom Fortune GeneratorWhat Should My Name Really Be QuizWhat Should My Name Really Be QuizWhat Are the Gay Male Body Types (And Which Do You Have?)What Are the Gay Male Body Types (And Which Do You Have?)

Quizzes & Games

The Impossible QuizThe Impossible QuizTake QuizJob Simulator: Office WorkerJob Simulator: Office WorkerPlayWhat Do I Want in a Weight Loss Program QuizWhat Do I Want in a Weight Loss Program QuizTake QuizHow You Can Discover HappinessHow You Can Discover HappinessTake QuizDo You Have What It Takes To Become A Millionaire?Do You Have What It Takes To Become A Millionaire?Take QuizWhat Kind of Vacation Should You Go On?What Kind of Vacation Should You Go On?Generate wikiHow
  • Categories
  • Computers and Electronics
  • Software
  • Office
  • Spreadsheets
  • Microsoft Excel
wikiHow Newsletter You're all set! Helpful how-tos delivered toyour inbox every week! Sign me up! By signing up you are agreeing to receive emails according to our privacy policy.
  • Home
  • About wikiHow
  • Experts
  • Jobs
  • Contact Us
  • Site Map
  • Terms of Use
  • Privacy Policy
  • Do Not Sell or Share My Info
  • Not Selling Info
  • Contribute

Follow Us

×

wikiHow Tech Help:

Tech troubles got you down? We've got the tips you need

Subscribe You're all set! X --625

Tag » Where Is Solver In Excel Mac