Professional Documents
Culture Documents
Moving around
Personal Expenses Exercise
Changing cell widths by dragging
Changing cell widths automatically
Formulas with numbers
Formulas with Cell references
Inserting Cell References Automatically
Personal Expenses Exercise
The Sum Function
The AutoSum button
Personal Expenses 2 Exercise
Accessing other built-in Functions
Average Function.
Max and Min Function
If/Then Function.
The Count Functions
PMT Function
Groceries Exercise
International Academy Exercise
Cut and copy.
Click and Drag.
Dragging Exercise
Inserting a new Row
Deleting a row or Column.
Absolute and Relative Cell references
Personal Income Exercise
Berry Pickers Exercise
Centering across Columns
Word colour and Cell colours.
Vertical Adjustment within rows
Wrapping text within a cell.
Number Formats.
Deleting Rows and Columns
Car Expenses Exercise
Sorting
Garage Sale Exercise
Lookup Function
Harrys Bar Date and Time exercise
Minute
Now
Using Sheets
Extra Exercises
Run a macro from a button
Run a macro from a Toolbar
Charting
Georges Chocolate Sales Exercise
Create a custom number format
3
6
6
6
7
7
8
8
9
9
10
11
11
11
12
12
13
13
14
14
15
15
15
16
16
17
18
19
19
19
20
21
21
21
22
22
23
24
24
24
25
27
27
27
29
30
30
Page 2
Type in words, formulas or
numbers here
The
toolbars
Letters
count
the
Column
s
Number
s count
the Rows
Use the
scroll bars
to move
around
Click on a cell
to highlight it
Overview
A spreadsheet is similar to a giant table with the borders extending practically to
infinity. The spreadsheet that appears on your
screen will be similar to that below.
Moving around
1. Open up a new spreadsheet and click your cursor in the cell B2, as seen in the
following picture.
2. Note that the cell reference, (B2) is seen in the Left-hand corner.
3. Type 1 into the cell and press the Enter key
You can move around the spreadsheet by either clicking on the cell with your
mouse cursor, or, by using the arrow keys on the keyboard.
In the cells shown type in the information below
Numbers will
appear on the
Right hand side
of the cell
Page 3
This is a
Highlighted cell
Note that the text is on the left-hand side of the cell and the numbers are on the
right hand side of the cell.
Hold Left
button down
to copy
1. First click on the cell B2 where your 1 is, to place the box around the cell.
2. Click and hold your Left mouse button down on the drag handle in the bottom
right of the cell and drag across to H2, 1s will be copied across the
page.
3. Highlight the new cells that have been added (C2 to H2) and press
the Delete key on the keyboard to delete them out again. We should
be back to the 1,2,3 again from the first lesson.
here
drag
4. Practice using other number series. In C2 type 2 and in C3 type 7. Mark both
cells and drag down to C11.
5. What happens if you use 8 and 3?
6. What happens if you drag Up the page
Page 4
7. What happens if you drag Right or Left across the page?
Not only are numbers copied across cells but some words can be copied as well.
Type the words below and then pull them down the sheet using the drag handle.
Try also using Qtr 1, and 1st Group
Click
and
down
here
drag
Page 5
Changing cell widths automatically
The cell widths can be set automatically by double clicking on the lines between
the cells, in the same place as above. The columns then will increase or decrease
to fit the biggest entry.
+
/
*
%
=
Formulas
to add
It is important to note the order of the
to subtract
symbols when creating formulas.
to divide
Formulas are calculations created on the( )spreadsheets.
Brackets are
Formulas
the firstrange
priority
in
to multiply
complexity
(to make
from the
thiseasy
holdones
down
below
the to extremely
/
complicated
Division is next
formulas.
ShiftUse
keythe
andfollowing
press thebuttons
8)
to create mathematical
* symbols
Multiplication
in the spreadsheet:
to make a percentage (Shift and 5)
+
Addition and finally
to make equals
Subtraction is the last
priority
1
2
3
4
5
6
7
8
B
=(3+4)/5
=3+4/5
=3+(4/5)
=(3+4)*5
=3+4*5
=3+(4*5)
=(3-4)/5
=3-4/5
2.
Note how the differences in the answers depend on the order of the symbols
(You dont
Type in
here
5. Using the above steps type the formula =C2+D2/E2 into the cell F3
6. Using the above steps type the formula =C2+(D2/E2) into the cell F4
Page 7
Inserting Cell References Automatically
Instead of typing in C2 each time you want it in the formula try the following:
1. Click in cell F5
2. In the formula bar type =
3. Now point to cell C2 on the spreadsheet and click it once, notice that the cell
reference C2 will appear in the formula bar.
4. Click back in the formula bar and type +
5. Point to, and click on cell D2
6. Click back on the formula bar and type *
7. Point to, and click on the cell E2. You should have the formula
=C2+D2*E2
8. Click on the Tick to finish the formula,
9. Save the exercise with Your name Formulas
Page 8
Functions
A function is a pre set formula used by the spreadsheet to perform calculations.
The most common function used is the SUM function.
Page 9
Page 10
Accessing
other built-in
Functions
There are a number of methods that
can be used to insert functions into
your spreadsheet. In this section we
will examine some of the more
common methods whilst practicing
the new functions.
To select a function click on the
Function button on the toolbar
to open the Function window, and
then click on the function you want
to use.
The functions we will investigate should all be found under Most Recently Used,
however there are many more specialist functions available to use in the other
sections.
Average Function.
Imagine that you want to know the average amount of money you pay each month
for your total finance expenses.
The Average function can answer your question for you.
1. Using the exercise Personal Expenses 2, in Cell A12 type the heading
Average Expenses per month
2. Click In Cell A13 and click on the Function button to open the Function
window, and click on Average and OK.
3. The next screen asks for the range of the cells that you want to average.
Highlight the Total Finance row, without including the total in F11.
4. Click OK and note that the formula will be entered into A13 as you have
already given this cell the focus.
5. Click Finish. Note that the decimal points are not set. Format the answer as
Currency by clicking the $ Button on the tool bar
Page 11
Max and Min Function
Imagine that you also want to know the Maximum and Minimum amounts of
money you spend on expenses each month for your total finance expenses
1. Using the exercise Personal Expenses 2, in Cell A14 type the Heading
Maximum Expenses per month
2. Click In Cell A15 and using the Function window choose Max and click OK.
To find the minimum amount spent each month
1. In Cell A16 type the Heading Minimum Expenses per month
2. Click In Cell A17 and using the Function window choose Min and click OK.
If/Then Function.
Using this function you can set a one cell to show different values, such as words
or numbers, if another cell is true or false. The function uses three parts, If
something happens, Then do something, Otherwise do something else.
For example if the Total finance spent for six months is greater than 5351, you can
make a warning appear that reads Warning! Over Budget otherwise it would say
Under Budget.
This would be written as:
IF(G10>5351, Warning! Over Budget, OK, Under Budget)
If G10 is
greater than
5351
In English, the above function says if G10 is greater than 5351, then put Warning!
Over Budget, otherwise put OK, Under Budget. This function can be great fun
and is worth learning to use. So gather your courage and do the following:
1. Using
the
exercise
Personal Expenses 2,
click in A18 and using the
Function window choose
IF and click OK
Page 12
2. Type in the 3 fields as shown left, remembering to include the marks
around the words.
3. Click OK
Note that quote marks are only needed with text, if you replace the words with
numbers, there is no need to use the quote marks.
Change some cells to see if it works. Try the If statement using other words,
numbers and fields.
PMT Function
Excel has a built-in function for computing loan payments called PMT. The
different fields to complete are:
Rate the interest rate for the period in which
you're interested, divided by 12 months for
example one year at 10%, is 10% divided by 12
or .0083 for Rate.
Nper - the number of periods you have to pay.
(For example, if you get a four-year car loan and
make monthly payments, your loan has 4x12 (or
48) periods. You would enter 48 into the formula
for Nper.
Pv - the present value or amount of the loan, - how much the loan is taken out
for.
Fv - the future value of the loan (this will be 0 if you intend to pay the loan off),
Type and the type of payment to be made (this is 0 if your payments begin at the
end of the month you get the loan; 1 if the payments begin immediately when you
get the loan -- 0 is the most common option here).
An exercise using this function will come on another sheet.
Page 13
Groceries Exercise
Using the formulas we have covered above create and complete the Groceries
Bill shown left.
The formulas we will use are:
Sum, Max, Min, and Average.
Save with your name and Groceries.
Page 14
Using the formulas we have covered above create and complete the International
Academy spreadsheet shown below.
The formulas we will use are:
Sum, Max, Min, and Average.
Save with your name and Academy.
Moving
Data
Spreadsheet.
on
the
One of the necessary tools in using a spreadsheet is being able to move data
around your spreadsheet. The most obvious method is to delete out the data you
dont want in one place and type the new data into the place you want it. However
that method is long and tedious.
Page 15
Here are some more simpler and easier techniques for moving data
Dragging Exercise
On a new spreadsheet, create the table below anywhere. Using cut and paste, and
Drag, rearrange all the years in consecutive order from 1995 to 1999.
Page 16
Absolute
and
references
Relative
Cell
In some situations you will not want the cell reference to change when copying
formulas across cells.
Below is an example where multiplying the Gross wages by the Tax, gives the
Tax Paid. Here if you drag the formula from C7 to H7 the equation will not
operate, as the tax cell B4 will also change. To prevent the formula changing the
cell B4 must be locked into place to prevent it changing when the formula is
dragged.
Page 17
Use
AutoSu
m
1. Type in the Spreadsheet below onto a new page and save it as Your name
Personal Income
Use 14pt and
bold
It is important
that you
understand the
difference
between
Relative and
Absolute Cell
References
Page 18
Some cells in the I column in particular may change to look like #####. This
means that the numbers are too big for the cell, and they cannot be viewed in the
cell. To fix this click and hold your left mouse button down on the line between
the Column letters and drag the line to the right to widen the cell, or double click
on the cell border line.
Page 19
Berry Pickers Exercise
1. Create the spreadsheet below. Both are on one page.
2. Use a formula to calculate the hours.
3. Using an Absolute cell reference create a formula in B22 for Fred that
multiplies the Hourly pay rate by the Hours he worked on Monday (B6).
4. Copy the formula right across the page to G20.
5. Copy the range from
B20 to G20 down the
page to fill the
spreadsheet.
6. Use a formula to
calculate the Pay
received by each
person.
7. Check your answer is
the same as below and
save as Your Name
Berry Pickers
Page 20
Formatting Cells
There are many presentation techniques that can be used on your spreadsheet to
make it easy on the eye.
Some of these are the following, be sure to experiment with the techniques used
and investigate any others we have not covered in this section.
Type in the following spreadsheet outlining our clients car expenses and save as
Page 21
Page 22
Note that the heading is now centred within the row, and centred across the
selection of the columns.
Using the Font window in the same Format cells screen, make the font size of
the heading 14, and the font Times New Roman.
Page 23
Number Formats.
The numbers themselves can be formatted as
either, general, currency, percentage etc, using
the same Format Cells window.
1. Mark the cells C6 to G6 containing the
numbers. Open the Format Cells window,
click on the Number tab and then click
Currency.
2. Click in the Negative numbers in Red field
to show deficits in red. Note that you can set
the decimal places if wished (however they
are set correctly for currency already)
Mark the entire table and use the Border options in the Format Cells window
to set the double line around the table.
Page 25
Sorting
Sorting data on a sheet is very easy to do. Click on the first cell of the column
you want sorted and click on the Sort Ascending, or Sort Descending, buttons
on the toolbar.
Multiple columns can be sorted at once. Highlight the columns you want to sort
and then go: Data, from the Menu, and click on Sort. Choose the fields you want
sorted.
11.
Page 26
Lookup Function
Imagine you want to type a number or word into your spreadsheet and
immediately have a related number or word available.
Using Excel you can look up a table containing the information you want and call
down another value in that table.
For example:
George needs to know how many days there are in each month so he can calculate
his income as he works out his spreadsheet. To achieve this he has made two
columns containing the months of the year, and how many days in the month.
Do the following:
1. In cell A1 type in Jan and drag down until you have the first six
months.
2. In cell B1 type in the number of days for each month.
3.
Now for this function to operate you must sort the months
alphabetically so click on cell A1 and click the Sort button (The
first column must always be sorted). Note that the second column also
changes to stay the same as the first once they are sorted.
4. Below the Monthly table, create the spreadsheet shown
5. In B11 we are going to place the Look Up formula that will read the month
from B10 (Jan), then look up the table (A1:A6) and display the days
from (B1:B6).
6. Click in B11 and
find the Look Up
Function using the
Function Button.
7. Type in the values
shown in the three
windows. We are
going to look up
B10, read the
month in that cell,
then find the
month in the range
A1:A6. The day will be found in the range B1:B6.
8. Click OK if the Formula result = 31, otherwise check your input and correct.
Page 27
9. If you drag the formula from B11 to G11 the values will change as the cell
references are Relative. You must make them all Absolute except for B10 .
How will you do that?
10. Create the Daily Income fields as well and save as Look-Up exercise.
Page 28
Using Sheets
In Excel there are a number of sheets, like pages, that you can use at once. By
clicking on a Sheet Tab you can move between the sheets, and easily rename,
add, or delete sheets.
In this exercise we are going to use the sheets to create a multi-sheet expenses
book.
1. We need a total of 4 worksheets in our workbook, so to add another
sheet to the Workbook Right Click on a Sheet tab and choose Insert,
click on Worksheet, and click OK. A new sheet will be added called
Sheet 4. (Note that if you have an earlier version of Excel there will
already be sufficient sheets visible).
2. Then we must rename the sheets to be used. Click with your Right
Mouse button on Sheet1. Click on Rename and call the sheet Vehicle
Expenses.
3. Rename Sheet2 to Van 1, Sheet 3 to Van 2, and Sheet 4 to Car 1.
4. Reorder the sheets so Vehicle Expenses is first by Clicking
on the Vehicle Expenses tab and holding down the Left
Mouse button. Drag the Vehicle Expenses tab to the left to
move the tab.
5. On Car 1 sheet, create the spreadsheet below. Use a formula for Total, and
Cost per km.
6. Copy the spreadsheet to Van 1 and Van 2 sheets and change the numbers as
shown.
Car 1
Van 1
Van 2
over cells with characters in them. This is a good safety tool to prevent
accidentally erasing your data.
9. Now that you have 2 columns of data, go back to the C3 to C9 column and
delete out the data
10.
Press the Stop button, you have created your first macro.
11.
Return the Column E numbers back to Column C and press CTRL m to
run your macro.
Extra Exercises
Run the macro again to move the data to column E, and then create a second
macro, called Return to return the column back to the original position.
Using the Add operation under Paste Special, create a macro that adds the
numbers in column C to a new column in F. Each time you run this macro the
numbers in F will increase by the numbers in E.
3. In the Assign Macro window click on the macro you want the button to run, in
this case the Move macro and then click OK.
4. Resizing and moving the button is easiest if you click on the Select Objects
arrow on the Drawing toolbar before attempting to work with the button.
This will prevent you accidentally starting the macro.
5. With the Select Objects
button on, double click on the button to change
the Font, Format and Colour of the text.
6. Create a button for both the Move and the Return Macros and size them
together in a suitable place.
4. 4 Right-click the button, and then click Assign Macro on the shortcut
menu.
5. In the Macro name box, enter the name of the macro.
Once created the button can be edited to meet your needs. Use Change
Button Image to select another picture, or more creatively use Edit Button
Image to edit the picture on the button.
These features are available for any button whenever the
Customise window is open.
Page 32
Charting
One of the most important and enjoyable tools
in Excel is the charting tool. There are a
myriad variety of charts available, we will
practice making a simple chart then use more
advanced methods later.
1. Open the File Charting from S:Artfiles /
Computer Exercise / Excel.
2. The table below will be found under
Exercise 1 (If you dont have access to the
table type it in.)
3. Highlight the Arrivals and Departures
columns (B3 toC14) including both
headings
4.
11.
12.
Use a text box to make a place in the bottom right of your chart with your
name in it.
3. In the Category box, click a category, and then select a built-in format that
resembles the one you want.
4. In the Category box, click Custom.
5. In the Type box, edit the number format codes to create the format you want.
Editing a built-in format does not remove it.
Page 35