Excel Fundamentals Manual FPCSA0 22
Excel Fundamentals Manual FPCSA0 22
Excel
LECTURE WEEK 5
Microsoft Excel
Fundamentals
Contents
Understanding Workbooks ................................................................................................................................ 1
Navigating in a File ............................................................................................................................................ 2
Typing Text or Numbers Into A Worksheet ....................................................................................................... 3
Typing Simple Formulas In A Worksheet .......................................................................................................... 4
Filling A Series ................................................................................................................................................... 5
Inserting And Deleting Worksheets ................................................................................................................... 6
Copying A Worksheet ........................................................................................................................................ 7
Renaming A Worksheet ..................................................................................................................................... 8
Moving or Copying A Sheet To Another Workbook ........................................................................................... 9
Changing Worksheet Tab Colours .................................................................................................................. 10
Grouping Worksheets ...................................................................................................................................... 11
Freezing Rows And Columns .......................................................................................................................... 12
Selecting Ranges
..............................................................................................................................................................
13
Selecting Rows ................................................................................................................................................ 14
Selecting Columns ........................................................................................................................................... 15
Understanding Formatting
................................................................................................................................................. 16
Applying General Formatting ........................................................................................................................... 17
Changing Fonts ............................................................................................................................................... 18
Changing Font Size ......................................................................................................................................... 19
Understanding Borders .................................................................................................................................... 20
Applying A Border To A Range ....................................................................................................................... 21
Wrapping And Merging Text ............................................................................................................................ 22
PRACTICE EXERCISE .......................................................................................................................................... 23
PRACTICE EXERCISE .......................................................................................................................................... 24
PRACTICE EXERCISE .......................................................................................................................................... 25
Understanding Functions
.................................................................................................................................................. 26
LECTURE WEEK 5
Microsoft Excel
LECTURE WEEK 5
Microsoft Excel
LECTURE WEEK 5
Microsoft Excel
UNDERSTANDING WORKBOOKS
In Microsoft Excel the data you enter, whether it sheets) that have been ruled into columns and
consists of numbers, text, or formulas, is stored rows. Before using Excel it is helpful to know what in a file
known as a workbook. Workbooks are the various parts and elements that make up a just like huge
electronic books with pages (or workbook are.
5 6
A worksheet (or page) in a workbook contains 16,384 columns that are labelled using letters of
the alphabet. The first column in a worksheet is labelled column A, while the last is labelled
XFD
A worksheet (or page) in a workbook contains 1,048,576 rows that are labelled using numbers
from 1 to 1,048,576
Where a column and row intersect we get what is known as a cell. You enter your data into
these cells. Each cell in a worksheet can hold up to 32,767 characters – although it would
be unrealistic to ever push it this far. Cells are referred to by their column and row labels. For
example, in the screen above the cell we are pointing to is C11 – this reference is known as the cell
address and is most important as it is frequently used in commands and formulas
When you start typing something, you want it to appear somewhere in the worksheet. As a
consequence when the Status Bar shows Ready mode, at least one cell in the worksheet
will be highlighted – this is known as the active cell. In the screen above, the active cell is cell A1 –
notice that the column label and the row label also appears coloured to indicate the active cell. You can
have more than one active cell – when this occurs you have what is known as a range
A workbook (as you would expect) is made up of pages known as worksheets. You can have as
many sheets in a workbook as your computer resources can accommodate. As a default, a
new blank workbook normally has 3 worksheets labelled Sheet1, Sheet2, and Sheet3. Of course
these labels are pretty boring and meaningless and can be changed to something more relevant
The Insert Worksheet button here will insert another worksheet into the current workbook
should you need it
NAVIGATING IN A FILE
F5 To a specific page
Scroll bars Appear at the right and on the bottom of the screen. You may click
the scroll arrows, drag the scroll box or click the scroll bar to move
through the document.
For Your Reference… 2. Locate the storage folder in the type the
save a new documententer text: : required information Navigation
1.1. Click on the Click the cell pointer on the 2. panePr ss , an arrow key or
desiredFile Tab and select cSave Asell and to
To
2
Try This Yourself:
Continue using the previous
file with this exercise...
To
FILLING A SERIES
A series refers to a sequence of ordered entries reducing the amount of time taken for data entry,
in adjacent cells, such as the days of the week or and ensuring that the spelling is correct. Excel
months of the year. The fill technique can be provides days and months as special built-in series
used to create these in a worksheet for you, that you can access.
2
Try This Yourself:
Before starting this exercise
you MUST open the file E707
Filling_1.xlsx...
Click on cell A4
COPYING A WORKSHEET
To
RENAMING A WORKSHEET
By default, Excel names worksheets as Sheet1, makes it much easier to understand the purpose of
Sheet2, Sheet3, etc. These names are fine if you a worksheet. You can also adjust the horizontal
are not planning to share the workbook, but scroll bar to make room for longer, more
changing these to something more relevant meaningful worksheet names.
1
Try This Yourself:
Continue using the previous
file with this exercise, or open
the file E1324 Worksheet
Techniques_2.xlsx...
To
To
To make it easier for you to distinguish between financial years, departments or months. The active
worksheets, Excel enables you to change the sheet appears as underlined in a gradient version
colours of worksheet tabs. This allows you, for of the selected colour, while inactive tabs will
example, to quickly distinguish between different display a solid colour background.
2
Try This Yourself:
Continue using the previous
file with this exercise, or open
the file E1324 Worksheet
Techniques_7.xlsx.. .
GROUPING WORKSHEETS
To
Worksheet grouping enables you to make the example, if you want to format the heading f or
same change at once to all selected worksheets. multiple worksheets, you simply group the
This feature is useful in situations where your worksheets, make a change to one worksheet and
worksheets have identical layouts or text. For the other worksheets will reflect the change also.
1
Try This Yourself:
Continue using the previous
file with this exercise, or
open the file E1324
Worksheet
Techniques_8.xlsx...
2
Click on the Admin
worksheet tab, hold down
, then click on the Shop
worksheet tab to select the
first three worksheets
Click in cell A1 to select the
cell
Click on the HOME tab, then 3
click on Italics in the Font
group
This will italicise the text in
cell A1 on this and all other
worksheets in the group…
Click on the Maintenance
worksheet tab, then the
Shop worksheet tab to see 4
that the changes have been
applied here
Click on the IT worksheet
tab to see that the changes
have not been applied to
this worksheet
Since this was not part of
the grouped sheets the 5
changes have not been
applied here. Notice too that
clicking on a tab deselects
the previous grouping
To
To
To
To
SELECTING
RANGES
A contiguous range is any group of selected mouse, the keyboard or a combination of the two.
cells that form either a square or a rectangle. A Once selected, you can use the range for input, or
single cell that is selected is also considered to apply formatting, or copy the cells as required.
Handy to Know…
be a range. Ranges can be selected using the
To
To
SELECTING
ROWS
To
EXCEL
2
Try This Yourself:
Continue using the previous file
with this exercise, or open the file
E705 Ranges_1.xlsx...
EXCEL
SELECTING COLUMNS
Press + to make 3
cell A1 the active cell
Move the mouse pointer to the
column heading for column B
Notice that the mouse pointer
changes to a black arrow
pointing down the column …
Click once to select the column
This time the row headers
change to orange to indicate
that at least one cell (but not 4
all) in each row is selected…
Click in cell D6 and press
+
This key combination also
selects an entire column…
Click on the column header for
column B to select it
Hold down and click on the 6
column header for column D
This time, columns B, C, and D
are all selected…
Click in the column header for
column A, then hold down the
left mouse button and drag the
mouse pointer across the
column headings to column E
To
With the formatting removed from the numbers the worksheet looks as follows:
Formatting can also be applied as you type. For example, if you type 30/9/2020 Excel will place the
number 44104 in the cell but will format this number as a date and show it as you typed it. There are also
a range of number formatting options on the ribbon that allow you to apply formatting to numbers after
they have been entered into a worksheet.
To
CHANGING
FONTS
The appearance that you choose for your text is In Excel 2007, font just refers to the typeface or
referred to as the font or typeface. Font shape of the letters. Typical classic fonts include
traditionally refers to a combination of typeface, Times New Roman, Arial, Century Gothic and
style and size in points (e.g. Arial Bold 12 pt). Copperplate .
1
Try This Yourself:
Continue using the previous
file with this exercise, or open
the file E722 Font
Formatting_1.xls...
To
EXCEL
To
Border Variations
Borders can be applied to all four sides of a cell, or to individual sides of a cell. The following
examples show a cell without a border, with an outside border and a top and double bottom border.
To
PRACTICE EXERCISE
WRAPPING AND MERGING TEXT
Microsoft Excel will allow long cell entries to spill to place long text entries in a cell you can arrange
across to other adjacent cells to the right as long for Microsoft Excel to wrap the text within the cell
as those cells are empty. If those cells contain and also merge that cell with others to
data the spill-over will be chopped off. If you need accommodate the longer text entry.
1
Try This Yourself:
Before starting this exercise
you MUST open the file E723
Cell Alignment_9.xlsx...
Click in cell A5
This cell contains a long text 3
entry that spills across several
columns…
Click on the Expand Formula
Bar tool to the right of the
formula bar to see all of the
text
Click on the Wrap Text
command in the
Alignment group on the
Home tab to wrap the text in
cell A5
Notice how the row height has 5
now increased…
Hold down the key and
click in cell E5 to select the
range A5:E5
Click on the drop arrow
for Merge & Centre in the
Alignment group and select
Merge Cells to merge the cells
in the range
Move the mouse pointer to the
bottom of the row 5 heading
border and drag the row height
up until you reach 30 points
PRACTICE EXERCISE
Font Formatting
Tasks:
Before starting this exercise you MUST have completed all of the topics in
the chapter Font Formatting…
following page
Use Orange, Accent 2, Lighter 80% to fill the area behind the headings
Add the superscript 1 in cell H3 and in cell B27 with the following comment
1
Fee may be reduced as the result of Government Assistance
Formatting (Completed).xlsx
PRACTICE EXERCISE
Cell Alignment
Tasks: Completed:
Before starting this exercise you MUST have completed all of the topics in
the chapter Cell Alignment…
To
Number Formatting
Tasks: Completed:
Before starting this exercise you MUST have completed all of the topics in
the chapter Number Formatting…
PRACTICE EXERCISE
UNDERSTANDING FUNCTIONS
Imagine having to create a formula that time consuming to develop. This is the role of calculated the
monthly payments on a loan, or hundreds of arithmetic functions that have been the average of over 100
cells – these would pre-programmed in Excel for you. require complex or long formulas that would be
Functions Overview
Functions are simply pre-programmed formulas already provided for you in Excel which can
perform calculations covering a wide range of categories including statistics, date and time
arithmetic, financial calculations, lists, engineering, and more.
Just like normal formulas that you create, functions must start with an equal sign. The equal sign
is then followed by the name of the function (usually a descriptive name which indicates the purpose
of the function). Most functions also require additional information known as arguments which are
supplied to the function in brackets after the function name. Functions are therefore written as follows:
=name(arguments)
The arguments are quite often cell or range references that contain values that can be used in the
function. For example, the commonest function is the SUM function which, as its name suggests, is
used to sum or add values together. If you wanted to add all of the values in the cells from B10 to D15
you would write this function as:
=SUM(B10:D15)
As you can see this is much simpler than writing your own referential formula which would look like:
=B10+B11+B12+B13+B14+B15+D10+D11+D12+D13+D14+D15
Imagine writing and proofing a formula where you had to add 200 cells! Typing
Functions
If you are familiar with the function that you need you can type it into a cell exactly the same way you
type any other formula. If you are not sure if Excel has a function or you can’t quite remember how it
is
written you can use the Insert Function tool on the Formula Bar to assist you. When you click on
this tool the Insert Function dialog box will be presented to you which lists the most recently used
or common functions and also allows you to search for other functions that you might need.
The Insert Function dialog box will also type the function out for you and then provide you with a
further dialog box to guide you through the process of specifying the arguments that the function
needs to perform its calculation.
Microsoft Excel has some in-built messages that other formula cells that depend upon it. The
can assist you when something goes wrong with messages are always prefixed with a hash sign (#)
a formula. These messages appear in the cell and appear with a code. The more common error
that contains the formula, and sometimes also messages are listed below.
#DIV/0!
This message means you are trying to divide a value by
zero – this is mathematically impossible. In the example
at the left we are trying to find the average number of
persons per household. All is fine as long as there is a
value greater than zero in cell B3 (Houses). As soon as
we change this to a zero an error m essage appears in
the formula cell (B5).
To prevent the error you will need to enter a value
greater than zero into cell B3, the divisor cell.
#VALUE!
In this message Excel is advising that something in the
formula is not a value and therefore a calculation can’t be
made.
A close examination of the example at the left shows cell
B3 contains the word “three”. Therefore the formula in
cell B5 is trying to divide 192,664 (in cell B2) with a word,
which doesn’t make sense.
To fix the error, a value (a number) will need to be
entered in cell B3.
#NAME?
This message appears when text is found in a
formula that can’t be matched to either a
legitimate function or range name.
In the example to the left, the formula has been
entered as =SOME(B3:B7) – there is no such
function as SOME, and presumably the author
should have typed =SUM(B3:B7).
PRACTICE EXERCISE
Formulas And Functions
Tasks: Completed:
Before starting this exercise you MUST have completed all of the topics in
the chapter Formulas And Functions…
Open the workbook called PE_Formulas And Fu nctions.xlsx (it can be
found in the same folder as the student files)
Create a formula that calculates the gross pay for each employee, then use
a function to calculate the total of the gross pay
The total for Gross Pay should appear in E14...
Create a formula that calculates the tax as being 20% of the gross pay for
each employee, then create a total for the tax
Create a formula to calculate the net pay for each employee and then a
total of the net pay
Create a formula that calculates the superannuation as being 8% of the
gross pay for each employee, then create a total for superannuation
Use functions to determine the average, maximum and minimum values for
each column, setting the number of decimal places to 2
Your worksheet shou ld appear as shown on the following page...
Use the Save As command to save the workbook as PE_Formulas And
Functions (Completed).xlsx
UNDERSTANDING
QUICKANALYSIS
The Quick Analysis tools were developed in Live Preview with some of these tools to create
response to the fact that users weren’t using or the Quick Analysis tools.
even aware of the more powerful analytical tools
found in Excel. So Excel decided to combine
QUICK FORMATTING
The first tab in the Quick Analysis gallery is colouring it or presenting it in a slightly different
FORMATTING . This tab provides access to the way. In the Quick Analysis gallery you can apply
conditional formatting tools of Excel. These are data bars, colour high and low values, values over
the tools that allow you to analyse data by or below a value, and more.
2
Try This Yourself:
Before starting this
exercise you MUST open
the file E1355 Quick
Analysis_1.xlsx…
Click in cell B5, hold
down , then click in
cell E9 to select the range
B5:E9
Point to the bottom of the
selected range so that the
Quick Analysis button
appears, as shown, then
click on it to see the
Quick Analysis gallery
3
On the FORMATTING
tab, point to Data Bars to
see data bars
representing the size of
the selected values
Point to Colour Scale to
see colours used to
signify the scale of values
(from red for low to green
for high)
Point to Top 10% to see
the top 10% of values
Click on Greater Than to
see the Greater Than
dialog box
6
Type 200000 in Format
cells that are GREATER
THAN, then click in cell
A1 to see the changes
To
1.
QUICK CHARTING
Charts aren’t all that difficult to create in Excel, tools provide a way of seeing what the different
especially with the Recommended Charts charts will look like without having to first create the
feature. However, deciding what style and type of chart.
chart can be daunting. Fortunately the Charts
3
Try This Yourself:
Continue using the
previous file with this
exercise, or open the file
E1355 Quick
Analysis_2.xlsx...
To
1.
QUICK TOTALS
The TOTALS tab in the Quick Analysis gallery operations (e.g. AVERAGE instead of SUM) or use
has some useful tools and options to help you the options to create the totals and calculations in
build your worksheet. You can use the options to the first place.
analyse data and perform alternate arithmetic
3
Try This Yourself:
Before starting this
exercise you MUST
open the file E1355
Quick Analysis_3.xlsx…
Click in cell B5, hold
down , then click in
cell E9 to select the
range B5:E9
Click on the Quick
Analysis button, then
click on the TOTALS tab
to see the calculation
options for this range
Point to Vertical Sum to
see a preview of the
totals for each column 6
Point to Horizontal
Sum to see a preview of
the totals for each row
Point to the other
options and study the
results – do not click on
any at this stage
Click on Vertical Sum
to create column totals
7
Click on the Quick
Analysis button again,
click on the TOTALS
tab, then click on
Horizontal % to see the
percentages for each
day of the week
To
1.
QUICK SPARKLINES
Sparklines are mini charts that are embedded acceptance or understanding that Microsoft would
into a worksheet, usually immediately adjacent to like. So, you’ll now find them in the Quick Analysis
the data. Sparklines are only relatively new in tools where you can easily implement them without
Excel and probably haven’t gained the too much head scratching.
QUICK TABLES
In computer terminology a table is created when does have columns and rows of continuous data.
data is organised into rows and columns. You’d But it must also have headings which provide filter
think then that a worksheet would be a table – buttons. Creating a table is not hard, but it is much
but it is not in the Excel definition. In Excel a table easier using Quick Tables .
PRACTICE EXERCISE
The Quick Analysis Tools
Tasks: Completed:
Before starting this exercise you MUST have completed all of the topics in
the chapter The Quick Analysis Tools…
Open the workbook PE_Quick Analysis.xlsx (it can be found in the same
folder as the student files)
Use the Quick Analysis tools to apply a colour scale to the data in the
worksheet
Use the Quick Analysis tools to create a chart for the Overheads data.
This chart should be a clustered column chart that has the column
headings as the x axis, and displays the legend at the bottom of the chart.
Make the chart title Cost of Overheads.
Reposition the chart below the data
Use the Quick Analysis tools to create Sparklines for the Qtr1 to Qtr4
and Total columns for Overheads
Your worksheet should appear as shown on the following page…
Use the Save As command to save the workbook as PE_Quick Analysis
(Completed).xlsx
PRINTINGAWORKSHEET
Traditionally, printing means producing your over what and how much to print, as well as
document on paper, but in today’s Web and enabling you to select the printer to use. You can
online world it might mean printing to the Web or print one or multiple copies of a document, one or
to another file. Excel gives you a lot of control multiple pages and even collate copies.
1
Try This Yourself:
Continue using the previous
file with this exercise...
To
1.
2.
To To close a print a documentworkbook:: If you saveYou can also print a document directly, your
workbook using the close
command, the workbook will be closed without opening the Print dialog box. Click
1.1. Click on the Click on the File TabFile Tab and select Close without
the prompting message above.the arrow on the Quick Access toolbar,
2. Click on Print Click Excel allows you to have a number of Quick Print. This will send one copy
of the document directly to the printer.workbooks open at the same time. When you
close a workbook when others are still open
one of the others will then appear.
To
1.
2.
THECHARTINGPROCESS
Charts provide a way of seeing trends in the data any of the Insert commands in the Charts group
in your worksheet. The charting feature in Excel on the
is extremely flexible and powerful and allows you
to create a wide range of charts from
Inserting Charts
The first step when creating a chart is to select the data from the worksheet that you want to chart. It is
important to remember that the selected range (which can be either contiguous or non -contiguous),
should include headings (e.g. names of months, countries, departments, etc). These become labels
on the chart. Secondly, the selected range should not (normally) include totals as these are inserted
automatically when a chart is created.
The second step is to create a chart using the INSERT tab on the ribbon. You can choose a
Recommended Chart where Excel analyses the selected data and suggests several possible chart
layouts.
Alternatively you can create the chart yourself from scratch by choosing one of the Insert commands
in the Charts group. Charts that you create in Excel can be either embedded into a worksheet, or they
can exist on their own sheets, known as chart sheets.
Embedded Charts
Charts that appear within a
worksheet are known as
embedded charts. A chart is
really an object that sits on
top of the worksheet – unlike
numbers and letters, charts
are not actually placed into
worksheet cells.
Chart Sheets
If you want to keep your
chart separate from the data
you can move the chart to
its own sheet. Chart sheets
make it easier and more
convenient to work with your
chart because you’ll see
more of it on the screen –
since the data is not there!
To
1.
2.
A chart is far more effective at communicating communicate different types of information. Some
results, outcomes or trends than a table of figures charts show simple relationships between values,
displaying the same information. Different chart while others are designed for quite technical
types have been created to purposes. Here is a summary of the use of different
chart types.
USING A RECOMMENDED
CHART
If you are undecided about the best type of chart selected data and presents you with what it
for the data you have selected to graph, then you considers to be the best way to chart that data.
may wish to use Excel’s Recommended Charts Several alternatives are presented and you simply
feature. This feature analyses your choose the one you like most.
To
To
WORKING WITH AN
EMBEDDED CHART
To
To
3
Try This Yourself:
Continue using the
previous file with this
exercise, or open the
file E1317
Charting_3.xlsx...
To
To
2
Try This Yourself:
Continue using the
previous file with this
exercise, or open the
file E1317
Charting_4.xlsx...
To
To
1
Try This Yourself:
Before starting this
exercise you MUST
open the file E1317
Charting_5.xlsx…
Click on the FILE
tab, then click on
Print to see a
preview of the data
and the chart
Not all of the chart or
data may be visible
so we’ll change the
orientation to
landscape…
Click on Portrait
Orientation in
Settings then select
Landscape 2
Orientation
Click on [Print] to
print the chart
If you don’t have a
printer connected or
you don’t wish to
print, click on the
Back arrow to
display the workbook
again
To
To
2
Try This Yourself:
Continue using the
previous file with this
exercise, or open the file
E1317 Charting_6.xlsx...
To
TYPE
When you create a chart, you may not always of what each chart type is designed for and to
achieve the result that you desire. Fortunately, select the format that best suits your purpose. Just
the process for changing a chart type is quite be aware that some chart types are designed for
simple. You just need to have an understanding specialised applications.
3
Try This Yourself:
Continue using the
previous file with this
exercise, or open the
file E1317
Charting_7.xlsx...
To
EXCEL
For Your Reference… PageHandy
79 to Know… LECTURE WEEK 5
change the chart type: You can use Change Chart Type in the
1. Ensure the chart or chart sheet is selected Type group on the CHART TOOLS:
DESIGN tab for either embedded charts or
Microsoft Excel
LAYOUT
Excel has a gallery of chart layouts that can be
applied to an existing and selected chart that is
To
EXCEL
Page 80 LECTURE
WEEK 5
CHART
Handy to Know…
STYLE
The style of a chart refers to its colour scheme and effort. Excel also makes it easy to change
and overall appearance and can impact the chart styles if you decide the style you have chosen
clarity of the content of the chart. Choosing a is not appropriate.
predefined chart style can save valuable time
You can pri nt an embedded chart simply by simply ensure that the chart sheet is active, then
printing the worksheet as if it is a standard click on the FILE tab, click on Print, apply the print
worksheet. You can also print a chart sheet in settings as desired and click on [Print].
exactly the same way. To print a chart sheet, the
worksheet data. But the real benefit of inserting
3
Try This Yourself:
Continue using the
previous file with this
exercise, or open the
file E1317
Charting_11.xlsx...
87
Microsoft Excel
DELETING A CHART
If you no longer require a chart you can easily chart sheets you can delete the sheet by right
delete it. With embedded charts you must first clicking on the chart sheet tab and choosing the
select the chart in the worksheet and then press deletion option.
the key to delete the chart. With charts in
1
Try This Yourself:
Continue using the
previous file with this
exercise, or open the
file E1317
Charting_12.xlsx...
Click on Sheet 2 to
see the chart in the
worksheet, then click
on the chart to select it
Press to delete
the chart
PRACTICE EXERCISE
Creating Charts
Tasks: Completed:
Before starting this exercise you MUST have completed all of the topics in the
chapter Creating Charts…
Open the workbook called PE_Creating Charts.xlsx (it can be found in the
same folder as the student files)
Create a Clustered Column chart showing the sales of products for the months of January
through to June
Drag the chart down below the data and resize it so that it is the same
width as the data, keeping the proportions as far as possible
Change the chart type to 3-D Stacked Column and change the chart title
to Sales
The chart should appear as shown in sample A on the following page...
Create a Pie in 3-D chart of the products and their totals then place it on its own chart
sheet called Product Sales
91
A
92