MS Excel
MS Excel
MS Excel
SPREADSHEETs
Microsoft Excel
It is an electronic spreadsheet, with capability of tabulating data, simplifying numeric calculations and
presenting numeric data graphically.
Ms Excel also provides database management facilities whereby it has the capability to develop a database,
add records, edit records, and delete records.
It also provides facility to do statistical analysis of data.
Spreadsheet
It is a layout of rows and columns which is used to organize data that is predominantly numeric in tabular
manner.
A spreadsheet provides you with worksheet. A worksheet is a tool that is used for maintaining
predominantly numeric data in tabular form and further provides facilities to do calculations and generating
charts.
Applications of Spreadsheet Programs
Preparing payrolls - Calculating employees salaries i.e. gloss pay, allowances, deductions and the net pay.
Presenting students performance - to store students information e.g. marks, calculating total marks, average
marks and grading.
Creating and maintaining personal budget- tabulating monthly expenses and calculating total monthly
expenses.
Calculating mortage payments- to calculate the monthly repayment amount on a mortage loan.
Comparing student performance in form of charts.
Calculating profit and loss of businesses.
Preparing income tax statements among others
Other examples of spreadsheet programs
Ms Excel
Lotus 1-2-3
Symphony
Quarto pro
Multiplan
Visicalc
Supercal
Methods of loading/starting Ms Excel in windows
Use of All programs
Use of run
Use windows explorer.
Use of a desktop shortcut.
Use an existing file
SPREADSHEET-MS EXCEL
Name box
Row headers
Active sheet
Sheet tabs
Status bar
Task bar
SPREADSHEET-MS EXCEL
SPREADSHEET-MS EXCEL
SPREADSHEET-MS EXCEL
When you have finished working with Ms Excel you exit to close the program.
Ways of exiting Ms Excel:
i) Choose exit from the file menu or
ii) Click closing button on the top right corner of the screen or
iii) Press Alt + F4 simultaneously.
After selecting either of the options, Ms Excel is closed and taken to the desktop.
Opening an Existing Ms Excel File
To opening an existing Ms Excel file, use either of these options.
(a)-Open the program i.e Ms Excel
-From the Office button, select open.
-On the open dialog box, select the location where the file is found e.g. drive C, My Documents, or desktop.
-Use the scroll bar to locate the file.
-Click on the file icon when you locate it to select it.
SPREADSHEET-MS EXCEL
Click OK button.
Type the
size required
here.
(b) Position the mouse pointer at the right boundary of the column header so that the
shape changes to a cross.
- Double click the boundary. This will adjust the column width automatically so that the
widest data entry in the column just fits. This technique is called Best fit method.
-If the size is not enough when the mouse is on cross shape, drag the column border while
holding down the left mouse button until you have the desired column width.
Aligning Text:
Ms Excel treats every entry entered in the worksheet as either Label or Value.
Label
It is any entry that is alphanumeric i.e. A entry that is either made up of letters of the alphabet or a mixture of
both letters of alphabet and numerical data that cannot be manipulated mathmatically.
Also numeric data with spaces, slashes between them are regarded as a label in Ms excel entry.
NB: Ms Excel aligns label automatically to the left
Examples of Labels:
124AA, 343-43, CC456, ABASF, 343 890, 786/908.
Value
It is any entry that is Numeric.
All numeric entries are aligned automatically on the Right in the cell.
Examples of Values
8900, 102, -564, 78.890, -767, $890, 566%, Kshs 7845.
SPREADSHEET-MS EXCEL
For example you can change value alignment from right to center or left and the vice versa.
Inserts Row
Inserts column
Deleting a Column
To remove a column from the worksheet;
Click on the column to delete.
From ribbon, select delete tab
select delete sheet columns option.
Or Right click on select column and click delete
SPREADSHEET-MS EXCEL
Deleting a Row
Select the row to delete.
From the ribbon, select delete
Click delete rows
Or Right click on select row and click delete
SPREADSHEET-MS EXCEL
SPREADSHEET-MS EXCEL
Click OK button
NB: Repeat the above procedure to apply format for other items on Number category time, currency, fraction ,
percentages etc.
SPREADSHEET-MS EXCEL
Text Oriented
at 45 degrees
H.A left
V.A - Top
H.A Center
V.A - Bottom
H.A left
V.A -Center
H.A- Right
V.A -Bottom
SPREADSHEET-MS EXCEL
SPREADSHEET-MS EXCEL
CHAPTER 4
FORMULAS AND FUNCTIONS
Ms Excel enables you to work with formulas. It tells you how you want a particular value to be Computed.
Considerations to make before doing a calculation
Mentally figure out what to calculate.
Note the values in the worksheet that are required for the calculation.
Identify the cell addresses of the values required for calculation. E.g. B3, C7 etc.
Type the formula in the cell where you want the calculated value starting with equals signs(=) .Ms Excel
uses this sign to differentiate between a label or text and a formula.
Press Enter key.
Ms Excel immediately calculates and shows the results in the cell, while the formula is displayed on the formula
bar.
Examples; =B4/B5 but not B4/B5
=C3+C5+D3 but not C3+C5+D3
Formulas are user defined mathematical operations
Description
Addition
Subtraction
Example 1
C3=A2+A4
D5=E4-E2
Example 2
B1=B3+56
B6=B1-40
Example 3
C4=67+50
F2=89-45
SPREADSHEET-MS EXCEL
*
/
^
Multiplication
Division
Exponential
A4=G1*D3
B2=E1*56
D1=A2/B3
C2=B3/15
C2=(B1+B4)^2 B3=A3^2
D4=34*23
B2=60/17
C2=(56+34)^3
Functions:
Functions are inbuilt mathematical operations/formulas that replace complex lengthy calculations using
formulas. For example instead typing long formula =(B1+B2+B3+B4+B5), you simply type =SUM(B1:B5) on
destination cell.
NB: functions apply when you are calculating formula of a range i.e. when you are including all the cells
between a specific range e.g. From B1 to B5.
Examples of Functions
Function
Sum
Product
Average
Maximum
Minimum
Round
Use
Calculating totals
Calculating product of a number
Calculating average (mean) of a range.
Calculating highest value in a range
Calculating lowest value in a range
Rounds off numbers to a specified decimal places
Example
=Sum(A1:A7)
=Product(B2:C8)
=Average(C4:C9)
=Max(D3:F5)
=Min(B1:B6)
=Round(D4,1)
Staff
Name
Okello
Akinyo
Jennifer
Nickson
Paul
Hours
pay per
Amount Allowances
G ross
Tax (6%) Net pay Round
Worked Hour
Payable Given
Pay
off(0 D.p)
12
340
4080
300
4380
262.8
4117.2
4117
8
250
2000
120
2120
127.2
1992.8
1993
10
400
4000
500
4500
270
4230
4230
34
145
4930
340
5270
316.2
4953.8
4954
6
450
2700
500
3200
192
3008
3008
Totals
Average
Maximum
Minimum
70
14
34
6
1585
317
450
145
17710
3542
4930
2000
Function for:a)
b)
c)
d)
e)
f)
g)
=Sum(B3:B7)
=Average(B3:B7)
= Max( B3:B7)
= Min(B3:B7)
=B3*C3
=D3+E3
=6%*F3
1760
352
500
120
19470
3894
5270
2120
1168.2
233.64
316.2
127.2
18301.8
3660.36
4953.8
1992.8
18302
3660
4954
1993
SPREADSHEET-MS EXCEL
h) Net pay
i) Round off the net pay to 0 d.p.
=F3-G3
=Round(I3,0)
NB:The above calculation is for the first staff member i.e. Okello.
To calculate the payments for the other staff members, are supposed to copy the formula used to calculate the
payments for Okello. This avoids the repetition work of calculating payments for each staff member.
Below are the steps for copying a formula into the subsequent cells:
Click the cell with the formula.
Move the mouse pointer to the bottom left corner of the cell with formula until it changes to plus sign (+).
While holding the left button drag the cell down to cover all the cell range to copy the formula.
Release the mouse but when you reach the last cell and formula is automatically copied the other cells.
This type of copying is referred as Relative addressing. This is because Ms Excel adjusts the reference of the
formula to the subsequent cells. i.e. if the formula is copied to the next cell it given reference to that new cell.
E.g. formula copied from D3(C3*B3) to D4 will be (C4*B4).
Absolute Reference(addressing).
This is a type of copying a formula whereby the contents of a cell remain fixed even when it is copied down. In
this case if a formula refers to a particular cell and you would like to copy the subsequent entries refers to the
same particular cell. This is what is referred as absolute referencing.
To fix the a cell in formula, you use dollar sign ($).
Enter the first formula as usual only that;
Before the column reference insert the dollar sign.
Before the row reference insert the dollar sign.
The same formula after the absolute referencing will be appearing on the subsequent cells when the formula is
copied.
Example:
If the original formula for the first cell was Cell E4= $A$10*B4 then the subsequent Cells will be;
Cell E5 =$A$10*B5
Cell E6 =$A$10*B6
Cell E7 =$A$10*B7
Cell E8 =$A$10*B8
Cell E9 =$A$10*B9
NB: Content of cell A10 is the constant value which is being multiplied
refernces;B4, B5, B6, B7, B8 and B9.
Use of IF function
Returns one value if a condition you specify evaluates to TRUE and another value if it evaluates to FALSE.
Use IF to conduct conditional tests on values and formulas.
It is mostly used to apply remarks.
Remarks
Up to seven IF functions can be nested as value_if_true and value_if_false arguments to construct more
elaborate tests. See the following last example.
SPREADSHEET-MS EXCEL
When the value_if_true and value_if_false arguments are evaluated, IF returns the value returned by those
statements.
If any of the arguments to IF are arrays, every element of the array is evaluated when the IF statement is
carried out. If some of the value_if_true and value_if_false arguments are action-taking functions, all of the
actions are taken.
Examples
In the following example, if the value in cell A10 is 100, then logical_test is TRUE, and the total value for
the range B5:B15 is calculated. Otherwise, logical_test is FALSE, and empty text ("") is returned that blanks
the cell that contains the IF function.
IF(A10=100,SUM(B5:B15),"")
Suppose an expense worksheet contains in B2:B4 the following data for "Actual Expenses" for January,
February, and March: 1500, 500, 500. C2:C4 contains the following data for "Predicted Expenses" for the
same periods: 900, 900, 925.
You can write a formula to check whether you are over budget for a particular month, generating text for a
message with the following formulas:
Suppose you want to assign letter grades to numbers referenced by the name AverageScore. See the
following table.
If AverageScore is
Then return
Greater than 89
A
From 80 to 89
B
From 70 to 79
C
From 60 to 69
D
Less than 60
F
Assuming the cell reference was for the first entry was B2 then, You can use the following nested IF function:
=IF(B2>89,"A",IF(B2>79,"B",IF(B2>69,"C",IF(B2>59,"D","F"))))
In the preceding example, the second IF statement is also the value_if_false argument to the first IF statement.
Similarly, the third IF statement is the value_if_false argument to the second IF statement. For example, if the
first logical_test (B2>89) is TRUE, "A" is returned. If the first logical_test is FALSE, the second IF statement is
evaluated, and so on.
CHAPTER 5
WORKING WITH CHARTS
Definition of Chart
SPREADSHEET-MS EXCEL
It is a graphical representation of worksheet data. Chart converts data from the columns and rows on the
worksheet into a visual format that can be read at a glance.
Charts are linked to the worksheet data they are created from and are updated when you change the
worksheet data.
Types of Charts
Ms Excel supports different types of charts. The type of the chart to be created is determined by the kind of
the data to be plotted.
It is the best chart for comparison. You can compare two items against each other e.g. comparing the
performance of students on a certain subject, or comparing income from different departments in a
company.
column chart shows data changes over a period of time or illustrates comparisons among items.
Categories are organized horizontally, values vertically, to emphasize variation over time. Stacked
column charts show the relationship of individual items to the whole. The 3-D perspective column chart
compares data points along two axes.
SPREADSHEET-MS EXCEL
It is the most appropriate type of chart for showing a trend in data over equal intervals. e.g.
distribution of rainfall over a given period of time. It shows whether it is increasing or decreasing
across that period of time.
(d)
Area Chart
SPREADSHEET-MS EXCEL
(e)Doughnut Chart
(f) XY(Scatter)
SPREADSHEET-MS EXCEL
SPREADSHEET-MS EXCEL
SPREADSHEET-MS EXCEL
(g)
Surface Chart:
(h)
Chart Terminologies
a) Data marker;
Each column in the chart is a visual representation of a value from a worksheet.
b) Data series
Data series corresponds to the column or row of related values on a worksheet. Data series
column have the same colour or patterns. E.g a column for cost in a worksheet can be
regarded as a data series.
from on
(c) Axis
It is a reference line for the chart. Ms Excel plots a column along vertical and horizontal axes.
i) Y- Axis (Value Axis) :-It is the vertical axis of a chart along which numeric data or values are plotted. E.g.
Cost, % marks etc.
ii) X- Axis (Category Axis) :- It is the horizontal axis along which categories are plotted. E.g. Name of
customer, student name, month etc.
(d) Legend
This is acts like a key to the graph. It shows the range which have been used to plot the chart. This is very
important especially when the chart has more than one range.
In other words, legend is a box that identifies the patterns or colors assigned to the data series or categories
in a chart.
You can choose the placement of the legend . The default placement is right of the chart. Other placements
are top, left, bottom and corner.
(e) Data Label
SPREADSHEET-MS EXCEL
It is a label that provides additional information about a data marker, which represents a single data point or
value that originates from a worksheet cell. Data labels can be applied to a single data marker, an entire data
series, or all data markers in a chart. Depending on the chart type, data labels can show values, names of data
series or categories, percentages, or a combination of these.
By default the is no data label.
(g) Data Table
It is a grid in a chart that contains the numeric data used to create the chart. Each row in the data table
represents a data series. The data table usually is attached to the category axis of the chart and replaces the
tick-mark labels on the category axis.
By default there is no data table
(h) Plot Area
This is the area where data series are plotted/displayed on the chart.
(i) Chart Area
This is the whole area which is covered by the chart. All details of the chart are shown within the
chart area. E.g. chart title, legends, data series etc.
Creating a Chart
First identify the data you want to chart.
Highlight the range of the data to chart out.
From insert menu select Chart or click ChartWizard button on the tool bar.
SPREADSHEET-MS EXCEL
This presents you with Chart Wizard step 1 of 4. On this step select the Chart type to use and also the chart
sub-type Mostly the chart type is determined by the data you highlighted.
Click on Press and hold to view the sample button to see a preview of the chart you are creating.
Click on Next button to move to step 2 of 4.
On step 2 of 4, a sample of chart is displayed. Here you are also shown the data range you are creating chart
from. Also you are shown whether the series is in columns or rows.
If the appearance of the chart is not as you wanted, click cancel to go back to the worksheet otherwise click
Next button to move to step 3 of 4.
On step 3 of 4 specify all the options that you would like your chart to have. These includes;
-Titles:- Give the Name of the Chart Title, Name of X-axis and Name of Y-axis.
-Axes - Specify whether you want your chart to have either X-axis or Y-axis or not.
-Gridlines - Specify whether to have either or both major and minor gridlines on either of the axis. To
include them tick on the check box provided appropriately.
-Legend - Click on the check box to apply or deselect the checkbox to remove the legend. If the legend is
required, specify the placement - either top, bottom, left, right or corner of the chart by clicking on the
relevant checkbox.
-Data labels - Specify whether to show values, labels or none on the chart.
-Data Table - If you want a data table on the chart, select it on the checkbox.
After specifying all the options you want click on Next button to move to step 4 of 4.
On this step (step 4 of 4) specify the location of the chart i.e the worksheet to place the chart. Chart can be
place either;
a) As new sheet - Here the chart Wizard creates a new sheet with default name chart 1 where it
automatically places the chart.
b) As an object in sheet 1 - This is the default option. On this option, the Chart Wizard chooses the
location of the chart to be the current worksheet. However you can choose another worksheet by
clicking on the arrow at the end of option As an object on this sheet.
SPREADSHEET-MS EXCEL
Click Finish button after selecting the chart location and the chart is inserted.
Creating a Chart from Non-Adjacent selections
To create a chart from non-adjacent selections;
Select the first group of cells that contain the data you want to include.
While holding down CTRL, select any additional cell groups you want to include.
NB:T he non-adjacent selections must form a rectangle.
Click Chart Wizard .
Follow the instructions in the Chart Wizard to continue generating the chart.
Highlight the data series by clicking any of them and the rest will be selected.
From format -select data series.
Click on parttern tab.
Click on the colour desired.
Click on the pattern required.
Select the borders style required.
Click OK button.
SPREADSHEET-MS EXCEL
Printing A chart
This is important when a hard copy of the chart is required. A chart can be printed alone or together with the
worksheet. To print the chart alone;
Click anywhere on the chart area to highlight.
From the file menu select print.
On "Print what" option, select "Selected Chart".
Click OK.
Procedure of sorting
SPREADSHEET-MS EXCEL
Repeat steps 2 through 4 if needed, using the next most important columns.
NB: Where more than two sort orders are applied, the first criteria is given priority first then the second one.
Filtering
It enables one to locate a record in a large database(sieving a large volume of data using a criteria). This avoids
moving around the whole database to find only one record.
There are two types of filtering.
a) Autofilter
b) Advanced filter
Use of AutoFilter
Procedure
Click anywhere on the database.
Form the Data menu, select filter, then AutoFilter. AutoFilter Arrows appears.
Select the appropriate filter arrows depending on the column that you want to filter. For instance if you if
you want to filter the student names, use the filter arrow pointing down adjacent the name Student .
Choose the name you want. You will be shown only the details of the record you selected.
NB: To display all the records again, select the option Show All on that specific column.
SPREADSHEET-MS EXCEL
Before Autofiltering
After Autofiltering
Combining criteria
Sometimes you can use more than one filter criteria i.e. filter data using than one column header.
Procedure
Click on the database.
Form the Data menu, select the filter the AutoFilter.
Select the first filter criteria.
When the first filter criteria is still on, move to the next criteria to apply.
NB You can filter the required records and copy them to another location or another sheet before showing all
the records.
After copying the filtered records you can show all the records.
SPREADSHEET-MS EXCEL
Customizing AutoFilter
You can expand the AutoFilter criteria to get more filtering condition to apply on the column you are
filtering.
To do this;
i) Select custom option on the column you are filtering.
ii) Select the criteria to use. E.g. equals to, greater than. etc.
ii) Click OK to apply the criteria.
AutoFilter to show only those records of students who scored more than 65% in Ms Word.
SPREADSHEET-MS EXCEL
Your worksheet should have at least three blank rows that can be used as a criteria range above the list. The list
must have column labels.
Copy the column labels from the list for the columns that contain the values you want to filter.
Paste the column labels in the first blank row of the criteria range.
In the rows below the criteria labels, type the criteria you want to match. Make sure there is at least one
blank row between the criteria values and the list.
Click a cell in the list.
On the Data menu, point to Filter, and then click Advanced Filter.
To filter the list by hiding rows that don't match your criteria, click Filter the list, in-place.
To filter the list by copying rows that match your criteria to another area of the worksheet, click Copy to
another location, click in the Copy to box, and then click the upper-left corner of the paste area.
In the Criteria range box, enter the reference for the criteria range, including the criteria labels.
To move the Advanced Filter dialog box out of the way temporarily while you select the criteria range, click
Collapse Dialog .
After specifying all that you want click OK button to apply the advanced filter criteria.
SPREADSHEET-MS EXCEL
Notes
1. Fields that contain formulas display the results of the formula as a label. The label cannot be
changed in the data form.
2. If you add a record that contains a formula, the formula is not calculated until you press ENTER or
click Close to add the record.
3. While you are adding a record, you can undo changes if you click Restore before you press ENTER
or click Close to add the record.
4. Microsoft Excel adds the record when you move to another record or close the data form.
SPREADSHEET-MS EXCEL
To move through records one at a time, use the scroll bar arrows in the dialog box. To move through 10
records at a time, click the scroll bar between the arrows.
To move to the next record in the list, click Find Next. To move to the previous record in the list, click Find
Prev.
To set search conditions, or comparison criteria;
click Criteria.
Enter the criteria into the data form.
To find records that match the criteria, click Find Next or Find Prev.
SPREADSHEET-MS EXCEL
To return to the data form without searching for records based on the criteria you specified, click Form. For
CHAPTER 7
WORKING MACROS
Macro
Definition
A macro is a series of commands and functions that are stored in a Visual Basic module and can be run
whenever you need to perform the task. It is used to do those tasks that you perform repeatedly in Microsoft
Excel, whereby can automate the task with a macro.
It saves time in that you make just one document then you run to get the others when necessary.
It ensures the originality of the document is maintained.
Application of Macros
Macro can be used to produce standard documents like:
Student Admission form.
Receipt Copies.
Certificates.
Any other Standard document whereby the structure is the same only ones particulars will be entered.
You record a macro just as you record music with a tape recorder. You then run the macro to repeat, or "play
back," the commands.
NB: Before you record or write a macro, plan the steps and commands you want the macro to perform. If you
make a mistake when you record the macro, corrections you make will also be recorded. Each time you record a
macro, the macro is stored in a new module attached to a workbook.
SPREADSHEET-MS EXCEL
With the Visual Basic Editor, you can edit macros, copy macros from one module to another, copy macros
between different workbooks, rename the modules that store the macros, or rename the macros.
On the View menu, point to Macro, and then click Record Macro.
In the Macro name box, enter a name for the macro.
The first character of the macro name must be a letter.
To run the macro by pressing a keyboard shortcut key, enter a letter in the Shortcut key box. You can use
CTRL+ letter (for lowercase letters) or CTRL+SHIFT+ letter (for uppercase letters), where letter is any letter
key on the keyboard. The shortcut key letter you use cannot be a number or special character. The shortcut
key will override any default Microsoft Excel shortcut keys while the workbook that contains the macro is
open.
In the Store macro in box, click the location where you want to store the macro.
If you want a macro to be available whenever you use Microsoft Excel, store the macro in the Personal
Macro Workbook in the XLStart folder.
To include a description of the macro, type the description in the Description box.
Click OK.
If you select cells while running a macro, the macro will select the same cells regardless of which cell is first
selected because it records absolute cell references. If you want a macro to select cells regardless of the position
of the active cell when you run the macro, set the macro recorder to record relative cell references. On the Stop
Recording toolbar, click Relative Reference . Microsoft Excel will continue to record macros with relative
references until you quit Microsoft Excel or until you click Relative Reference again.
Carry out the actions you want to record.
On the Stop Recording toolbar, click Stop Recording when you are through.
SPREADSHEET-MS EXCEL
Click Run.
Note To interrupt a macro before it completes its actions, press ESC.
Editing a macro
This involves making changes on the macro you have already recorded.
Steps
On the View menu, point to Macro, and then click Macros.
In the Macro name box, enter the name of the macro.
Click Edit.
Make the changes then click OK
CHAPTER 8
ORGANIZING WORKSHEET WORK FOR PRINTING
Page Setup
This includes adjusting margins, setting page orientation, Paper size, for quality output after printing.
Page setup ensures that no part of the worksheet data is outside the printable areas. Also it ensures that only
the required size of margins is left on all sides of the worksheet.
Setting Margins
To set page margins for one sheet, click the page layout tab.
To set page margins for more than one sheet, select the sheets.
Select the margins from the samples provided or click on custom marginsvfor Top, Bottom, Left, and Right
boxes, enter the margin size you want.
These settings should be larger than the minimum margins required by your printer.
NB: To see how the page margins will affect the printed document, click Print Preview before the document is
printed. To adjust the margins in print preview, click Margins, and then drag the handles.
SPREADSHEET-MS EXCEL
Page Breaks
These are automatic vertical and horizontal lines inserted in worksheet whereby the page to be printed is
larger than one page. They divides a worksheet into multiple pages for printing if the worksheet is too large
to fit onto one page.
These page breaks are based on the paper size, margin settings, and scaling options you set. You can change
which rows are printed on the page by inserting horizontal page breaks; you can insert vertical page breaks
to change which columns are printed on the page. In page break preview, you can move page breaks by
dragging them to a different location on the worksheet.
Click the heading for the row below the row where you want to insert the page break.
On the Insert menu, click Page Break.
Click the heading for the column to the right of the column where you want to insert the page break.
On the Insert menu, click Page Break.
SPREADSHEET-MS EXCEL
To remove a manual horizontal or vertical page break, right-click a cell below the horizontal page break or a
cell to the right of the vertical page break, and then click Remove Page Break on the shortcut menu.
To remove all manual page breaks, right-click any cell on the worksheet, and then click Reset All Page
Breaks on the shortcut menu.
SPREADSHEET-MS EXCEL
NB: To define the Footer click on Footer and repeat the same procedure as above.
Freezing Titles
The freezing of titles is applicable whereby the worksheet data grows larger such that you will be forced to
scroll horizontally and vertically in order to see the extreme parts of the worksheet data. Under this situation
it is important to freeze the titles so as to view them at the same time with what is on extreme end.
It is required to freeze columns along left of the worksheet or rows along the top of the worksheet or both in
so that when you scroll to a distant cell in the worksheet, the row or the column titles are still visible.
To freeze the panes/Titles;
Highlight the row or column or row next to the one to freeze. For instance a worksheet where titles are in
Row 1 highlight Row 2 or Column C highlight column D.
From View tab click Freeze panes. This automatically freezes the column or rows.
NB: To unfreeze the pane click on the View tab, then Unfreeze pane.
Printing A Worksheet
Print Preview window
Before you print a worksheet, click Print Preview to see how the sheet will look when you print it. The
status bar at the bottom of the screen shows the current page number and the total number of pages in the
selected sheet.
To preview a specific range of pages, click Print preview from the office button..
The way pages appear in the preview window depends upon the available fonts, the resolution of the printer,
and the available colors.
SPREADSHEET-MS EXCEL
If a worksheet contains an embedded chart, print preview displays both the worksheet and the chart. You can
move or resize the chart in normal view or page break preview. If you select an embedded chart before you
click Print Preview, Microsoft Excel displays only the embedded chart.
Printing
This is process of getting a hard copy of the worksheet work. This is done by use of printer.
Steps
Office button, select print .
Print window appears.
On this window, specify,
-Print page (either All pages, or specific pages)
-Print what (selection from a worksheet, Entire workbook, or Active sheet [s]).
-Number of copies (how many copies to be printed per page).
Click OK to print.
Renaming Worksheet
SPREADSHEET-MS EXCEL
Hiding a worksheet
Right Click on sheet tab to hide.
Then select hide.
Unhiding a worksheet
Deleting a worksheet
Select the worksheet and select delete sheet.
From the form that appears select contents tab. It displays a list of all topics.
Select the topic you want then display.
Read the details and follow instructions.
You can print the topic for future reference.
CHAPTER 9
PRACTICE QUESTIONS AND EXAMINATION SAMPLE PAPERS
MS EXCEL FINAL EXAMINATION 2002 SAMPLE 1
INSTRUCTIONS
i.
Answer all the questions
ii.
Answer section 1 on the answer sheet provided.
iii.
Marks will be awarded on basis of logical answers and clarity.
SPREADSHEET-MS EXCEL
iv.
SECTION 1: THEORY
Question 1: 11 mks
(a) Define the following terms; 4mks
i. Spreadsheet
ii. Ms excel
(b) Give three examples of spreadsheet application programs. 3mks
(c) Discuss four areas where spreadsheet programs are applied. 4mks
Question 2: 10mks
Differentiate between the following terms;
(i)
Workbook and worksheet
(ii)
Cell and active cell
(iii)
Row header and column header
(iv)
Header and footer
Sorting and filtering
Question 3; 15mks
(a) Give five methods of loading Ms excel in windows.
(b) Name and discuss various parts of Ms Excel window.
Question 4: 10mks
(a) Any entry entered in Ms excel worksheet is treated as either a Label or Value. Differentiate between the
two terms.
(b) What is the default alignment of labels.
(c) What is the default alignment of value.
(d) Give three examples of each category.
(e) Give three types of alignment in Ms excel
Question 5; 16mks
(a) Define a chart.
(b) Give examples of charts.
(c) Give three examples of using charts in Ms excel
(d) Give an important consideration to make before choosing a chart to use.
(e) Explain the meaning of the following chart terms.
i.
Plot area
ii.
Chart area
iii.
Data series
iv.
Table data
v.
Axis
vi.
Gridlines
vii.
Legend
Question 6; 8mks
(a) Define a macro.
(b) Discuss the three advantages of using macros in Excel.
(c) Give three areas in Excel you can apply macros.
SPREADSHEET-MS EXCEL
SECTION B: PRACTICAL
Create the workheet shown below and answer all the questions that follows. (3mks)
Student
Mike
Gaterude
Wilfred
jackline
Lilian
Alex
Jane
Avarage
Total marks
Totals for
computer only
Totals for
Ladies only
Totals for
males only
Adm.Date
5/4/01
5/5/98
6/9/99
8/12/99
4/7/00
2/8/00
3/6/01
marks
Computers
60%
Sales
78%
H/Management 88%
Computers
45%
Sales
90%
H/Management 55%
Computes
52%
Course
Grade
Remarks
A
-Excellent
B
-Good
C
-Fair
D
-Poor
d) Insert a new column between Course and Marks for Codes. Using the relevant formula, apply codes as follows;
Computers
-CO
Sales
-SA
H/Management -HM
e) Format the worksheet data as follows; (10mks)
i. Title Bold ,size 20, font face-Comic San MS, color-Red
ii. Sub Titles Bold , size 15, font face- Impact, color blue
iii. All other records Italics, Centred across the cell, font face Tahoma, color Magenta.
Create a column chart as a New Sheet to compare student names against the marks.
On the chart show the following; (12mks)
(i)
Chart title
SPREADSHEET-MS EXCEL
(ii)
(iii)
(iv)
(v)
Both axis
Major gridlines on Y-axis
Values
Data table
(f) Using Advanced filter option, retrieve only those students who obtained 65% and above on
their relevant courses. Copy them below the main table. (6mks)
(g) Sort the worksheet data according to students marks starting with the student who scored the
highest mark. (3mks)
(h) Insert headers and footers on our worksheet as follows; (6mks)
Header Student Progress Record
Footer - Institute of Professionals
(i) Print all your work. (3mks)
(j) Save your work on My Documents folder. Us your fist name as the file name. (3mks)
CREATIVE EXERCISE 1
Sweet Bread ltd. is a small bakery, which has opened recently in the heart of Kagumi town.
They specialize in manufacturing bread and cakes. They normally produce four brands of items as listed below.
They have recorded their January sales units as follows:
White bread
318
Brown Bread
430
Round buns
428
Block cakes
370
They have made a projection that sales will grow by varying percentage every month as shown
White bread
Brown bread
Bound buns
Block cakes
10%
8%
13%
12.5%
Required;
1. Create a worksheet showing the unit sold up t the month of April using the given
January figures and growth percentages
2. Calculate the total units sold for each month and also for each products
3. Create a chart (Pie) below the worksheet showing the products and the totals. Give it a suitable title.
4. Create a chart (Column) as a new sheet showing all the products and their sales for the four months. Give it
appropriate titles.
5. Format all the figures with the comma sign and decrease all the decimals
6. Enhance the worksheet with the following features;
Title - bold, font size - 14, centered across the columns
Other titles - bold, aligned to the right
Totals - bold
Save your worksheet with the name Mkate tamu in the PMK folder.
SPREADSHEET-MS EXCEL
CREATIVE EXERCISE 2
Enter the data above using a data form.
NAME
Mary Anne
Francis Kihara
Lena Achieng
Helen Wanjiku
Mwangi Peter
Sospeter Ngeno
Arnold Maswai
Gerald Wanjau
Anditi Anna
Josephine Allot
Calara Mulwa
Martin Mato
Cyrus Okinyo
Pius Mwaniki
Rono Kirwa
Bett Korir
Caroline Makanga
Raymond Rashid
David Songo
Stephen Chege
Alice Ambundo
BASIC PAY
17,000
28,000
40,000
35,000
15,000
13,000
22,000
15,000
32,000
45,000
18,000
55,000
25,000
70,000
20,000
12,000
35,000
23,000
48,000
26,000
17,000
DEPARTMENT
Research
Research
Computer
Finance
Finance
Research
Computer
Computer
Finance
Computer
Research
Computer
Finance
Finance
Research
Computer
Computer
Finance
Computer
Research
Finance
AGE
26
33
35
23
17
27
26
33
22
50
20
70
37
55
22
23
26
38
31
35
23
STATUS
Single
Married
Married
Single
Single
Divorced
Married
Divorced
Single
Married
Married
Divorced
Single
Married
Single
Single
Married
Divorced
Married
Married
Single
1.
(a)
(b)
(c)
(d)
(e)
2.
(a)
(b)
(c)
3.
(a)
(b)
(c)
(d)
CREATIVE EXERCISE 3
Create and complete the simple workbook shown below
Save the workbook as SAKINA in you diskette
SPREADSHEET-MS EXCEL
VEHICLE
COST
PRICE
300
321
280
450
VAT
2.5%
X
X
X
X
SELLING
PRICE
X
X
X
X
PROFIT
X
X
X
X
X
TOYOTA
NISSAN
HONDA
HYUNDAI
Further instruction
The VAT is calculated as 2.5% of the cost price
Selling price is said to be more than the cost price at least by 42%
Determine the correct formulae for the profits
Make the heading bigger and BLUE in color
Add 3 more similar records of your choice complete with the correct calculations
Make the column headings bold
Course
Ms word
Ms Access
Windows 95
Ms Word
Ms Access
Windows 95
Test 1
56%
78%
88%
45%
69%
76%
Test 1
78%
89%
77%
60%
88%
43%
Test 3
90%
45%
66%
78%
56%
39%
Totals
Average
Maximum
SPREADSHEET-MS EXCEL
Jack
Ms Word
45%
78%
70%
Totals
Average
Minimum
Totals for
females
only
(a) Compute the following for every student;
i)
Total marks
ii)
Average mark
iii)
Maximum mark
(b) Calculate Totals, Average, and Minimum for Test 1, 2, and 3
(c) Calculate the totals for the female students alone for all the three tests.
(d) Insert a new column for Test Date between Course and Test 1. Enter dates of your own choice.
(e) Apply borders to your table with red colour.
(f) Format the content of the table as follows;
i)
Headings : Font face Tahoma, bold, Size 14, colour = violet
ii)
Other records font face Comic San MS , size 12, colour = blue
(g) Apply pattern to your table.
(h) Create a column chart as a New Sheet to compare the students against their total marks. On the chart
include;
i)
Chart Title
ii)
Both Axes Y and X
Enhance the appearance of your chart.
(i) Using AutoFilter option, retrieve only those students who attained 70% and above in Test 1 and copy them
below the main table.
(j) Save your workbook with file name Student Exams on diskette.
WEIGHT
PEACHES
100
34
25
25
167
WEIGHT
PLUMS
50
27
212
345
12
WEIGHT
ORANGES
0
25
0
0
29
TOTAL
WEIGHT
SPREADSHEET-MS EXCEL
85MAHID
226
0
50
56NORIMA
128
25
32
35PARTHA
0
0
0
29TRADESTRAH 290
0
0
Left-align the heading NAMES and the data in that column.
Put the other colunm headings on 2 rows. Right align these headings and the figures.
Adjust the column widths to fit the text.
Please use the SUM formula to calculate the TOTAL WEIGHT (kg) of fruit packed by each worker.
Format all the numbers as integer (0 decimal place).
Set up the spreadsheet ready for printing in portrait format and save using the filename FRUIT 1.
-I have just receive amendments to the sales figures for last week. Please amend the spreadsheet to show the
following:
Delete the row for PARTHA as he has left.
MAHID also packed plums- please insert 100 instead of 0 in the appropriate cell.
Please insert a row (after HALL) for the new member of staff, KINGSTON. His detail are:
NAMES
49KINGSTON
WEIGHT
PEACHES
120
WEIGHT
PLUMS
10
WEIGHT
ORANGES
29
TOTAL
WEIGHT
Please enter this data in the appropriate row and copy the formula for TOTAL WEIGHT.
I would prefer to have the employee names and their payroll numbers separately. Will you please insert 2
columns after the NAMES column and insert the headings EMPLOYEES, PAYROLL NUMBER. Enter the
information into the 2 columns (see the example started below).
EMPLOYEES
ALLEN
DION
Etc
PAYROLL
NUMBER
24
12
I would like the PAYROLL NUMBER heading and the numbers centered in the column please.
Now delete the NAME column.
Please set up the spreadsheet ready for printing in portrait format and save using the filename FRUIT 2.
I would like you to do a few more changes.
Add columns to the right of the spreadsheet , right-aligned and format them for currency in $ (0 decimal
places).
PENSION
GROSS PAY
Some workers are in the pension scheme. Their payments per week are:
Allen $20 Dion $15
Mahid $18 Tradestrah $25
All other workers pay $0. Put these figures into the table , including those paying $0.
SPREADSHEET-MS EXCEL
Calculate the GROSS PAY for each worker by multiplying the TOTAL WEIGHT by 1.2 and then subtracting
the PENSION payment (0 decimal places.)
Add a row at the bottom of the sheet and label it AVERAGE .Calculate the average for the 4 columns
containing weights only maintaining the format of the column (0 decimal places)
Add a tittle WEEKLY PRODUCTION FIGURES in bold capitals and a lager font above the spreadsheet.
Add shading to the column headings and a boarder and a lines to the full table (include the column headings
but not the title in the border.)
Please set up the spreadsheet ready for printing in landscape format and save the file as FRUIT 3.