Essential to Expert Skills progression

Excel tutorials

The only Excel books you will ever need

  • The only constantly updated Excel 365 titles more…
  • Thoroughly covers Power Pivot and Power Query more…
  • Covers business intelligence and OLAP features more…
  • Simple, easy, understandable, 2-page lessons more…
  • Available as both printed books and e-Books more…
  • Used by schools, colleges and universities  more…
  • Available for 365, 2019, 2016 and Mac versions more…

Forcing Solver to return whole numbers

What is Solver?

Solver is an Excel Add-In that automatically ‘solves’ mathematical problems. You could use it, for example, to calculate which products would make the best use of the materials you have on hand.

While Solver is an Add-In it is included with every copy of Excel and can be enabled very easily. There is also a simpler calculation tool called Goal Seek that can be found on Excel’s Data Ribbon tab.

Goal Seek and Solver are both explained in depth in our Expert Skills Books and E-books.

Adding a constraint for whole numbers

Solver supports ‘constraints’, which supply rules that Solver must follow when calculating its results. To limit Solver to whole numbers you would need to create an Integer (or int) constraint:

This will force Solver to use only whole numbers in the specified cells.

Share this article

Share on facebook
Share on twitter
Share on linkedin
Share on stumbleupon
Share on email

Recent Articles

Excel protected view warning

Excel protected view: Be careful – files from the Internet can contain viruses. Unless you need to edit it’s safer to stay in Protected View. This article explains what this error message means.

VLOOKUP inexact match illustration (chicken and egg).

VLOOKUP inexact match

VLOOKUP lesson with sample file that will teach you everything there is to know when creating a VLOOKUP inexact match Excel function.

VLOOKUP exact match

Simple VLOOKUP tutorial with sample file that will teach you everything there is to know when creating a VLOOKUP function with an exact match.

Clients

When you use The Smart Method you’re in good company Here are some of the companies that The Smart Method have helped empower with excellent

Microsoft Office update channels

Microsoft Office update channels are explained in this article. Beta, Current, Monthly Enterprise and Semi-annual enterprise are all covered.

Leave a Reply

Your email address will not be published.

one + 11 =