jump to content of this page Bized logo linked to homepage
Bookmark and Share

Section 4: Using spreadsheets for 'what if' analysis

The aim of this section is to illustrate how spreadsheets can be used to improve the student's knowledge of the subject by running 'what happens if...' simulations. Spreadsheets are very well suited to simulating outcomes from changes in the input parameters.

The section is divided into:

Section 4.1: Developing a spreadsheet model: Interrelationships between markets
Section 4.2: Mapping a learning objective to a spreadsheet exercise: Impact of the external environment on the firm

Classroom Tip: Make the models relevant and engaging
You can help students to contextualise the model while also engaging their interest if you make the content matter relevant to current issues, or try to increase student ownership through allowing them to suggest the model determinants and their relative sizes. For instance, include relevant articles on what are the consequences of the change in the exchange rate on the profitability of the firm and what are the human costs? Good sources include the Guardian, the Financial Times and The Economist and of course the numerous articles and features available on Biz/ed. You could try to increase the sense of student 'ownership' by getting students to suggest variables that should be included, and the sizes of the different parameters.

Section 4.1: Developing a spreadsheet model: Interrelationship between markets

The example focuses on the following question: What are the consequences on the market price and quantity of tea and milk if there is a fall in market supply of coffee? The theory suggests that the demand for tea will increase and the demand for milk will fall (assuming that milk is consumed with coffee but not with tea).

The spreadsheet illustrates how changes in one market have implications on the equilibrium price and quantity in other markets.

Section 4.1.1: The Model

The model is based on three interrelated markets; coffee, tea and milk. It is assumed that consumers view coffee and tea as substitutes, and drink coffee with milk, and tea without milk.

The coffee market is represented by the following demand and supply conditions:

  • Qd = a - bP
  • Qs = c + dP + H + T
  • Qd = Qs

Where H is an exogenous variable that represents the current harvest conditions, while T is an exogenous variable that represents the level of taxation on producers. P and Q are the price and quantity of coffee, while b represents the price elasticity of demand for coffee and d represents the price elasticity of supply for coffee.

The reduced form equations (solving for P and Q) determine the equilibrium price and output level.

  • P = (a - c - H - T) / (d + b)
  • Qd = a - b ((a - c - H - T) / (d + b))

The tea market is represented by the following demand and supply conditions:

  • Qdt = e - fPt + gP
  • Qstt = x + jPt
  • Qdt = Qst

Where Pt is the price of tea, P is the price of coffee, f is the price elasticity of demand for tea, j is the price elasticity of supply for tea, and g is the cross price elasticity of demand for tea with respect to the price of coffee. The positive sign before gP implies that the two goods are substitutes.

The reduced form equations (solving for P and Q) determine the equilibrium price and output level for tea.

  • Pt = (e + gP - x) / (j + f)
  • Qdt = x + j((e + gP - x) / (j + f))

The milk market is represented by the following demand and supply conditions:

  • Qdm = k - lPm - nP
  • Qsm = o + rPm
  • Qdm = Qsm

Where Pm is the price of milk, P is the price of coffee, l is the price elasticity of demand for milk, r is the price elasticity of supply for milk and n is the cross price elasticity of demand for milk with respect to the price of coffee. The negative sign before nP implies that the two goods are complements.

The reduced form equations (solving for P and Q) determine the equilibrium price and output level for milk.

  • Pm = (K - nPc - o)/(l + r)
  • Qm = o + r((k - nPc - o)/(l + r))

Section 4.1.2: Expected Outcomes

An increase in the market supply (improved harvest) will cause the price of coffee (P) to fall. This will have a knock on effect in other markets. The lower price for coffee will cause an increase in the quantity demanded for milk (Qdm = k - lPm - nP) and a decrease in the quantity demanded of tea (Qdt = e - fPt + gP). Therefore, a fall in the price of coffee (P) will lead to a fall in the price of tea (Pt).

Section 4.1.3: Walk-through exercise

The walk-through exercise is important as it allows you to check if the spreadsheet model is behaving properly. The aim is to make sure that the output from the spreadsheet corresponds with the output from the walk through exercise. In other words it acts as a safety check, if the two do not correspond then an error has occurred in either the spreadsheet or your calculations.

Given the following input parameters, and solving the reduced form equations, the output should be as follows:

Parameter Value Parameter Value
a 100.0 j 0.7
b 0.8 k 30.0
c 20.0 l 1.2
d 0.8 n 0.8
e 10.0 o 3.0
f 0.6 r 0.9
g 0.8 H 50
x 8.0 T 10.0

The output is:

  Coffee Tea Milk
Price 12.50 9.23 8.10
Quantity 90.00 14.46 10.29
Total Revenue 1125.00 133.49 83.27

If H is increased to 60, then:

  Coffee Tea Milk
Price 6.25 5.38 10.48
Quantity 90.00 11.77 12.43
Total Revenue 593.75 63.37 130.20

Section 4.1.4: The spreadsheet

The following screen shots depict a suggested layout for the spreadsheet. Note the use of named sheets to give instructional information.

  1. The introduction sheet gives the aims of the spreadsheet activity, the sequence of tasks that you wish the student to undertake and a description of what information is on the different pages. An important requirement of this sheet is to explain how the comment boxes are used for instructional information.
  2. The simulation model worksheet contains the actual model. The inclusion of comments within the spreadsheet allows the teacher to include glossary terms and instructions.
  3. The additional information sheet could be used by the educator to embed the spreadsheet activity within other resources, for instance, linking to relevant articles on the web, or a discussion board.
  4. The working area contains the workings of the spreadsheet model. It should have clear warnings for users not to change anything on this page unless requested by the educator.

Screenshot 1: View of the simulation model

view of the simulation sheet

Screenshot 2: View of the simulation model with comment boxes

view of the simulation sheet with comments

Screenshot 3: View of the Working Area

view of the working area

Screenshot 4: Consequences of a good harvest

view of the outcomes of a good harvest

The design blends both numeric and text information. By including text, numeric and graphical information, it enhances the value of the resource as it accommodates different learning preferences.

Cross referencing the output area with the walk through exercise, it is evident that the model behaved as expected. The improvement in harvest conditions caused a decrease in the price of tea.

Section 4.1.5: The spreadsheet formulas and functions

This section outlines the formulas that were used in the spreadsheet. The cell addresses correspond with the spreadsheet illustrated through the previous screen shots.

The first set of formulas that need to be developed are those that create a numeric value for the words entered in the Harvest (C6) and Taxation (C7) cells. The conversion into values of 50 for neutral, 40 for decrease and 60 for increase is undertaken in the Working Area.

The formulas use a set of 'If' statements, i.e., if C6 is neutral then the cell value should be 50, however if C6 is increase then the cell value should be 40, if C6 does not equal neutral or increase then the cell value should equal 60. The formulas are:

  • C10 =IF('The Simulation Model'!C6="neutral",50,IF('The Simulation Model'!C6="increase",60,40))
  • C11 =IF('The Simulation Model'!C7="no change",10,IF('The Simulation Model'!C7="increase",15,5))

The second set of formulas that need to be developed are those used to calculate the actual outputs (price, quantity and total revenue) for the three markets. These are based on the reduced form equations that were calculated earlier.

The formulas are:

  • C18 =('Working Area'!C4-'Working Area'!C5-'Working Area'!C10-'Working Area'!C11)/('The Simulation Model'!E6+'The Simulation Model'!E6)
  • C19 =Working Area'!C4-('The Simulation Model'!E6*('The Simulation Model'!C18))
  • C20 =C18*C19
  • C22 =('Working Area'!C6+('The Simulation Model'!E12*'The Simulation Model'!C18)-'Working Area'!C9)/('The Simulation Model'!E8+'The Simulation Model'!E9)
  • C23 =Working Area'!C9+('The Simulation Model'!E9*'The Simulation Model'!C22)
  • C24 =C22*C23
  • C26 =('Working Area'!C7-('The Simulation Model'!E13*'The Simulation Model'!C18)-'Working Area'!C8)/('The Simulation Model'!E10+'The Simulation Model'!E11)
  • C27 =Working Area'!C8+('The Simulation Model'!E11*'The Simulation Model'!C26)
  • C28 =C26*C27

The third set is used to calculate the percentage change between the original values and the actual values. The original values are simply those calculated when harvest is set as 'neutral' and taxation is set as 'no change'. The values are stored in the Working Area.

The calculation is rounded to one decimal place. The reason for this is that the values being used to calculate the growth rates are not all to one decimal place. Therefore, you may find that even with the harvest and taxation set as neutral, some growth rates are not zero. This problem is eradicated by the use of rounding within the equation.

The formulas are:

  • D18 =ROUND(((C18-'Working Area'!C14)/'Working Area'!C14)*100,1)
  • D19 =ROUND(((C19-'Working Area'!C15)/'Working Area'!C15)*100,1)
  • D20 =ROUND(((C20-'Working Area'!C16)/'Working Area'!C16)*100,1)
  • D22 =ROUND(((C22-'Working Area'!C18)/'Working Area'!C18)*100, 1)
  • D23 =ROUND(((C23-'Working Area'!C19)/'Working Area'!C19)*100, 1)
  • D24 =ROUND(((C24-'Working Area'!C20)/'Working Area'!C20)*100, 1)
  • D26 =ROUND(((C26-'Working Area'!C22)/'Working Area'!C22)*100,1)
  • D27 =ROUND(((C27-'Working Area'!C23)/'Working Area'!C23)*100,1)
  • D28 =ROUND(((C28-'Working Area'!C24)/'Working Area'!C24)*100,1)

The final stage is to convert the numeric growth rates into textual descriptions. This was achieved by the use of the 'IF' statement. For instance, if the growth rate is greater than zero then the term 'increase' is to be used. However, if the value is less than zero then the term 'decrease' is applied, while if the value equals zero then the term 'no change' is used.

The formulas are;

  • E18 =IF('The Simulation Model'!D18>0,"increase", IF('The Simulation Model'!D18<0,"decrease","no change"))
  • E19 =IF('The Simulation Model'!D19>0,"increase", IF('The Simulation Model'!D19<0,"decrease","no change"))
  • E20 =IF('The Simulation Model'!D20>0,"increase", IF('The Simulation Model'!D20<0,"decrease","no change"))
  • E22 =IF('The Simulation Model'!D22>0,"increase", IF('The Simulation Model'!D22<0,"decrease","no change"))
  • E23 =IF('The Simulation Model'!D23>0,"increase", IF('The Simulation Model'!D23<0,"decrease","no change"))
  • E24 =IF('The Simulation Model'!D24>0,"increase", IF('The Simulation Model'!D24<0,"decrease","no change"))
  • E26 =IF('The Simulation Model'!D26>0,"increase", IF('The Simulation Model'!D26<0,"decrease","no change"))
  • E27 =IF('The Simulation Model'!D27>0,"increase", IF('The Simulation Model'!D27<0,"decrease","no change"))
  • E28 =IF('The Simulation Model'!D28>0,"increase", IF('The Simulation Model'!D28<0,"decrease","no change"))

Section 4.1.6: Improving the degree of sophistication

This spreadsheet model has focused on supply conditions in the coffee market. However, you could further develop the model by including demand side conditions, such as tastes and fashions, or the level of consumer income.

VLE Tip: Use the model in computer aided assessment
The 'what if' simulation model can be combined with the assessment engine within your VLE. For instance you can create a self assessment test that requires the student to refer back to the output of the spreadsheet simulation. The use of different question styles will allow you to use the simulation as a means of testing both lower order skills such as knowledge, and higher order skills such as synthesis.

Section 4.2: Mapping a learning objective to a spreadsheet exercise

The aim of this section is not to build a spreadsheet but to think about the issues involved in achieving the learning objectives through the use of spreadsheets.

The learning objective maybe that by the end of this activity the student should be able to - 'understand how changes in the external environment can impact on the business performance of the firm'.

This learning objective may require the student to know how to measure business performance, for instance, gross/net profit and performance ratios, and to understand how these can change in response to changes in prices and/or costs. The learning objective requires that students should be able to evaluate the likely impacts on business performance from a specific change in the external environment for a firm.

The student can use the simulation to test their understanding of the issue through experimenting with different 'what if' scenarios and assessing the impact on the firm's performance ratios. In the initial period the scenarios or tasks can be written by the teacher.

It is important at the planning stage to account for the student needs, in particular, the teacher might wish to develop a set of models that can be used in a sequence and increase the degree of sophistication and realism. The reason for this is that students may find a simple 'abstract' model useful at the start to help understand the broader principles involved. After which they move to a more sophisticated and challenging model.

The following scopes out a framework for a potential spreadsheet model:

It is assumed that the firm has the following characteristics; the price is determined by the firm and the output is determined by a simple demand function. However, the firm exports all its output, therefore the price within the demand function needs to be determined by a combination of price set by the firm and the exchange rate. Total costs are determined by fixed and variable costs, where variable costs are cost per unit multiplied by the number of units sold (output).

Then the simulation will allow the user to change the exchange rate to visualize the impact on the profit and loss account and other selected performance indicators.

Input variables Output variables
Price Profit/loss account, including gross and net profit
Variable costs Performance ratios, including asset ratios
Fixed costs  
Exchange rate  

After the students have understood how the simple model works then a second, more sophisticated model, could be developed. The more sophisticated model will allow the student to probe the relationship between the external environment and business performance. For instance, assume that:

  1. The exchange rate is determined by market forces. Hence include the exchange rate market with money demand and money supply.
  2. The firm also imports a proportion of the inputs. Hence the exchange rate influences its costs. You could make this more sophisticated by factoring in the idea that these are variable costs.
  3. The firm has some interest-bearing debt. Therefore, the costs will include debt repayments that are linked to the interest rate.

Welcome | Previous Section | Next Section