SMCA2X2
SMCA2X2
2 SPREADSHEET
Spreadsheet is a large sheet comprising several Rows and Columns for data
manipulation. It is used to record, calculate and compare numerical or financial data. It is
an application software. The data stored can be arranged and analysed with the help of
different functions and formulae. Spreadsheet provides the facility to draw various graphs
like bar, pie, etc.
LibreOffice Calc
LibreOffice Calc is a spread sheet package that we can use to calculate, analyse and
manage data. LibreOffice Calc is available in variety of platforms including Linux,
Windows and macOS. LibreOffice is a Free and Open Source Software (FOSS).
Easy Calculations: In LibreOffice Calc, there are lot of tools which help the user to
perform even complex calculations on different data across sheets with ease.
Serve as Database: This programme allows storing any amount of data in different
sheets. Storing, retrieving, filtering etc. are easy in it.
Dynamic Charts: Different types of charts are available in LibreOffice Calc and are
enable the user to present various data in an appealing manner.
2
1. Row: The horizontal grid in a in a work sheet is called row. Rows are named by
numbers like 1, 2, 3 etc. In LibreOffie Calc there are 1048576 rows.
2. .Column: The vertical grid in a worksheet is called column. Columns are named by
alpha characters like A, B.AA,AB,..and ended with AMJ) In LibreOffice Calc there are
1024 columns.
Insert a column or row
We can add or delete Rows and columns in a spread sheet. To add a column, click
at the column header and right click the mouse, here we get an option to ìinsert
column leftî Click, new column is to be inserted.
OR
Insert a Row
To add a row, click at the Row header and right click the mouse, there we get an
option to ìinsert Rows aboveî ----- Click ,new Row is to be inserted.
OR
Right click the mouse in a cell anywhere in the row to be inserted---------Insert----- Entire Row
Delete column
To delete a column the following steps to be followed:
3
To delete a column, click at the column header and right click the mouse, here we
get an option to ìdelete selected columnî-----Click ,now the selected column deleted
OR
1. Select anywhere in the column to be deleted.
2. Right click the mouse.
3. Select delete.
4. Again select ìdelete entire columnî
5. Click OK
3. Cell: The intersection of a row and a column is called a cell. In a spread sheet data
are recorded in cells. Data can be number, text, date & time. The data is always
entered into the active cell; the active cell can be identified with the black outline.
Cell address: Cell address is used to identify a cell. It consists of column name
(letter) and row number. Each cell has a unique identification code known as cell
address. Example for cell address:
Cell pointer: The active cell has a frame around it. That frame is called cell pointer
For eg: The range D1:E10 (D1 colon E10) includes a block of 20 cells starting from D1
and ending E10.
4
Naming a Range
Naming a range means giving a reference name to a specific range. Naming range in
Calc will save time for writing complex formulas.
Steps Involved in the process of naming a range (name of the range is ìNumbersî)
This will display a dialogue box as ìDefine Database Rangeî. It will provide a place
to enter ìNameî in which type we can type any name ,say ìNumbersî which will
represent cell range $B$2:$F$2 as shown in the range. Naming range in Calc will
save time for writing complex formulas.
2. Menu Bar: Various features of the software displayed here. This menu contains
items to create a new document, save a document, to access templates and
wizards.
3. Standard Tool bar: Here tools like sort, cut, copy, save, spelling etc are arranged.
Standard Toolbar gives the user access to file operations, printing etc.
5
4. Formatting Tool Bar: The formatting toolbar is a toolbar that gives the user the
ability to change the formatting of selected text. Various tools like font size, bold,
underline etc arranged here.
5. Active Cell: the selected, highlighted, or clicked-upon cell is called the active cell.
Data entry takes place only in an active cell.
6. Name Box: This is the place where the active cellís address is displayed. Displays
the reference for the current cell, the range of the selected cells, or the name of the
area.
7. Formula Bar: It shows the contents of the current cell and allows you to create and
view formula.
8. Column Header: Name of the column displayed here. Columns are named alpha
characters like A, B...AA,AB,..and ended with AMJ. In LibreOffice Calc there are
1024 columns.
9. Row Header: Name of the row displayed here. Rows are named by numbers like 1,
2, 3 etc. In LibreOffice Calc there are 1048576 rows.
10. Sheet Tab: Sheet tab shows the sheets in a work book. Here the user can rename,
move, delete and copy a work sheet.
11. Status Bar: The Status Bar is located on the bottom of your document page.It's
not a toolbar Displays the number of the current sheet, the total number of sheets in
the spreadsheet, current Page Style etc.
6
Work book
A file in spread sheet is known as work book. A work book is a collection of number of
work sheets.
Work sheet
Each page in the work book is called work sheet.
Spreadsheet Operations
Open Work Book: While being on the LibreOffice Calc, you can open a new
workbook by choosing ëNewí------ ëSpreadsheet íoption from the File Menu. While
being on the LibreOffice Calc, you can open a existing workbook by choosing
ëopen ëoption from the File Menu and select the required workbook.
Save a Work Sheet: It is necessary to save all the files in the computer when your
work is completed.íSave Así option in the File Menu enables you to save a
workbook with a suitable name to the computer.
Close Work Book: After you finish works in a workbook, you can close the
workbook with ëCloseí option from ëFileí menu.
Insert a new work sheet: Click the tab at the exact position (plus symbol) on the
bottom of the present work sheet or right click on the sheet tab--------Insert sheet.
To delete a work sheet: Click on the work sheet tab which you want to delete -----
Right click----Delete Sheet----Ok.
To rename a worksheet: Click on the name of the work sheet tab (say, sheet 1)
you want to rename -----Right click------ -Enter the new name---- ----Ok.
7
To copy / move a work sheet: Click on the work sheet tab which you want to
copy-------Right click-----select move or copy-------- select the sheet insert before ---
---- ok.
Quit LibreOffice Calc: Use ëExit LibreOfficeí option from the ëfileí Menu.
Types of Data
In the cell of a worksheet three types of data are entered .They are-Value, Label and
Formula.
Value-Value is a number that you enter in a cell. It also includes symbols like +,-,
coma (,) and decimal point (.).By default values are right aligned. Calculations can
be done using values only. Example: Age of employee, salary of employee etc.
Label- The text data is called label. It includes alphabets and symbols. By default
labels are left aligned. Example: Name of Employee, sex, designation etc.
Components of a Formula
Formulas are used for simple addition, subtraction, multiplication and division as well as
for complex calculations. Formulas help to speed up the calculations. A standard formula
may have three components.
Mathematical operators
Cell References
Functions
Cell Reference: The cell address used in a formula is called cell reference. A cell
reference identifies the location of a cell or cells in the spreadsheet. There are three
types of cell references:
Types of cell references
1. Relative references
2. Absolute references
3. Mixed cell references
Absolute cell reference: Unlike relative references, absolute reference cell does
not change when copied to another location. An absolute cell reference is used to
keep a cell constant in the formula.Here column and row (a Cell) remain constant
.To set an absolute reference a dollar sign ($) is use before the column name and/
row number.
Example: 1, when the formula C7 =B7*$C$1 is copied from C7 toC8, the relative
cell reference changes B7 to B8 but the absolute cell reference ($C$1) remains
unchanged. Here both the column C and row 1 are constant.
references when formula is copied and pasted to other cells ,the cell reference in
the formula ,it holds either row number or column name constant.$C4 is example
for column constant, C$5 is example for row constant.
For example cell reference $A1, makes the column A constant, but the row 1
changes as A1,A2,A3 etc according to the new location. In the same way the
reference A$1, makes the row 1 constant, but the column reference changes as
B1,C1,D1 etc according to the new location.
Arguments: The data that a function receives is known as the arguments of the
function.. For example,F1=Avg(D1:D10) .In this formula ,the cell range D1:D10 is the
argument of the average functions.
Date and Time Function: Accounting is much related with the dates and time.
Transactions are recorded and analysed on the basis of its date and time of occurrences.
This function is used to perform operations on date and time values.LibreOffice Cal takes
30/12/1899 as the base year for calculating date. Date and time functions are used to
manipulate date and time. The important Date and Time functions are, TODAY ( ), NOW
( ), DAY ( ), MONTH ( ), YEAR ( ), DATEVALUE ( ).
12
Now ( ): It is a similar function of Today (). But Now ( ) function shows the current
date with time.
Day (serial number): This function shows the day of the date. For example if
A1=23-9-2015, the Day(A1) will result in 23.Because it is the 23rd day of the
month.
Month (): This function returns the serial number of a given date ranging from 1
to 12. Syntax :MONTH(ìdateî) Example :MONTH(ì01/06/2019î) returns 6,i,e. The
6th month.
Year () This function shows the serial number of the year from the date value
given in the bracket. For example in the above case Year(A1) or Year
(ì15/08/18î)returns 2018,i.e. the 2018th year.
DATEVALUE ( ): This function converts the given date that is stored as text to a
serial number that LibreOffice Calc recognises as a date. LibreOffice Calc
considers 30/121899 as the base date with date value zero.Based upon
this,DATEVALUE function converts the given date and return its corresponding
date value number.
function is helpful in case where a worksheet contains dates in a text format that
you want to filter, sort, or use in the date calculations.
Mathematical Functions
These functions are used for arithmetical calculations used in business. It includes :
SUM( )
SUMIF( )
ROUND( )
ROUNDUP( )
ROUNDDOWN( )
SUM ( ): The SUM function is used to add the values contained in a range of
cells.
SUMIF ( ): The SUMIF ( ) function sum its values only when a particular
criteria or condition is satisfied. In SUMIF function firstly test the values given
in the first range and if this range satisfies the given criteria (conditions to be
14
tested) then returns the sum of the corresponding values in a second supplied
range.
Syntax=SUMIF(range,îcriteriaî,sum range)
AVEREGE ( )
Syntax=AVERAGE(Number1,number2,...)
This function is used to find out average values (Arithmetic mean) in a range
of cells.
Syntax=MAX(Number1,Number2,...)
COUNT ( ): The COUNT function counts the number of cells that contains
numeric values in a given range of cells or list of arguments separated by
commas.
16
It counts both numbers and dates. Empty cells, logical values, text and error
codes etc are ignored. Only numerical values (numerical values include
number and date and time) are counted here.
COUNTA ( ): The COUNTA function counts the number of cells that contain
any type of data. It count cells contains numbers, text, date,time,logical
values,etc. This function never countsempty/ blank cells.
Syntax=Countblank(range)
Note.If you search for literal text enclose the text in double quotes (ì ì)
17
CONCATENATE: This function joins two or more text strings into one text
string and its:
Syntax is CONCATENATE (text1, text2,...)
LOGICAL FUNCTION: Logical functions help to compare more than one condition and
outcome. Logical functions return only one of two values: True or False. Logical function
requires the usage of logical operators.
There are number of logical operators such as =,> (greater than), <(less than),>=
(greater than or equal to),<=(less than or equal to),<>(not equal to) etc.
Eg:=IF(A1<20,îYesî,îNoî)this function will return Yes if cell A1<20 and 0 for anything else
Syntax=IF(Test,ThenValue,OtherwiseVlue)
18
=IF(A1<20,îPassedî,îFailedî)
Logic test= Condition you want to test, it may be any value or expression that
can be True or False.
Then Value (Value if true)= The value that is returned if the result of logical
test is true.
Otherwise Value (Value if false)=the value that is returned if the result of
logical test is false.
NESTED IF: Nested If function is used to evaluate different conditions.
The IF function can be nested, when you have multiple conditions to
meet.
Syntax =IF(Test 1,Then Value 1,IF(Test 2,Then Value 2,IF(..............)))
o The second IF will be started only when the first IF statement result
a FALSE value.
o When values are TEXT It should always be enclosed in quotation
mark (ì ì).
o Note the number of closing brackets; its number should be equal to
the number of IFís in the formula.
AND: Returns TRUE if ALL arguments are TRUE. It checks more than one
condition and if any argument is FALSE, returns FALSE.
The difference between OR and AND is that OR will return TRUE if atlest one
argument is correct but AND will return TRUE only when all arguments must
be correct.
OR (logical Value 1, logical Value 2..........)
Returns TRUE, if at least one argument is TRUE, returns FALSE if all
arguments are FALSE.
Lookup and References Function: The LOOKUP function returns a value either from a
one-row or onecolumn range or from an array. The LOOKUP function has two syntax
forms: vector and array.
VLOOKUP: The VLOOKUP function, which stands for vertical lookup, helps
us to find specific information in large data tables such as an inventory list of
parts or a large employee contact list. The VLOOKUP function searches and
matches first the required value from the column of a range of cells, and then
returns a value from any cell on the same row of the range.
Financial Functions
ACCRINT: This function returns the accrued interest for a security that pays
periodic interest.
CUMIPMT: This function returns the cumulative interest paid between two
periods
The syntax of the function is: CUMIPMT (rate, nper, pv, start_period,
end_period, type)
21
PV: This function returns the present value of an investment. The present
value is the total amount that a series of future payments is worth now.
FV: This function returns the future value of an investment based on periodic,
constant payment and a constant interest rate.
PMT: The PMT function calculates the periodic payment for an annuity,
assuming equal payments and a constant rate of interest
RATE: This function returns the interest rate per period of an annuity. RATE
is calculated by iteration and can have zero or more solutions. If the successive
results of RATE do not converge to within 0.0000001 after 20 iterations, RATE
returns the #NUM! error value (2.32).
The syntax of the function is : RATE (nper, pmt, pv, fv, type, guess)
NPV: This function calculates the net present value of an investment by using
a discount rate and a series of future payments (negative values) and income
(positive values).
The syntax for the function is: NPV (rate, value1, value2,…. )
22
DATA VALIDATION
Data validation is a feature to define restrictions on type of data entered into a cell. We
can configure data validation rules for cells data that will not allow users to enter invalid
data, There may be warning messages when users tries to type wrong data in the cell.
The messages also guide users to what input is expected for the cell, and instructions to
correct any errors.
DATA FORMATTING
Formatting of spreadsheets makes easier to read and understand he important
information (e.g. conditional formatting, number formatting, text and general spreadsheet
formatting etc.). On the Ribbon there are several tools and shortcuts to format
spreadsheets effectively. Some of them are described as follows:
FORMATTING TOOLS
Number formatting – Number formatting includes adding per cent
symbols (%), commas (,), decimal places, and currency signs ($,Rs. etc),
date, time, scientific values and as well as some special formats to a
spreadsheet.
Currency: If we enter a financial value complete with the dollar/ currency
sign and two decimal places, Excel assigns a Currency format to the cell
along with the entry.
23
OUTPUT REPORTS
We can print entire or partial worksheets and workbooks, one at a time, or several at
once. The MS Excel can print just the Excel table or also it provides to:
Print a partial or entire worksheet or workbook.
Print several worksheets at once.
Print several workbooks at once.
Print an Excel table.
24
PIVOT TABLES
The Pivot Table feature allows us to create across tabulation summary of data in which
heading can subsequently moved to give different views of the data.