02/11/2015
Worksheets Functions →
← Worksheets Functions →
← Older Comments
← Older Comments
Formulas and Functions
Arithmetic Formulas
Recognize good practice in formula creation: refer to cell references rather than
type numbers into formulas.
We have been entering either text or numbers into the cells till now, but in case
the data in a cell is dependent on the value of data of other cells, we use formulas.
Formulas use numbers and variables to get the required values. These variables are
the cell references of the cells from where we need to get the data to be used in
the formulas.
Whenever a formula is created in Calc, one thing should always be taken into
consideration. We should always try and use cell references in the formulas
instead of directly using numbers. This helps in decreasing the efforts in changing
the formulas every time a value needs to be changed. If we keep such values directly
in a formula, we’ll have to change the formula each time the value is changed. But
if we keep such values in a separate cell and use the cell reference in the formula,
then we’ll have to simply change the value in one cell and all the formulas will be
updated. This saves time and effort.
Create formulas using cell references and arithmetic operators (addition,
subtraction, multiplication, division).
There are four types of arithmetic operators; addition, subtraction, division and
multiplication. These return numerical results.
Any formula must always begin with an ‘=’ symbol. The formulas can be entered
by either using the function wizard or by typing directly into the cell or the input
line.
‘=b4+b6’ gives the sum of the values stored in the cells ‘B4’ and ‘B6’. ‘B4’ and ‘B6’
are the cell references here and ‘+’ is the arithmetic operator.
To create this formula, double click on the cell where this formula needs to be
entered. Then type in the formula in the cell and press ‘Enter’ from the keyboard.
This will showcase the result of the formula in that cell.
The subtraction, multiplication and division operators can be used in the same
way.
Identify and understand standard error values associated with using formulas:
?, /0!, !.
While using formulas, it is very common to get errors. These can occur due to a
variety of reasons, but the important part is to identify these, so that we can
correct them. Error messages or values are the simplest tools which help us in
identifying these errors. Some of the most common error-values associated with
using formulas are given below,
? : This error value is displayed in place of the error code Err:525. This
code signifies that no valid reference exists for the argument. This means that if we
provide some argument to the function incorrectly, say ‘b’ in place of ‘b6’ or any
such mistake, then this error value will get displayed.
/0! : This error value is displayed in place of the error code Err:532. This
signifies division by zero. This means that if we write a formula of the type, ‘=b4/b6’
and b6 here contains 0, then this error value will get displayed as division by zero
is not a proper mathematical operation.
! : This error value is displayed in place of the error code Err:524. This
signifies that the column, row, or sheet for the referenced cell is missing. This
means that if we are referring a sheet in a formula or a function, which has been
deleted, then this error value will get displayed.
Understand and use relative, absolute cell referencing in formulas.
Referencing is the way by which we refer to the location of any cell in Calc. There
are two types of references, absolute and relative.
In relative referencing, when we use a formula to refer to two or more cells, and
then when we copy this formula to a new location, then the new formula does not
refer to the same cells. It refers to new cells which have the same relative position
to the formula as was the case with the original referencing.
To understand in a better way, let us take an example. As shown below, we have
put the formula ‘=b4+b6’ in the cell ‘b9’. Thus the answer of this calculation, 11, is
being displayed in this cell. When we copy the formula and paste it in ‘c9’, then
the result will be 10 and not 11. This is because, the formula copied will have new
references ‘c4’ and ‘c6’ as these have the same relative locations to ‘c9’, as was the
case with ‘b4’, ‘b6’ and ‘b9’. Thus the sum of the values stored in ‘c6’ and ‘c9’ will
get displayed, which is 10. This is how relative referencing works.
In absolute referencing, the references do not change with the formula and the
same reference is copied when the formula is copied to another cell. This is
achieved by writing the formula as, ‘=b4+$b$6’. This will change the ‘b4’ reference
when the formula is copied, but the ‘b6’ reference will remain as it is. This has
been shown in the diagram given below.
Comments
Formulas and Functions — 188 Comments
Atakora Bright on November 2, 2015 at 11:37 am said:
VERY INTRESTING
Reply ↓
David odhiambo on October 31, 2015 at 6:12 pm said:
Thank you for such anice lesson
Reply ↓
Rangeeta Radhika Prasad on October 31, 2015 at 2:41 am said:
Very helpful lesson.
Thank you sir for this lesson
Reply ↓
Evans Makori on October 29, 2015 at 5:36 am said:
A helpful topic and thanks.
Reply ↓
Leave a Reply
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
Custom Search
Select Language ▼
Find That Lesson With Google Search
Search
Are You a Google User?
Press the +1 Button
New Courses
Subscribe in a reader
Latest Lessons
Understanding Word Processing Quiz
Mail Merge – Outputs
Mail Merge – Insert Data Fields
Mail Merge – Preparation
Word Processing – Preview and Print
Available Courses
Customising Your PC (5)
IT Training (12)
Learn Computer Skills (25)
Basic Computer Skills (12)
Common Tasks (8)
Intermediate Computer Skills (5)
Microsoft Certified Professional (79)
Disaster Recovery (5)
Hardware (5)
Installations (1)
Interoperability (3)
Introduction To Networking (25)
Managing Disks (9)
Windows Quickstart (8)
Windows XP Server 2003 (8)
Local Security (6)
Local Users and Groups (4)
Monitoring and Optimisation (5)
NTFS (4)
Printing (3)
Remote Desktop and Terminal Services (6)
Shared Folders (5)
TCP/IP (7)
Microsoft Certified Systems Engineer (86)
Active Directory Overview (8)
Active Directory Sites And Replication (5)
Active Directory Trusts (2)
Active Directory Users and Groups (4)
Certificate Services (6)
Deploying Applications (3)
DFS (5)
DHCP (5)
DNS (8)
Group Policy (5)
IIS (5)
IPsec (3)
Remote Access (6)
RIS (7)
Routing (6)
SUS (3)
WINS (6)
Microsoft Certified Technology Specialist (129)
Windows Server 2008 Active Directory, Configuring (78)
Active Directory Federation Services (3)
Active Directory Rights Management (3)
Active Directory Sites And Replication (3)
Active Directory Trusts (2)
Administration (5)
Authentication (5)
Certificate Services (9)
Computers (4)
Directory Business Continuity (5)
Domain Controllers (4)
Group Policy (4)
Groups (6)
Installation (5)
Integrating Domain Name System (6)
Lightweight Directory Services (2)
Users (9)
Windows Server 2008 Network Infrastructure, Configuring (59)
Configuring IP Routing (4)
Configuring Name Resolution (8)
Configuring Windows Firewall and Network Access Protection (4)
Connect To A Network (6)
Creating a DHCP Infrastructure (5)
Managing Files (11)
Managing Printers (3)
Managing Software Updates (4)
Monitoring Computers (4)
Protecting Network traffic with IPSec (3)
TCP/IP (7)
Office Software (44)
LibreOffice (42)
Calc (19)
Writer (22)
Mail Merge (3)
Uncategorized (1)
Website Design (22)
Creating websites with HTML (9)
CSS (6)
Extras (3)
What is the internet (4)
Windows Maintenance (9)
Wordpress (12)
Managing Worksheets Spreadsheet Formats – Alignment and
Border Effects
Spreadsheet Cells Functions
Edit Spreadsheet Chart Title