Spreadsheet Modelling
Spreadsheet Modelling
Right click on header cell-> Format cell-> Wrap text to display full content of the
cell
CTLR + ~ => Toggle between formulas and their value in the cell
Flash Fill is not foolproof; sometimes it just does not get the pattern.
If your original data column has a heading you need to enter a heading in the same
row of the column in which you want Flash Fill to enter data.
There is an easy way to display the current date or current date and time in a
cell. Entering the function =TODAY() (maybe this used to be Katie Couric's favorite
function!) in a cell enters the current date, while entering the formula =NOW()
displays the current date and time in a cell. Observe in cell B3 that entering
=TODAY() ensures that the current data is always displayed in cell B3, while
entering =NOW() in B5 ensures that the current date and time are entered in cell
B5.
If there is one thing we know about this world, it is that we do not know what is
going to happen. For example, Le Napoleon does not know how many Sacher Tortes will
be demanded each day. Excel contains several functions that help us model uncertain
events such as the daily demand for Sacher Tortes. In this section, we will discuss
two such functions: RAND() and RANDBETWEEN. In a future chapter, we will study in
more detail how to use an Excel add-in, @RISK, to model uncertainty.
Another useful Excel function for modeling uncertainty is the RANDBETWEEN function.
IF a and b are integers and you enter =RANDBETWEEN(a,b) in a cell, then Excel is
equally likely to return any integer between a and b inclusive.
For example, suppose Le Napoleon believes that it is equally likely that today they
will sell between 100 and 200 Napoleons. Then entering =RANDBETWEEN(100,200) in any
cell will generate a random demand that reflects our view of what might happen.
COUNT(cell range) counts how many cells in cell range containing numbers.
COUNTA(cell range) counts how many cells in cell range are not blank (contain text
or numbers).
COUNTBLANK(cell range) counts how many cells in cell range are blank.
Excel has many useful functions that can be used to do basic statistical
calculations. A brief description of many of these functions follows:
A model in which all inputs and outputs are known with certainty is known as a
deterministic model. For example, if we assume we know the unit cost of producing a
Napoleon and know with certainty for any price the demand for Napoleons, it is a
simple matter to develop a deterministic model that can be used to find the profit
maximizing price for Napoleons. Of course, there is no way we can know with
certainty the demand for Napoleons. Therefore, we could choose to model the demand
for Napoleons as an uncertain quantity. This would result in a stochastic model. We
will learn about stochastic models in Unit 11 when we discuss Monte Carlo
Simulation.