Spreadsheet Basics: Formulas & Functions
Spreadsheet Basics: Formulas & Functions
1. Introduction
2. Cell content
3. Number format
4. Formulas
5. Assistance for data entry.
6. Absolute and relative references. Names.
7. Ranks
8. Functions
9. Graphs
10. Printing
11. Protect cells and the spreadsheet
1. Introduction
Modern spreadsheets allow grouping several sheets within the same file that are
they differentiate from each other by the name of the sheet. Some applications refer to the file as a workbook
sheets. To distinguish the cells from one sheet to another, they are named by specifying the name of the sheet.
followed by a point and the cell. For example: Sheet1.A9, Sheet3.B89, Sheet2.F3.
2. Content of the cells
When we write data, the application usually shows a different value in the cell than the one that
we have introduced taking into account the type of data, the number format and the calculations of the
formulas.
3. Number format
The number format allows controlling the presentation of formula results and values.
numerical. We can:
• indicate the number of decimals.
• indicate the magnitudes or units of the values.
• indicate the color of the font according to whether the result is positive or negative.
4. Formulas
Formulas always start with the character =. Next, the mathematical expression is
composed of constant values, cell references, operators, and functions. The precedence of
operators indicate the order in which the operations will be evaluated, possibly grouping operands with
parentheses to change this order.
For example:
• 5+3*4 = 5+12 = 17
• (5+3)*4 = 8*4 = 32
• 5+(3*4) = 5+12 = 17
To input data quickly, cell fill or filling is used. This consists of repeating
a value a certain number of cells (copied and pasted quickly) or based on a series
arithmetic, geometric or date series to fill the cells with successive values.
This operation can be performed through the menu or by using the mouse with the
small square in the bottom right corner of the active cell. The mouse pointer is
change to a cross and by dragging it, the filling of the cells will begin
contiguous.
6. Relative and absolute references. Names
A B C D E F
1 1 = B1 * 2 1 = $D$1 * 2 Filling down of
Fill down of
2 2 =B2*2 =$D$1*2 cell E1
3 3 = B3 * 2 =$D$1*2
Sometimes we want to refer not to the cell on the left, nor to the one above, but to
we want to reference a specific cell that should not change when we fill in the formula
other cells. To achieve this we must use absolute references.
An absolute reference is specified using the dollar sign ($) in front of the column and/or
the row. The reference to the cell will not change at any time.
7. Cell ranges
A range of cells is a set of cells. To indicate ranges, two characters are used.
specials:
• semicolon ( ; ). It is used to indicate cells or ranges that are separated or not contiguous.
• colon (:). It allows us to specify the first and last cell of a range including in
this all that is among these.
8. Functions
These parameters can be cells, ranges of cells, numbers, and texts expressed in quotes.
For example:
• =SUM(A1:A50) will add all the values from the 50 cells in the range. Without the SUM function.
we would have written: =A1+A2+A3+A4......., practically useless when it comes to a sheet of
calculation.
• =average(A1:A50), will calculate the mean of the values of the 50 cells.
• =arabic("XX"), it will show a 20.
Functions are grouped into categories according to their utility and the types of data they handle:
• Databases. Arithmetic operations with selection criteria.
• Date and time. Perform calculations on dates.
• Finance. Financial calculations, about loans, etc.
• Information. They obtain information about the content of the cell.
• Logical. Conditionals and boolean values.
• Mathematics. Mathematical operations such as addition, sines, cosines.
• Matrix. Operations on matrices.
• Statistics. Statistical calculations.
• Spreadsheet. Specific functions on spreadsheet information.
• Text. They transform texts, extract information from them, concatenate them, split them, etc.
• Add-in. Added to the previous ones or custom extensions on each computer.
9. Graphics
10. Printing
In a spreadsheet, we cannot define its dimensions, the number of rows and columns.
it is always the same, but we can define a range of cells to be printed. This range is
the print call. When the result takes up more than one page we can specify
which row and/or column do we want to appear on all pages.
11. Protect cells and the spreadsheet
The spreadsheet is a program where the work of the designer is very clearly distinguished.
spreadsheet and the spreadsheet user.
The designer will be responsible for writing the formulas, creating the graphs, and formatting the cells.
Once their work is completed, they will protect the spreadsheet to prevent the user from modifying it.
accidentally or intentionally. The latter will be able to use the sheet without the need to write
formulas, limiting themselves only to writing the data and obtaining the results in a way
snapshot.
But how does the designer select which cells the user can modify or not? The designer
it will protect those cells that the user should not modify, such as labels, formulas, empty cells,
etc.; and will unprotect those where the user has to enter the data.
When the designer has finished their work, they will protect the complete document or the sheet, remaining
only the cells that have not been protected can be modified. If we use a password the
The user will not be able to unprotect the sheet or document unless they know it.