Icdl Module 4:: Spreadsheets
Icdl Module 4:: Spreadsheets
4: SPREADSHEETS
4.1 GETTING STARTED
4.1.1 FIRST STEPS WITH SPREADSHEETS
4.1.1.1 OPEN A SPREADSHEET APPLICATION
- Click on the START button
- Point to PROGRAMES
- Click on MICROSOFT EXCEL
CREATING A SPREADSHEET.
We are going to create a worksheet showing the sales and cost figures for the first three
months of the year for a particular company. We will then calculate the profit.
Type JAN
Press the right Arrow to move to cell C3
Type FEB
Press the Right Arrow key
Enter the rest of the text in following the same format and sequence. Your spreadsheet
should look like the example below.
A B C D E F G H
1
2
3 JAN FEB MAR TOTAL
4
5 INCOME
6 Account
7 Cash
1
8 Total
9 Lights
EDITING ENTRIES
When entries on the spreadsheet are incorrect, they can either be corrected or retyped or
edited. If only a simple change is required, it is often easier to edit, the entry while other
times it can be easier to type the whole entry again.
In our spreadsheet, the word INCOME should in fact be SALES. As this is a complete
change, it would be easier to retype the entry.
Move to cell a4
Type SALES
Press ENTER
2
If you have a long entry and you only wish to change one or two characters, it might be
easier to edit this entry opposed to retyping it all.
Looking at the spreadsheet again, the word COST should read COSTS. It would be easier
to edit the entry.
Move to cell A9
Press F2 - the edit key. The entry appears in the Control panel, with the cursor at the end
of the word
Type S
Press Enter - the edited entry now appears in cell A9.
When using edit, Excel will insert any characters in the cursor's position. As an example,
we will change COSTS to read COAST.
Move to cell A9
Press F2 - the edit key
Press Backspace
Press the left Arrow two times - to move the cursor between S and O.
Type ‘A’ and press the Enter key.
The delete will delete the cell in which the cursor is positioned.
Move to cell A9
Press F2 Edit key
Press left arrow three times
Press DELETE
Press ENTER
To type over existing characters, first press the INSERT key, then as you type existing
characters will be typed over by the new characters. For example, we will change COST
to COASTS.
Move to cell A9
Press F2
Move to S
Press INSERT Notice the OVR at the bottom of the screen for TYPEOVER.
NB once you have come out of the edit mode, Excel automatically returns to insert mode.
- Type the letters AST
- Press the ENTER key
- Type in the word COSTS
- Press the ENTER key
- On the menu bar, click the FILE option
- Click on SAVE
- Close your document (without closing the program)
3
EXERCISE 1
Create a spreadsheet like the one below and save it as SALES2 on your floppy disk
A B C D E F
1
2 NAME SURNAME DOB BOX CITY
3
4 EMILTAH MAPOSA 25/12/1997 1007 KWEKWE
5 FARIE MAPOSA 25/12/1997 1007 KWEKWE
6 LORRAINE SIGODO 01/01/2001 5524 ZHOMBE
7 GWENXANA CHIGUMBU 05/05/2002 1274 KADOMA
8 PHILISIWE RANGISI 15/12/1998 2778 HARARE
9
4
4.1.2 ADJUST BASIC SETTINGS
4.1.2.1 CHANGE SPREADSHEET VIEW MODE
- Click VIEW on the menu bar
- Click NORMAL, PAGE BREAK PREVIEW
- If any of the above option does not appear, then click the down arrow at the
bottom of the VIEW submenu
- These option changes the look of your template (white part of the screen)
There are several ways of accomplishing this task only two are going to be explained
here:
1. USING THE STANDARD BAR
- Click the down-arrow next to the box with a percentage
- A list of percentages appears, select a zoom percentage by clicking any one of
these percentages
Tool bars, e.g. Standard or formatting are bars made up of icons and displayed
horizontally at the top of the screen. Clicking on an icon is a quick way of accessing
commands available within your drop-down menu. To add toolbars;
- Click VIEW on the menu bar
- Point to TOOLBARS
- Click on the tool bar-name you want to activate and ensure it is ticked. To
deactivate, click on the tool bar-name until the tick disappears.
5
- Click on SAVE at the bottom-right of the screen.
Continue entering until your worksheet appears like the one below.
Notice how all the values line up to the right of their cells and the labels are aligned to the
left. This can be changed and we will do so later on.
6
A B C D E
1
2
3 JAN FEB MAR TOTAL
4 SALES
5 ACCOUNT 90.5 125 170
6 CASH 100 110.15 60
7 TOTAL
8
9 COSTS
10 LIGHTS 30.35 40 55.75
11 SALARIES 20 38.8 15
12 RENT 25
13 TOTAL
14
15 PROFIT
16
- There are a number of symbols one can insert here are a few of them ~ ! @ # $
%^&*( )_+|}{“:?><,./’;[ ]\=-`
- if the symbol you want is at the top of the button, then press down the SHIFT
key then while holding down this SHIFT key, hit the key with the option you
want.
- If the symbol to be inserted is at the bottom end of the button, then just hit the
key without holding down the SHIFT key.
7
- Enter the total for the rest of the worksheet
- Save your worksheet
4.2.3.1 USE THE COPY AND PASTE TOOL TO DUPLICATE CELL CONTENTS
IN ANOTHER PART OF A WORKSHEET.
COPY COMMAND
Looking at the spreadsheet, under the Rent heading you have a value of 25, which is
fixed cost for all three months. Rather than type the figure again, you can copy the
contents of a cell.
You can copy from one cell to another cell or from one cell to many cells.
First, we will copy from one cell to another. We will copy the 25 for January across to
February.
To copy from one cell to many cells, simply select multiple cells to copy to after
following the above procedure.
You can also use the Edit Menu to do the copy. Try the above using the EDIT option
(Menu bar).
Any entry, labels, values or formulas may be copied from cell to cell or cell(s) to many
cells.
EXERCISE
8
1. Move to cell C12
2. Use the copy command to copy 25 for February across to March
3. Save the spreadsheet correctly
4. Erase the spreadsheet from the screen
4.2.3.2 USE THE CUT AND PASTE TOOLS TO MOVE CELL CONTENTS
WITHIN WORKSHEETS.
Create the following table using the cell references as indicated in the table below.
A B C D E F G
1 NAME SURNAME AGE SEX COURSE
2 RATI TOGA 19 FEMALE WORD
3 NICKY TARUONA 21 MALE EXCEL
4 NOKIA MARS 24 MALE PUBLISHER
5
6
9
On the WITH box type in the replacement and click OK e.g we would like to replace the
name Rati in the worksheet above with Ratidzo. Click autocorrect on the tools menu.
Type in the name Rati in the Replace box and Ratidzo in the With box and click OK.
Excel will automatically change the name Rati to Ratidzo.
Select the column you wish to modify its width and click format on the menu bar. Point
to column and click autofit selection. To modify a row click format menu, point to rows
and click auto fit.
Click sort on the Data menu select ascending or descending and click OK.
10
You will notice that the value in cell B3 does not change. This is because we did not refer
to the 100 and 50 in cells B1 and B2. We must create a formula, which refers to cells, if
we want the answer to change when we change those cells.
For the next calculations we are need a total of the cost figures. As you are adding
together a number of values, rather than using the + sign between each reference, there is
better method.
Excel has ‘built in functions’ these formulas, which allows you to sum, that is, to add up
a range of cell.
The formula will look like this.
@SUM(RANGE)
The cell references, which make up the range, may either be in or use the cursor to point
to the cell references. The second method is recommended as it reduces the chance of
error and makes it easier to see exactly which cells you are summing.
EXERCISE
1. Use the copy command to copy the formula in cell B13 across to C13 and D13.
We now need to enter a formula to calculate the profit for January. The profit is equal to
the Total Sales less Total Costs.
11
Move to cell B15
Type +
Click in cell B7 Total Sales figure.
Type –
Click in the cell B13 Total Costs Figure
Press Enter
EXERCISE
A B C D E
1
2
3
4 JAN FEB MAR TOTAL
5 SALES 90.5 125 170 385.5
6 CASH 100 110.15 60 270.15
7 TOTAL 190.5 235.15 230 655.65
8
9 COSTS
10 LIGHTS 30.35 40 55.75 126.1
11 SALARIES 20 38.8 15 70.0
12 RENT 25 25 25 75.0
13 TOTAL 75 100.8 95.75 271.9
14
15 PROFIT 115.15 134.34 134.25 383.75
16
17
12
FORMAT CELLS
Click cell on the format menu and choose the style you want from the number tab.
A B C
1 NAME MODULE MARK
2 JOHN 1 90
3 PETER 6 70
4 MARY 5 85
5 RUDO 4 95
6 CHIPO 6 90
7 JAMES 7 50
8 WILLIAM 2 35
9 PATY 3 100
CREATING A GRAPH
To create a graph out of the data on your worksheet, click CHART WIZARD button from
the TOOLBAR to create a standard type graph or a custom type graph.
13
To restore the dialogue box,
Click restore dialogue.
If you want to end or finish creating there, then click finish tab, and your graph will be
displayed on the screen, otherwise click next to ad options.
Chart options
This is the third step when creating a graph in excel, where you need to put titles, specify
legends, data labels, and so on.
To label your X-AXIS and y-axis data ranges" click in the category (x) axis and (y) axis
respectively and type the labels.
LEGENDS
This option allows you to specify where you want your graph legends to be positioned.
Legends are sort of keys that identify each series on your graph.
GRIDLINES
You can also specify whether you want gridlines or not using this option. Click on the
gridlines option, then click in either category (x) axis or value (y) axis major or minor
gridlines and see the effect on your graph preview.
DATA LABELS
If you want your graph to show data labels as values, percentage, etc, you can use this
option, example: click Data label option, then click / select any of the options except none
and see the effect on your graph preview.
DATA TABLE
This option allows you to either show data table and/or legend keys besides your graph.
Click on data table option then select show data table and/ or show legend keys and
see the effect.
When you finish, click next and the chart location window will be displayed. You can then
specify where you want your graph to be located and how.
14
If you want your graph to be placed in your worksheet as on object, select as object in and
then specify the location (either sheet 1,2 etc, otherwise select as new sheet so that it will be
displayed alone as a chart.
Click finish when you have completed putting the options you want.
You can save your chart and do the printing if you require it.
Then specify the changes you want on the patterns or font tabs
You can adjust the rotation, elevation and perspective. By so doing, you can find the best
arrangement for clearly displaying the values and axis in a chart.
15
Changing the rotation and elevation
Click a corner, and then Drag.
(To see outlines of the markers while you drag, hold down control key)
Double- click a wall or the floor to make the formatting options. You can apply patterns,
Gradient fills, texture, and even pictures to the walls and floor.
For more formatting options, click 3-D view (chart menu)
16