Chapter 4 Electronic Spreadsheet
Chapter 4 Electronic Spreadsheet
Electronic
Spreadsheet
Introduction
In our daily life or at workplace we have to perform various
calculations. Various methods are used depending on
the nature of calculations. We use our fingers or mental
calculations to perform simple calculations and use
a calculator for longer calculations. In science and
engineering, scientific calculators are used to a perform
complex calculations. Spreadsheet application is tool
which is used to perform all kinds of calculations easily
and accurately.
In your childhood, you might have used a special
notebook with small cells marked with rows and columns
to practice mathematics. We have also learned the
multiplication table. Spreadsheet is a long sheet of rows
and columns on the computer screen to do data analysis
and calculation. In other words, a spreadsheet is a grid
which interactively manages and organises data in rows
and columns. It is also called as Electronic Spreadsheet.
It is used for managing financial and accounting
documents, creating data reports, generating invoices,
data analysis from scientific and statistical researches,
and for doing a variety of calculations on data.
Electronic Spreadsheet 99
Parts of
LibreOffice Calc
Figure 4.3 shows
the parts of
LibreOffice Calc. Fig. 4.2: Starting LibreOffice Calc in Ubuntu Linux
Let's Practice 1
Write the cell address of the following
• First row and first column ………..
• First column and last row ………...
• First row and last column ………..
• Last column first row ……..
• Seventh column and tenth row …….
• Tenth column and nineteenth row ……..
• The cell address LK89 is situated in row number
…. and column letter …..
(ii) Active cell in a worksheet: To enter data in the
cell, it should be selected first. Active cell in a
worksheet can be moved and selected by the
key or a combination of keys.
Let's Practice 2
Answer the questions
based on the following
worksheet.
1. What is the address of
the first cell represented
by Range1?
2. What is the address of
the last cell represented
by Range1?
3. Write the cell range represented by Range1.
4. Write the cell range represented by Range 2.
5. What is the name of the cell range along a row?
6. What is the name of the cell range along a column?
7. Write the cell range represented by Range 3.
8. Give the number of cells in the cell range
represented by Range 3.
Entering data
To enter any data in a worksheet, practically in the cell,
it is required to select the cell. Cell can be selected by
positioning the pointer in a cell. The data to be entered
can be the label, values or formula.
(a) Label: Label is the any text entered by
using a keyboard. It may combine with
letters, numbers, and special symbols. By
Fig. 4.8: Labels are left aligned and values are right aligned by default
Let's Practice 4
Create a worksheet based on the Figure 4.12. Observe
the changes in values obtained from the formula in
column D when you enter different values in cells A2,
B2 and C2.
Note: Formula starts with ‘=’ sign and nothing should
be written on the left side of the equal sign (‘=’). If you
forgot to put the ‘=’ before the formula, it will be treated
Fig. 4.13: Incorrect way of formula Fig. 4.14: Correct way of formula
Notebook 6 30
Pencil Box 1 50
Notebook Cover 20 3
Let's Practice 6
Create a worksheet as shown in Figure 4.17.
Change the values in cell B1 and observe the
results obtained from the formulae in the
cells B2, B3 and B4. Fig. 4.19: Finding area and volume of a cube
=AVERAGE (A1:C1) The average of cells in the range of cells from A1 to C1 5.66
=AVERAGE (A1:C1,B2) The average of cells in the range of cells from A1 to C1 6.33
and B2
=AVERAGE (B1:C2) The average of cells in the range of cells from B1 to C2 5.75
=AVERAGE (A1:A3,C1:C3) The average of cells in the range of cells from A1 to A3 6.16
and C1to C3
=MAX(A2:C2,B3) Finds out the largest value among the range of cells from A2 to 8
C2 and the cell B3
=MAX(A1:C1) Finds out the largest value among the range of cells from A1 7
to C1
=MAX(A1,B1:C2) Finds out the largest value among the range of cells from A1 to 7
B1 and the cell C2
=MIN(A2:C2,B3) Finds out the smallest value among the range of cells from A2 to 4
C2 and the cell B3
=MIN(A1:C1) Finds out the smallest value among the range of cells from A1 to 5
C1
=MIN(A1,B1:C2) Finds out the smallest value among the range of cells from B1 to 4
C2 and the cell A1
=COUNT(A1:C1) Counts the number of cells that contain numbers in the range 3
of cells from A1 to C1
=COUNT(A1:A4) Counts the number of cells that contain numbers in the range 3
of cells from A1 to A4
=COUNT(A1:C1,B2) Counts the number of cells that contain numbers in the range 4
of cells from A1 to C1 and B2
=COUNT(B1:C3) Counts the number of cells that contain numbers in the range 6
of cells from B1 to C3
=COUNT(A1:A3,C1:C3) Counts the number of cells that contain numbers in the range 6
of cells from A1 to A3 and the range of cells from C1 to C3
Figure 4.25.
• Select the range of cells
• Open the ‘format cells dialog’ box
• Click the Number tab
• Select Text
• Click ‘OK’
• Enter numbers
Let's Practice 7
A. Copy the formula using Fill Handle
1. Create the worksheet as shown in Figure 4.30.
Fig. 4.30 Activity sheet for fill handle Fig. 4.31 Result of fill Handle activity
Fig. 4.32: Activity sheet for formula dragging Fig. 4.33: Result of Activity sheet for formula dragging
Referencing
Referencing is the way to refer the formula or function
from one cell to the next cell along the row or column.
There are three types of referencing.
• Relative referencing
• Mixed referencing
• Absolute referencing
Till now we have used Relative referencing in the earlier
examples.
(a) Relative Referencing
When you drag any formula in any row or column in
any direction, the formula gets copied in the new cell
with the relative reference. Almost all spreadsheet
applications use relative referencing by default.
Fig. 4.34: Activity for using Relative reference Fig. 4.35: Use of Relative referencing
Let's Practice 8
A. Show the formula in cell used in Figure 4.35
for column Total and Average.
1. Prepare a worksheet as shown in Figure 4.36 to
calculate the Gross Salary of employees.
= B1^2-5*B1-3
3. Copy the formula entered in B2 upto
K2
4. Mark A1:A2 a data range
Figure 4.41: Column chart
5. Insert → Chart → XY Scatter
Let's Practice 9
A. Provide answers of the following, based on the
worksheet in Figure 4.43.
• Name the cell range consisting of number 12,
10, 19.
• Name the cell range
consisting of number
27, 20, 15, 22.
• Write the formula
in B8 using only cell
addresses to calculate
the total of the values
from B2 to B7. Fig. 4.43: Answers based on the worksheet
4. Cell D5 contains the formula =$B5 + C5 and this formula is question 2 1. open libre Office
copied to cell E5, what will be the copied formula in cell E5? calc
default name of the 2. Click on File.
worksheet is 5. Cell D5 contains the formula =$B5 + C$5 and this formula 3. Click on New.
Sheet1, Sheet2, is copied to cell E6, what will be the copied formula in cell 4. Click on Spreadsheet.
Sheet3, ….. We can E6? New spreadsheet will open
rename it by right
click on the Sheet
E. Short answer questions (50 words)
tab and click on
rename. Give new
1. What do you call the document created in a spreadsheet
name
application? the document created in a spreadsheet application is called a work book
Steps to insert worksheet
are : 2. What are the steps to create a new spreadsheet? Spreadsheet is a computer application which
3. What is the difference between spreadsheet, worksheet
Select Insert Sheet option helps in Tabulation of data Simple
from sheet menu. 2 mathematical calculations, Complex
and sheet?
Specify the position calculations using formula and function etc.
(Before or After current4. What is the default name of the worksheet? How can it be
sheet) and number of
sheets in Insert sheet
renamed? The worksheet in Calc is also referred to as
dialog box. 3Click OK
spreadsheet. The spreadsheet can have
Steps to delete the
5. Write the steps to insert and delete the worksheet in Calc. many sheets. Each sheet can have many
worksheet are : individual cells arranged in rows and columns.
6. What is an active cell? How to delete the contents of an The sheet tab shows its default name as
1.Right Click on a sheet active cell? Sheet1, Sheet2, Sheet3
tab which you want to
delete. 4Select Delete 7. What is relative and absolute cell address in the
Sheet option from the spreadsheet? Sheet menu: contains commands to insert
context menu. and delete cell, rows and columns, insert
8. Explain any two operations performed on data in a sheet, rename sheet, fill cell, etc
Click Yes on Confirmation
box. spreadsheet.
Practical Exercise
1. Explore in how may formats can you save the Calc
worksheet using the Save as option. Verify it by opening
in the software.
2. Open a Calc document, add seven sheets using Sheet tab,
colour them as rainbow color such as “Violet”, “Indigo,”
….etc. Make sure that “Indigo” sheet is recoloured with
indigo colour and so on.
3. Try auto-fill tool with negative numbers.
4. Try auto-fill tools with two dates. Write 15-08-2013 in a
cell and in its adjacent cells write a successive data. Drag
the content to next 10 cells. Using this technique try to
create a monthly calendar.
5. Add your name in to the dictionary so that the red line
will not be displayed under it.
6. Implement the example of the shopping bill discussed in
this chapter. Study any bill you get from a super store
and implement it in Calc.
7. Generate the Calc document with your in all your marks
six different subjects. Make total of the marks find out
average and percentages from the data.
8. Make a list as given below and sort the list according to
Class and then by names.
Value of X 2 4 6 8 10
Value of Y ? ? ? ? ?
January
February
March
April
May
June
July
August
September
October
November
December