Simple clear advice in plain English

Spreadsheet sums solved

Turn an Excel worksheet into a real decision-making tool by installing and using the Solver add-in

image-spreadsheets-feature

Variables are the resources that can be changed to meet the objective, so for a DIY enthusiast the variables could include decorating materials of varying costs. For a manufacturer planning which products to produce, the resources include raw materials, labour, warehousing space and machine tools. Whatever the variable resource, it must be expressible in numerical terms such as total man-hours, kilos of tomatoes, number of griddles and so on.

Constraints are the real-world practical considerations that affect the decision-making process. For example our DIY fan must cover all four walls. Constraints are also used to specify which resources can be split, so while it’s fine to use half a kilo of ingredients or half an hour of time, it’s not OK to produce half a car windscreen.

A practical example
So that’s the theory, now let’s try it out. The scenario is of a garden furniture manufacturer making three items: tables, benches and chairs. All three are made from different combinations of the same five components: wood slats, legs, braces, screws and cushions. The aim is to maximise profits by making the most suitable mix of items from the materials in stock, yet satisfying all the sales and marketing criteria the manufacturer knows from experience.

Download the worksheet SolverEx1.xls from our website. As yet, this worksheet contains no formulas, only labels and numbers. The figures in cells B2 to D6 define how many components of each type are required when making the three items of furniture. Those in column E show how many components are in stock, and those on row 9 show the profit per item for the finished goods.

The yellow areas are for formulas, which are yet to be inserted, and the green band in row 8 represents the three variables that Solver is allowed to change. The cell with the red border is the objective to be maximised, ie total profits.

Download the formulas in the form of SolverEx2.xls. They have all been made as straightforward as possible: those in column F compute the components required to build however many items have been determined by Solver (in the green band). Those in column G represent how many components of each type are left over.

The formulas in B10 to D10 compute the profits generated by making Solver’s suggested mix of products, and these are added together in cell G10 to arrive at the total profit, which is the figure Solver is trying to maximise by changing the values of the green cells. The dollar signs in the formula in cell F2 are there for a reason; so that the single formula can be copied into the cells beneath it without modification, thus saving a lot of typing.

Article tags

Reader Comments

   

Add your comment

All fields must be completed. Your email address will not be displayed or used to send marketing messages.

All messages will be checked by moderators before appearing on the site.

See our Privacy Policy for more information.

Related articles

Windows 7 repair option

Quick fixes anyone can try

Problems with your PC? Here are some quick fixes that don’t need expert knowledge

Using Wizard to create a form

Create a good Base for your data

Databases may sound very dreary but they are behind almost everything we do. We explain how to go about starting one of your own using Libre Office Base

Windows 7 Repair option

How to fix common hardware and software PC problems yourself

We'll show you how to deal with computer issues, from non-working keyboards to updating Windows and more, without having to call in the experts

Question & Answer

Q.Is my phone’s Bluetooth any use?

> Read the answer

Q.Can I switch boot drives so that I can work on older...

> Read the answer

Q.Can I open my old genealogy files or have they gone...

> Read the answer

Best deals on the web

img

Samsung RV520-A07

£356.50- Buy it now

img

Acer Aspire 5750G (LX.RXP02.019)

£399.99- Buy it now

img

Apple MacBook Pro (MD313B/A)

£904.37- Buy it now

Latest issue & subscription deals

Poll

Are you concerned about viruses that target mobile phones?

Jargon Buster

Computing terms explained in plain English

VGA

Video Graphics Array. Standard socket for connecting a monitor to a computer.

Great shopping deals from Computeractive