Unit 2 Introduction to Spread Sheet in Ms word
Unit 2 Introduction to Spread Sheet in Ms word
BY
Muhumuza Onan(Bsc.Cs)
P a g e 1 | 20
GUIDE TO EXCEL
ELECTRONIC SPREADSHEETS
(Ms. EXCELL).
Throughout the ages, people have always wanted to calculate. Tools such as the
abacus were invented by the earl Chinese to help keep track of large numbers.
About thirty years ago, students only had pen, paper, slide rules and
mathematical tables to help them in their mathematical examinations. There
were no such things like calculators and certainly, no personal computer.
Or
Or
One can also say that it is a piece of software used to work out calculations.
A spread sheet can do a lot more than simply adding up a column of numbers
spread sheets can handle financial calculations for a large business, calculate
• Database - Enable the •user to perform functions such as sort, filter, subtotaling
and consolidation on worksheet data. A spreadsheet file can also be saved with
a
.dbf extension to make it accessible from other applications using a db engine
• Graphs - Visual representation of data on a chart.
• Easy management of large amount of data using data management features such
as sorting, filtering, data validation and subtotaling.
P a g e 3 | 20
GUIDE TO EXCEL
Features of a work sheet (Work book basic features)
Apart from the title bar, Menu bar, Standard toolbar and Status bar: found in
Word processing, Spreadsheets have the following additional features.
Worksheet tabs. These are located at the bottom of a spreadsheet. They show
the number of worksheets in the workbook. Note that one worksheet may have
several pages.
4. Searching and sorting: this gives the u, ability to search the worksheet
for any phrase, number or even other texts. It even makes the user scroll between
the search results.
5. Import and export: spreadsheets can be transferred onto and off the
mobile phone using a window explorer on the d. Spreadsheets can also be e-
mailed as attachments, from within the spreadsheet application.
A workbook window.
P a g e 4 | 20
GUIDE TO EXCEL
Figure 7
WORKING WITH WORK SHEETS.
When entering data item into the work sheet, the entry is displayed in the formula
bar before you move to another cell. To place the content to the selected cell,
press Enter key or an arrow key or click into another cell. Below are the three
main cell entries:
• Labels -alphanumeric characters or text that describes the content of a row
or column e.g. names.
To save a workbook:
• On the office button (File menu), click Save As. Alternatively click the Save
button on the standard toolbar.
• Select the storage location.
P a g e 5 | 20
GUIDE TO EXCEL
• Type the name of the workbook then click the Save button Saving window
3. Protecting a workbook
To protect a worksheet or workbook from unauthorized access or modification:
• On the Tools menu, point to Protection, and then select Sheet or Workbook.
• Click check boxes for protection options.
• Type a password, and then click OK.
4. Editing a Worksheet
• Double click the cell to place the insertion pointer in the cell and then type
or modify the entry.
P a g e 6 | 20
GUIDE TO EXCEL
To delete worksheet data:
• Position the pointer where the new row or column will appear.
• On the Insert menu, click Rows or Columns.
Figure 8
14. Formatting a Worksheet. Click any of the following tabs:
P a g e 8 | 20
GUIDE TO EXCEL
• Number to apply number formats such as general, currency, percentage
and custom.
• Alignment to align and rotate cell entries, merge and centre cells across
columns.
• Font to apply font type, style, size and color.
• Border to apply cell borders and outline.
• Pattern to apply background shading.
• •. Protection to lock cells and hide formulas. .
• Click the OK button to apply.
P a g e 9 | 20
GUIDE TO EXCEL
Figure 9
• Highlight a row or column on each side of the hidden rows or columns while
pressing the shift key.
• On Format menu, point to Row or Column, and then click Unhide.
P a g e 10 | 20
GUIDE TO EXCEL
division are evaluated from left to right while addition and subtraction are
evaluated last.
Summary of operators used to create formulae.
Table 8
Symbol Description Example
/ Division = A2/B2
* Multiplication =A2*B2
+ Addition =A2+B2
- Subtraction =B2-A2
b. Relational operators
Table 9.
= Equal to =A2=B2
2. Cell Referencing
There are three types of cell referencing used when creating formulae and
manipulating cell(s), content:
P a g e 11 | 20
GUIDE TO EXCEL
a. Relative referencing. When.‘ you copy a formula that contains cell references,
say A3, the references adjust to their new location. E.g. If C1 containing a
formula =A1+B1 is copied to C2, the reference changes to A2+B2.
b. Absolute referencing. The reference is4ikde to a specific address and does not
change even if the formula is copied to another cell. In Excel an absolute cell
reference is made by placing a dollar sign before the referencing. $A$2, i.e. if
the result in C1 is 170 if absolute reference is used, 170 will be copied to C2.
P a g e 12 | 20
GUIDE TO EXCEL
Figure 10
P a g e 13 | 20
GUIDE TO EXCEL
• AVERAGE () — Returns the arithmetic mean of its arguments. E.g., if A3,
B3 and C3 contains 20, 50 and 80 respectively, =AVERAGE (A3:C3)
returns75.
• COUNT ()- Counts the number of cells that contain numbers within a range.
E.g., =COUNT (A3:C3) returns 3.
• COUNTIF - Conditionally counts the number of cells within a range that
meets a given condition. E.g., if A3, B3, C3, D3 and E3 contains 20,50,80,60
and 45 respectively then =COUNTIF (A3:E3, ―>50) returns 2.
• MAX 0 - Returns the largest value in a set of values or within a range. E.g.,
=MAX (A3:E3) for the set values above returns 80.
• MIN () - Returns the least value in a set of values or within a range. E.g.,
=MIN (A3:E3) returns 20.
6. Using logical Functions
The commonly used statistical functions are:
80 - 100 A
60 - 79 B
40 - 59 C
Below 40 Fail,
• AND () - Returns true if all its arguments are true or false if any argument
is false. E.g., =AND (3+2=5, 2+2=4) returns true.
• OR () — Returns true if any of its arguments is true or false if both
arguments are false. E.g., =OR (3+2=7, 2+2=4) returns true.
• NOT ( ) — Negates the unary operand. E.g., =NOT (.3+2=5) returns false.
P a g e 14 | 20
GUIDE TO EXCEL
NB. It‘s important to note that this function is only applicable in Subsidiary ICT
(A ‗level) but not at O‘level. This is according to UNEB standards. But it is vital if
students at all levels understood how the function is applied.
The V in VLOOKUP stands for vertical. Use VLOOKUP instead of HLOOKUP when
your comparison values are located in a column to the left of the data that you
want to find.
Lookup value - The value to search in the first column of the table array. Lookup
value can be a value or a reference. If lookup_value is smaller than the smallest
value-in the first column of table_array, VLOOKUP returns the #N/A error value.
Range_lookup- A logical value that specifies whether you want VLOOKUP to find
an exact match or an approximate match:
P a g e 15 | 20
GUIDE TO EXCEL
i. If TRUE or omitted, an exact or approximate match is returned. If an
exact match is not found, the next largest value that is less than
lookup_value is returned.
The values in the first column of table_array must .be placed in ascending
sort order; otherwise, VLOOKUP may not give the correct value. For more
information, see Sort data.
ii. If FALSE, VLOOKLUP will only find an exact match. In this case, the
values in the first column of table_array do not need to be sorted. If there
are two or more values in the first column of table_array that match the
lookup_value,
the first value found is used. If an exact match is not found, the error value
#N/A is returned.
Remarks
✓ When searching text values in the first column of table_array, ensure that
the data in the first column of table_array does not have leading spaces,
trailing spaces, inconsistent use of straight (‗ or ‗) and curly (‗ or ―)
quotation marks, or nonprinting characters. In these cases, VLOOKUP
may give an incorrect or unexpected value. For more information
✓ When searching number or date values, ensure that the data in the first
✓ If range_lookup is FALSE and lookup_value is text, then you can use the
P a g e 16 | 20
GUIDE TO EXCEL
Some date and time functions include:
• NOW () - Returns the current date and time formatted as date and time. It
date. Ms Excel uses year 1900 serial number1. E.g., =DATE (107, 1, 4)
Data form allows the user to easily display and enter records into a worksheet
database. To display a form:
Data form allows the user to easily display and enter records into a worksheet
database. To display a form:
P a g e 17 | 20
GUIDE TO EXCEL
To sort a list:
• Select the range or click a cell in the list you want to sort.
• On the Data menu, click Sort.
• In the Sort by and Then by boxes, select the columns you want to use as
the sort fields.
• Select sort order either ascending or descending then click OK.
Figure 11
4 Filtering
P a g e 18 | 20
GUIDE TO EXCEL
• In At each change in box, select the field to use for grouping.
• In the Use function box, select a function you want to use.
• In the Add subtotal to box, check the columns that contain values you want
to subtotal.
Click OK.
6. Input validation
To ensure that a user does not enter invalid data, set the validation criteria.
An error message is displayed when data that violates this rule is entered.
To set data validation:
• Highlight the range of cells to validate.
• On the Data menu, click Validation.
• Click the Settings tab and select a validation criterion
• To display an input message when the cell is selected, click the Input
Message tab, type the message to be displayed and check ―Show input
message when cell is selected‖.
• Set the Error alert then click OK.
7. Creating charts and printing
A chart is a component of a spreadsheet program used to present data from a
worksheet in a way that provides instant visual impact. E.g. Column and bar
charts, pie chart, line graph, scatter diagram and area graph. To create a chart:
P a g e 19 | 20
GUIDE TO EXCEL
You may print an entire workbook, worksheet, chart or a selected range. To print
workbook content:
• On the File menu, click Print.
• Specify the print options in the dialog box, and then click OK.
Table 10
Error Message Description Solution
########### The column is not wide enough to Increase the column width or
accommodate the value or a negative shrink the contents to fit the
date or time is used e.g. = column. Avoid using negative
(2/4/2007) time or date value.
#DIV/0! Division by zero or using a blank or Change the cell reference one
cell e.g. = 45/0 that contains a value nonzero
in the cell.
#N/A The formula or function uses a name Make use of a valid argument
that Excel does not recognize or the correct type of value
#NAME? The formula or function uses a name Correct the spelling of the
that Excel does not recognize name.
#NUL! The formula references an invalid To refer to two areas that don‘t
intersection of cells intersect, use a comma (,) e.g.
= (SUM(A1:A10,C1:C10))
#NUM! Due to use of invalid numeric values Use numeric arguments in a
formula or function e.g. S
Enter 1000 not Ush 1000
#VALUE The formula or function uses Make sure that referenced cells
incorrect argument or operator by the formula contain values.
#REF! Due to invalid cell referencing as a Change the reference in the
result of deleting referenced cells. formulae, or restore the deleted
cells.
P a g e 20 | 20
GUIDE TO EXCEL