1a. Introduction+to+Microsoft+Excel+r3
1a. Introduction+to+Microsoft+Excel+r3
Online Workbook
This online workbook is intended to provide students with an introduction to the Microsoft
Excel software package.
The document is available online to download for customers who have purchased the
textbook Basic Statistics for Business and Management Students - Using Excel and IBM SPSS
Statistics.
1
INTRODUCTION TO MICROSOFT EXCEL 4
Overview 4
Learning objectives 5
SECTION 1 INTRODUCTION TO MICROSOFT EXCEL 5
Loading Excel 6
Task panes 7
Help 8
Saving a workbook 8
Closing a workbook 10
Entering numbers 14
Entering text 15
Formatting a worksheet 15
Naming a worksheet 18
2
Inserting and deleting rows and columns 18
Spell checking 19
SECTION 3 PERFORMING CALCULATIONS 20
Entering formulae 20
Understanding operators 20
Reference operators 21
Editing a formula 22
IF function 26
What if analysis 28
Insert function 29
SECTION 4 STATISTICS WITH EXCEL 30
Descriptive statistics 30
Using a function 31
3
Introduction to Microsoft Excel
Microsoft Excel provides a series of tools that can be used to undertake the analysis of data sets as
well as a presentation tool for reporting your results. It is assumed that you are familiar with
Microsoft Windows and know how to perform tasks such as accessing commands from the menus
on the menu bar, selecting items and entering information into a dialog box. This online workbook
describes Microsoft Excel 2016, which is part of the Office suite of programmes, and focuses on the
Excel skills required to enable the Excel user to undertake the statistical tests described within each
chapter of the textbook.
Overview
A spreadsheet is a table of cells arranged in rows and columns. The data values in each cell can take
many forms, such as text, dates, times, and numbers (including currency and percentages). The
relationships between cells are called formulae. If you change the value in a cell, the contents of any
cells that depend on that value will change automatically. This enables you to study what-if
scenarios. Excel can create and manipulate spreadsheets (which are called worksheets). Excel can be
used to enable calculations involving numbers, for example: (a) creating a family budget, (b)
calculating mortgage payments, and (c) undertaking a range of statistical and non-statistical
calculations. Furthermore, it is good at creating tables and graphs as illustrated in Figure WExcel1.1
below.
Figure WExcel1.1
4
The textbook is concerned with the application of the Excel spreadsheet to solve business statistics
focused problems.
Learning objectives
• Worksheets
Worksheets can be used to store, manipulate, calculate, analyse data, and create tables and
charts.
• Workbooks
These are a collection of sheets stored in the same file on the disk. By keeping related
worksheets in the same workbook, it is easy to make simultaneous changes and edits to all
workbook sheets at one time, or to consolidate related sheets or to do calculations involving
multiple worksheets. The number of worksheets is constrained by the amount of available
computer memory (default is 3 sheets).
• A row
A Row is a line of Horizontal cells within a spreadsheet e.g. A3, B3,C3, D3, E3 etc...
Within each worksheet there are 1,048,576 rows.
• A column
A Column is a line of Vertical cells within a spreadsheet e.g. A1,A2, A3, A4, A5 etc...
Within each worksheet there are 16,384 columns.
5
• A cell
A cell is the intersection of a Row and a Column, which has a unique address or reference.
For example, where Column C and Row 8 intersect is cell C8. You use cell references when
you write formulas or refer to cells.
• Absolute cells
A reference such as $A$2 tells Excel how to find a cell based on the exact location of that cell
in the worksheet. An absolute reference is designated by adding a dollar sign ($) before the
column letter and the row number.
• A range
A selection of multiple cells is referred to as a range. A single cell in some circumstances may
represent a range.
• Charts
Excel can create charts quickly to visually represent a data set stored in a worksheet. A range
of chart types can be created, including pie charts, bar charts, line graphs, and scatter plots.
• Macros
Excel can be used to develop and store macros that can be used to undertake frequently
applied tasks. A macro records your mouse clicks and keystrokes while you work and play
them back later. It is used to record the sequence of actions you use to perform a certain
task. When you run the macro, it plays those actions back in the exact same order.
• Presentations
Excel as a range of drawing and formatting tools that can be used to create high-quality
presentations. These presentations can then be printed or copied to a word processing or
presentation software package.
Loading Excel
Select Start to display the Start menu > Select All Programs > Select Microsoft Office > Select
Microsoft Excel 2010. Excel opens and displays an empty workbook as illustrated in Figure
WExcel 1.2.
In Excel, the normal file type is referred to as a workbook. The first blank workbook
displayed by Excel is called Book1 (see Figure WExcel 1.2). Each workbook contains sheets
that are referred to as worksheets if they contain a spreadsheet. A new workbook usually
6
has three worksheets, but more can be added if required. The screen display is made up of
the worksheet which is divided into rows (with headings 1, 2, 3, ……) and columns (with
headings A, B, C, …..). Although you cannot see them there are 16,384 columns and
1,048,576 rows. This means that there are more than 16 million individual cells in one
worksheet. At the top of the Excel workspace is the title bar displaying Microsoft Excel
followed by the name of the current workbook (Book 1 in this case). Below that is the menu
bar and toolbars. Then, just above the row of column headings, are the Name box containing
the address of the active cell (A1 at the moment) and the Formula Bar displaying the
contents of the active cell (blank at the moment).
Task panes
Task panes are user interface panels that are typically docked to one side of a window in a
Microsoft Office application. Custom task panes give you a way to create your own task pane
and provide users with a familiar interface to access your solution's features. For example,
the interface can contain controls that run code to modify documents or display data from a
data source. Excel does not have any task panes that are special it, just the ones that all
Office programs have.
• Add text to clipboard - the Office clipboard keeps track of up to 24 items that you copied
or cut in any Office program. The total file size that the Clipboard can store is 8 MB. How
to open: Home > Clipboard tab group > dialog box launcher (default location: left side).
Figure WExcel 1.3 illustrates the clipboard menu on Excel 2016.
• Insert clip art - opens a search form to look for clip art images, and then shows
thumbnails of the results. Not all image formats will show thumbnails. How to open:
Insert > Illustrations tab group > Clip art button (default location: right side).
• Selection & Visibility - clicking the name in the list selects the object, which can be clip
art, a picture, word art, or a shape, including a text box. The selection & visibility pane
enables you to select objects to move or modify, to hide objects, and to change the
7
stacking order for objects. How to open: drawing tools: format or picture tools: format>
arrange tab group > selection pane button (default location: right side).
• Research - the research pane includes a drop list of several sources to search, including a
dictionary, thesaurus, and online sites. You can add other services to this list. How to
open: Review > proofing tab group > Research or Thesaurus buttons and Review >
Translate tab group > Translate button (default location: right side).
• Document recovery - By default, Office automatically saves your work every so often.
When an Office program closes unexpectedly (perhaps from a power outage or a
computer crash), the Document Recovery task pane opens the next time you start that
program. It shows you a list of one to three previously saved versions of the documents
that were open when the program crashed or was shut down incorrectly. Any changes
you made between the AutoSave and the crash are lost. If you had recently saved your
documents, you may not want any of the versions listed at all.
Help
Excel has a comprehensive, easy-to-use help system. The Office Assistant can be accessed by
clicking on the question mark in Figure WExcel 1.4 can be employed to ask for help from the
Help menu (Figure WExcel 1.5):
Saving a workbook
Your workbook can be saved to a local hard disk or stored on an external storage device e.g.
USB memory stick.
3. Press Delete Key on your keyboard to delete the default file name.
4. Enter the name of your workbook (e.g. TEST). Excel will automatically give it a file
extension ( .xls). The file extension (.XLS) denotes the file to be an Excel spreadsheet.
8
5. Browse to the location you would like to save the file to and select the appropriate
drive, for example, GLYNDAVIS(F:).
6. Click on SAVE. The name of the document is displayed at the top of the screen.
However, if you wish to make some alteration to the original document and save the altered
version as well as keeping the original version, carry out the following procedures:
9
Figure WExcel 1.8 Open file dialog box
Closing a workbook
You can close a workbook at any time. From the File menu, select Close. If you have made
any changes to the workbook since it was last saved, you will be asked whether you wish to
save those changes. Click Yes to keep the changes or No to discard them. You can rename
the file if you wish to keep the changes made but save it to a different Excel file.
Click on the tab at the bottom of the screen to select the next sheet.
To create a new worksheet in your workbook, click on Figure WExcel 1.10 at the bottom of
the worksheet.
10
Click on File > New > Select Blank workbook.
The print preview function allows you to preview your worksheet exactly as it will be
printed. Click on File > Print.
If an Excel file is corrupted due to a computer crash (or other problem) then Excel will
automatically attempt to save a file. The Document Recovery task pane shows the files that
were open at the time of the computer crash. It identifies the original version of the file and
the recovered version of the file.
11
After you open the recovered version, you can then save its changes by choosing File > Save
on the Excel menu bar. The AutoRecover feature is set to automatically save changes to your
workbook (provided that the file has already been saved) every ten minutes. You can modify
this time by choosing Tools > Options > Save on the Excel menu bar. The Open and Repair
command can be used to recover corrupt Excel files (choose File > Open and Repair).
+ - E e ( ) . , £ % /
A numeric cell entry can maintain precision up to 15 digits. If you enter a number that is too
long, Excel converts it to scientific notation. For example, if you type 97867985685859300, it
will be stored as 97867985685859300, and displayed as 9.7868E+16. Sometimes, although
the number is stored correctly in the cell, the cell is not wide enough to display it properly. In
those cases, Excel will round the number off or display a string of # signs.
To solve this problem, increase the width of the column. A text entry can contain up to
32,767 characters but only 1024 characters will display in the cell, but all will be displayed in
the formula bar.
If the text you enter will not fit in the width of your cell, Excel lets it overlap the adjacent cell
unless that cell already contains an entry, in which case the extra text can be thought of as
being tucked behind the adjacent cell. By default, text is left-justified in a cell whereas
numbers are right-justified.
1. Select a cell in which you want to enter data. See Figure WExcel 2.1.
2. Type in the entry. The entry will appear in the formula bar as it is typed.
3. To enter what you have typed press the Return key or click on the green tick to
enter.
12
Modifying data in a cell
If you are in the process of entering data in a cell and you notice that you have made a
mistake, it is easy to correct it. Press the backspace computer key to delete a character to
the left of the cursor or the delete key to delete a character to the right of the cursor. If you
want to edit the contents of a cell, then you should double-click on the cell and make the
required alterations either in the cell itself or on the formula bar.
If you want to clear the cell of its contents (formula and data), formats, comments, or all
three, you can select that cell with a single click of the right mouse button and select Clear
Contents as illustrated in Figure WExcel 2.2.
In Excel, any rectangular area of cells is known as a range. The range is defined by the top-
left and bottom-right corner cell references separated by a colon (:). So, C8:G15 represents
the range of cells cornered by C8 and G15. To enter the same data into a range of cells:
13
Cancelling a cell entry
To undo a cell entry after you have pressed the return key and click on the undo menu
(located at the top left-hand corner of your workbook as illustrated in Figure WExcel 2.4.
You can repeat a cell entry after you have pressed the return key and click on the repeat
menu as illustrated in Figure WExcel 2.5.
Entering numbers
If you type a date or time (e.g. 13/4/8 or 16:21) directly into a cell Excel should automatically
recognise it as such and changes the cell formatting from general to the appropriate date or
time format. The program will normally align it to the right of the cell and display it in the
formula bar in a standard format (e.g. 13/04/2008 or 16:21:00).
The displayed formats in particular cells can be modified using Format > Cells > Number
menu option. You can either choose a date format from the Category box or select Custom
to define your own cell format. Regardless of how the date (or time) is displayed, the actual
14
value stored in the cell is a long numeric value e.g. the date variable 13/04/2008 would be
stored under general format as 39752.
Entering text
To enter text, select a cell and type the text. A cell can hold up to 256 characters. You can
format the characters within a cell individually but note that if there are more than 255
characters in the cell then the cell will show "#########". This problem can be resolved by
applying text wrapping to the cell.
Formatting a worksheet
You can use many formatting options in Excel to add emphasis to your data or make the
worksheet easier to read. To apply cell formats, you can either use the Toolbar or the Menu
bar. You can change the format of the text by using the following parts of the toolbar:
1. Click on the down arrow to the right of the font size selection box as
illustrated in Figure WExcel 2.6.
2. To select the size you require use the scroll bar arrows to move up or down
the list of available sizes, then click on a number.
3. The selected font size will appear in the font size box.
1. Click on the down arrow to the right of the font box as illustrated in Figure
WExcel 2.7.
2. To select the font, you require use the scroll bar arrows to scroll through the
list of available fonts, then click on a font type.
3. The selected font type will appear in the font box.
• To bold text
2. Enter text, highlight text, and click on bold button again to return to normal.
15
Figure WExcel 2.9
2. Enter text, highlight text, and click on italic button again to return to normal.
• Aligning text
Left alignment
Figure WExcel 1.26
Centred
Figure WExcel 1.27
Right alignment
Figure WExcel 1.28
Centre across columns
In a new worksheet all columns and rows are set to a standard size. Rows automatically
adjust to the largest font entered into the row. You may need to adjust the column width if
you are entering more than 8 characters.
16
• Column width
3. Select Column Width from the drop-down menu. An additional menu box
will appear as illustrated in Figure WExcel 2.15.
• Row height
17
Figure WExcel 2.16
3. Select Row Height from the drop-down menu. An additional menu box will
appear.
Naming a worksheet
The information on sheet1 might refer to a particular project. It would make sense to name
the sheet (or worksheet) accordingly.
1. Right-click on sheet1.
2. Select Rename from the menu that appears.
3. Type your project name into the text box and press Enter key.
Extra rows and columns can be inserted whenever you wish. As an example, insert a row
between row 8 and 9.
18
1. Click with the right mouse click on the column name B
2. Select Insert
To delete a row or column, right click on its name and select Delete from the menu which
appears.
When you use the Clear command, you will clear the contents, formats or notes but leave
the cells on the worksheet. Unlike delete which removes the cell from the worksheet and
the surrounding cells shift to take their place.
Spell checking
Click on Review tab and select the Spelling button on the toolbar
19
If a spelling mistake is found Excel will prompt and provide an opportunity to correct the
error.
Entering formulae
Using a formula can help you analyse data on a worksheet. With a formula you can perform
operations, such as addition, multiplication and comparison on worksheet values. Excel
formulas always begin with an equal sign e.g. =7/8, =3*5+4/7, =3*A3, and =A3*A3.
Understanding operators
Some of the mathematical operators that can be used to create formulae include:
% Percent
^ Exponentiation
* and / Multiplication and division
+ and - Addition and subtraction (or negation when placed before a value
i.e. -1 )
& Text joining
= Equal
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
<> Not equal to
Table WExcel 3.1
It should be noted that the list is listed in order of priority starting with percent (highest
priority) and ending with comparisons (lowest priority) e.g. =. >, …., <>. If you want to alter
the order of priority, use parenthesis (brackets) to group expressions e.g. (i) 9 + 3/2 is equal
to 10.5 and not equal to 6, (ii) (9+3)/2 is equal to 6.
Selecting a cell
To select a cell:
20
1. Position the cursor over the cell.
2. Click the left mouse button once.
The cell will then become highlighted with a dark border, with the cell reference
number appearing in the upper left portion of the screen.
Select an entire row - Click the cursor in the row heading i.e. the numbers running down the
left-hand side of the worksheet.
Select an entire column - Click the cursor in the column heading i.e. the alphabetic letters on
the top of the worksheet.
Select all the cells within a worksheet - Click on the Select All button. The entire worksheet
will then become highlighted. See Figure WExcel 3.1.
Reference operators
There are three types of reference operators: Range, Union, and Intersection.
Range (Colon :)
Produces one reference to all the cells between and including the two references. See Figure
WExcel 3.3.
21
Figure WExcel 3.3
Union (Comma ,)
Produces one reference that includes the two references. See Figure WExcel 3.4.
Intersection (Space )
Produces one reference to cells common to the two references. See Figure WExcel 3.5.
Editing a formula
1. Click on the cell containing the formula. The formula will then appear in the formula
bar as illustrated in Figure WExcel 3.6.
Names make formulas easier to read, understand, and maintain. You can change or delete
names that have been defined previously and define a constant or computed value that you
intend to use later. Names appear in the reference area of the formula bar when you select
a named cell or an entire named range. In the example below, we will name the monthly
sales data in cells C3:E3 and name this range quarterly_profit.
22
1. Select the range you wish to name e.g. C5:E5
2. Right click on mouse and choose Define Name (see Figure WExcel 3.8).
3. Enter the name to be applied to the range e.g. quarterly_profit (see Figure WExcel
3.9).
23
Figure WExcel 3.9
4. Click on OK.
The name may then be used in a formula, instead of using the cell locations and is easier to
interpret and remember, e.g. SUM (quarterly_profit) instead of SUM ( C3:E3) as illustrated in
Figure WExcel 3.10.
Rather than retyping a formula in each of the adjacent cells it is much more convenient to
copy the formulas across.
1. Click inside the cell that contains the formula you wish to copy
2. Position the mouse cursor at the bottom left hand corner of the cell. The mouse
cursor will then change to a cross.
3. Hold the left-hand button on the mouse down and drag to where you want the
formula to be copied to. For example, the formula in Figure WExcel 3.12 has been
dragged two cells to the right.
24
Figure WExcel 3.12
The $ sign in a cell will tell Excel how to treat your references when copying the content of a
cell. To illustrate this concept, consider what happens to the following formulas in Cell C14
that are copied to D15:
This simple example illustrates the $ sign acts as an ‘anchor’ to fix the row number or
column letter. You will find when creating a spreadsheet solution (or model) that a term in
the equation can be constant. To illustrate this concept consider a example where you
would like to calculate price (p) based upon demand for a product (d) where the relationship
between price and demand is given by the equation p = 2d. We can see that no matter what
the value of p, or d, the number 2 does not change. The number 2 is fixed (or constant) and
in a spreadsheet this value would be fixed using the $ sign.
Consider solving this problem for price when the demand undergoes a unit change from 1 –
4. We can see from the equation in cell B2 that price=2*A2. When we copy the formula
down then the price is calculated for a demand change from 1, 2, 3, and 4.
This same problem can be solved by fixing the value of the number 2 in the spreadsheet (cell
C3). In this case the price in cell C7 is given by the formula price = C3*B7. When we copy the
formula down from C7 to C10 the price value is calculated for the demand change. We note
from the spreadsheet solution that the price in cell C8 is zero and not the correct value of 4.
25
Inspecting the equation in cell C8 we note that the formula is price = C4*B8. The B8
reference is correct but C4 is incorrect and should read C3, which represents the position of
the number 2.
To solve this problem, we fix the cell position of the number 2 and we achieve this using the
Excel $ sign. Therefore, in cell C7 we insert the correct price equation = $C$3*B7. The use of
$C$3 is to fix the value of the number 2. If we now copy the formula down from C7 to C10
we can now see that we have the correct values for price based upon changing demand
IF function
The IF function is very useful in solving numerical problems and enables the user to ask
questions of the type ‘Is this true or false’ and then undertake a particular action. The
technique can be illustrated by exploring the marks for two examination tests in which the
tutor would like to find out which students obtained a higher mark for test 1 compared to
test 2 (Table WExcel 3.1).
26
This problem can be solved by using the IF function.
Excel solution
=IF(condition, value_if_true, value_if_false)
To solve this problem, we insert the data into Excel (Figure WExcel 1.50). Test 1 (C4:C7) and
Test 2 (D4:D7). In cell E4, insert =IF(C4 > D4, “Larger”, “Smaller”). This will place the text
‘Smaller’ in cell E4 (46 < 56).
Now complete for the other three students by copying the formula down from cell E4 to E7.
Interpretation
Two students (B and D) obtained higher marks for test 1 compared to test 2.
To add the demand values together from the previous example we can make use of the
Excel AutoSum function.
1. Click in D9.
2. Click on the AutoSum button on the toolbar as illustrtaed in Figure WExcel 3.18
(Formulas > Autosum).
27
Figure WExcel 3.18
3. Say we choose the Sum option - the AutoSum ( ) suggests a range that is
to be summed, in this case D4:D8.
You can achieve this by using the Excel function SUM () e.g. total demand = SUM (B7:B10).
The use of Excel functions will be explored briefly in the next section and in detail
throughout the textbook and online workbooks.
What if analysis
28
What-if analysis in Microsoft Excel can be used to check what happens if you modify a value
in a formula. For example, what-if analysis can be used to modify a student module mark
given a recent change to the mark after external examiner comments, or, what would
happen to the profit/loss account if we modified a variable cost.
To illustrate this concept, consider the situation where a student would like to achieve an A
grade in an economics module. The student requires a minimum overall mark of 70% with
the module assessments consisting of three parts with individual weights: in course
assignment 1 (weight 25%), in course assignment 2 (weight 25%), and end examination
(weight 50%). The student has received the assignment marks and was awarded 66% and
72% respectively. What mark will the student need to obtain from the examination to
achieve an A grade? To solve this problem the student set up a simple Excel worksheet with
the two assignment marks included and the overall mark calculated from the stated formula
(value in cell E6 and formula in cell F6).
Click in cell D6 and enter a series of examination mark values, one at a time:
• Examination mark 90%. The effect of this change will be to ripple through the
worksheet formulae. In this case, the overall mark is now 79.5%. In this case the
student would achieve an A grade (>70%) but the student would have to obtain
more marks in the examination (90%) than is required to achieve an A grade (70% +).
• Examination mark 70%. This would achieve an overall mark of 69.5%, or 70%, if the
examination board rules allow for rounding up to 70%. If we are in doubt, we could
modify the examination mark to 71%.
• Examination mark 71%. This would achieve the required overall mark of 70% and the
student would achieve an A grade.
Insert function
Excel provides the user with a range of built in functions which will allow a range of
statistical techniques to be applied to a data set. A range of functions will be employed in
later chapters but for the time being we will be content with being able to call the function,
Select Formula > Select Function.
29
Figure WExcel 3.23
A list of the Microsoft Excel functions can be found at the end of this document or go to the
Microsoft Excel support web site at
Descriptive statistics
Descriptive statistics are those that describe the characteristics of the data. We will be looking at
mean, trimmed mean, standard deviation, median, maximum, minimum, skew and kurtosis.
30
chart extends further to the right of the mean than it does to the left, then the distribution has
positive skewness.
7. Kurtosis - is a measure of how ‘peaked’ a distribution is. The normal distribution has a kurtosis
value of zero and is sometimes referred to as being mesokurtic. A negative number indicates the
data is less peaked than the normal distribution, which is sometimes called a platykurtic. A
positive number indicates the data is more peaked than the normal distribution. The term
leptokurtic is sometimes used in this circumstance. There are different ways of calculating the
kurtosis statistic. If you are comparing your calculations to published values, try to ensure that
the same statistical formula is being used for both data sets.
Using a function
We will introduce specific functions in the other guides but the following example of applying the
AVERAGE function to calculate the mean age in the sample dataset in Figure WExcel 4.1 illustrates
their use:
Choose Average
31
Figure WExcel 4.3
Click OK
Click OK
32
Figure WExcel 4.5
Table WExcel 1.5 provides a list of all Excel functions that you may find helpful in solving business
statistics type problems. The Excel function includes a link to the Microsoft support web site for that
Excel function.
33
13 CHISQ.DIST Returns the cumulative beta probability density function
28 COUNTIF Counts the number of cells within a range that meet the
given criteria
29 COUNTIFS Counts the number of cells within a range that meet
multiple criteria
30 COVAR Returns covariance, the average of the products of paired
deviations
31 COVARIANCE.P Returns covariance, the average of the products of paired
deviations
32 COVARIANCE.S Returns the sample covariance, the average of the
products deviations for each data point pair in two data
sets
33 CRITBINOM Returns the smallest value for which the cumulative
binomial distribution is less than or equal to a criterion
value
34
34 DEVSQ Returns the sum of squares of deviations
35
56 HARMEAN Returns the harmonic mean
36
78 NORMDIST Returns the normal cumulative distribution
37
100 RANK Returns the rank of a number in a list of numbers
38
122 SUMIFS Adds the cells in a range that meet multiple criteria
39
144 VARP Calculates variance based on the entire population
The standard capabilities of Excel can be extended by using add-ins. Some of the add-ins are
produced by Microsoft, but there are also many other add-ins produced by other companies.
Select Excel Add-ins from the Manage box and click Go. This will access the Add-ins menu for
Analysis ToolPak as illustrated in Figure WExcel 4.2.
40
Figure WExcel 4.2
Select:
• Analysis ToolPak
• Solver Add-in
Click OK.
An extra command will now be available in Excel called Data Analysis that is accessible via Data >
Data Analysis.
Table WExcel 4.1 shows some of the functions available in the Data Analysis ToolPak
41
Function name Description
Anova: Single Factor Performs a one-way analysis of variance (ANOVA)
Correlation Creates a correlation matrix showing the Pearson correlation coefficient
(r) for each pair of variables of N cases selected
Descriptive statistics Calculates a range of univariate descriptive statistics, including
measures of central tendency, dispersion, skewness and kurtosis for a
variable
Histogram Generates a histogram for a range of data (this function also generates
a table of the data on which the histogram is based and can be used for
Pareto analysis)
t-Test: Paired Two- Performs a t-test to compare the means of a paired sample
Sample for Means
t-Test: Two-Sample Performs a t-test to compare the means of two independent samples,
Assuming Equal assuming equal variances
Variances
t-Test: Paired Two- Performs a t-test to compare the means of two independent samples,
Sample Assuming assuming unequal variances
Unequal Variances
Table WExcel 4.2
For example, let us calculate the descriptive statistics for the last example.
42
Select Descriptive Statistics
Click OK
Click OK
43
From the Excel solution illustrated in Figure WExcel 4.8, a range of summary statistics are provided,
including the mean value of 6. This agrees with the previous method.
A marketing research firm requires to test how effective a new version of a popular bottled water is
using a sample of 20 people, half of whom taste the old water and half who taste the new water.
The people in the study are then given a questionnaire which evaluates how enjoyable the water
was. Determine whether there is a significant difference between the perception of the new and old
water.
Based upon further information, the analysts decide to conduct a two independent sample t-test
assuming unequal variances.
1 = 2
1 ≠ 2
Undertake test
Choose:
44
Figure WExcel 4.9
Click OK
Input:
Click OK
45
From Figure WExcel 4.12
Mean 1 = 15.2
Variance 1 = 9.51
Mean 2 = 11.7
Variance 2 = 12.46
Number of observations n = 10
Degrees of freedom df = 9
Decision
Observe
The sample data collected suggests that the new bottled water is more highly rated compared to the
old bottled water. Remember this will be based upon the model assumptions (random sampling,
independent variables, population normally distributed, etc).
Summary
This workbook provided the reader with an introduction to the Microsoft Excel spreadsheet that will
be required to tackle the Excel topics described in the textbook.
46