Chapter 04 MSExcel Fundamentals IntroTo Computer Political Science
Chapter 04 MSExcel Fundamentals IntroTo Computer Political Science
Fundamentals
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
[email protected] Page 1 St. George’s Information Services
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
Microsoft Excel
NAVIGATING IN A FILE
F5 To a specific page
Appear at the right and on the bottom of the screen. You may click
Scroll bars
the scroll arrows, drag the scroll box or click the scroll bar to
move through the document.
Click in cell A3 to
make this the active
1 2
in
row 2 as shown
2
Try This Yourself:
Continue using the previous
file with this exercise...
3
and Press to enter the
examine what is happening on
formula and move to the next
the screen
cell
press
This is an alternative type of
formula known as a “function”.
Again a calculation will appear
in the cell…
Click in cell B8 and notice that
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
Open
File
Click on cell A4
6
row at a time…
1
Try This Yourself:
Before starting this exercise
you MUST open the file
Open
File
E1324 Worksheet
Techniques_1.xlsx…
Examine the
workbook – it currently
contains one worksheet
named Sheet1
Click on the New Sheet
icon 3
at the end of the worksheet
tabs
A new worksheet named Sheet2
will be inserted. You can
Press
also use+the keyboard
shortcut...
another
to insert
new worksheet
This sheet is named Sheet3 and 4
is inserted before the
currently selected sheet.
Now let’s delete a sheet...
Right-click on the Sheet3
worksheet tab to display the
shortcut menu
Select Delete to remove the
worksheet
As the worksheet contains no data,
the sheet will be deleted
immediately. If a worksheet 5
contains data, Excel will ask
you to confirm your actions...
Repeat steps 4 and 5 to
delete Sheet2
COPYING A WORKSHEET
Just as you can copy the contents of cells and have a budget workbook that contains data for
ranges within a worksheet, you can duplicate several departments, you can create a worksheet
worksheets within a workbook. This technique is for the first department and then copy it to create
ideal for replicating layouts. For example, if you identical worksheets for other departments.
1
Try This Yourself:
Continue using the previous
file with this exercise, or open
Same
File
Right-click on Sheet1
to display the worksheet
shortcut menu
Select Move or Copy to
2
display the Move or Copy
dialog box
of
the template worksheet – this
time without data
The
For finalReference…
Your worksheet should be Handy to Know…
named Sheet1 (5)
To copy a worksheet: You can copy the current worksheet using
1. Right-click on the worksheet to copy, then the HOME tab by clicking on Format in the
select Move or Copy Cells group, then clicking on Move or Copy
Sheet.
2. Click on Create a copy so it appears
ticked The Before sheet options in the Move or
Copy dialog box allow you to position the
3. Click on [OK]
copied worksheet where you want.
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
File
Sam
Techniques_2.xlsx...
across
to the right, to the end of
column L, then release the
mouse button
Double-click on Sheet1
5
(5) to
select the worksheet tab name
Repeat steps 3 and 4 to
This will also place
rename it intoworksheets:
the other edit
mode…
Sheet1 (4) Admin
Type Comms,
Sheet1 (3)
Sheet1 (2)
Shop
IT
then press
Sheet1 Maintenance
SELECTING ROWS
If you want to make changes to an entire row, row header to the left of the row. Remember that
such as bolding all of the headings in a row or any changes you make will apply to every cell in
changing the font of all the cell entries, you must the row all the way across to column XFD, so be
first select the row. This is done by clicking on the careful!
2
Try This Yourself:
Continue using the previous file
Same
File
Press
the active +cell to make cell A1
Click once on row heading 5 to
select the entire row
4
Click in cell B7and press
row 7
Hold down
to select this row and click 6
on the row header for row 10
All rows from 7 to 10 will be
selected…
SELECTING COLUMNS
If you want to make changes to an entire clicking on the column header directly above the
column, such as bolding all of the headings in a column. Remember that any changes you make
column or changing the font of all the cell entries, will apply to every cell in the column all the way
you must first select the column. This is done by down to row 1,048,576!
3
Press + to
make 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 4
This time the row headers change
to orange to indicate that at
least one cell (but not all) in
each row is selected…
Click in cell D6 and press
+
This key combination also
selects an entire column…
Hold down and click 6
Click on the column header for
on
column B to select it for
the column header
column D
This time, columns B, C, and D
are all selected…
1
Try This Yourself:
Before starting this exercise
Open
File
Click on the Copy command
on the Clipboard group on
the Home tab
Clickthen
on B14, hold down and
click on cells B19 and
B24
Release and
press
to paste equivalent functions
into the worksheet
CALCULATING AN AVERAGE
The AVERAGE function allows you to average average function can be applied using the
the values in a range of cells. It is written in much Functions Wizard, a part of Excel that steps you
the same way as the SUM function, for example, through the process of creating a function or you
=AVERAGE(range of cells to average). The can type it in yourself if you are comfortable with it.
1
Try This Yourself:
Continue using the previous file
Same
File
to roll up
the wizard, then hold down
and select the following
ranges
B6:B8
B11:B13
B16:B18 3
B21:B23
Press to complete
the range specifications, then
click on [OK] to complete the 5
process
group, then select Average
Let’s use the AutoSum
Click on B9, hold down
function…
click
Click on
the
onthen
B34, B14,click
B19on
and
and B24, then
press to complete the
formula
drop arrow for the
Sum
command
For Your Reference… Handy to Know…
on average
To insert an the Editing
function: You can type queries like “How do I work out
1. Click in the cell then click on the Insert the monthly payment for a car loan?” into the
Function tool Search box in the Insert Function dialog
box. Once you have selected a function from
2. Click on AVERAGE in Select a the Select a function list, the Function
function Arguments dialog box will help you to enter
3. Insert the required ranges then click on the values into the function.
[OK]
4
MIN
in Select a function then
click on [OK] to display the
Function Argumentsand
then hold down dialog
box
select the following ranges:
Click on the Range Selector
B6:B8 B16:B18
tool B11:B13 to roll up the
wizard, B21:B23
Press
to complete
range specifications, thenthe
6
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!
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.