Learn LibreOffice Calc

From Open Educational Resources
Jump to navigation Jump to search

Introduction

Earlier accountants used large pieces of paper to record business finances, to enter information like costs, payments, taxes, income etc. so that they got a complete financial overview. These large paper pieces were called “spreadsheets”. The digital spreadsheet is similar, with columns and rows. A cell is a combination or intersection of a row and a column, in which informationcaption="Working with Pivot tables" (both text and numeric) can be input. A sheet can be simply understood as an array of cells.

Basic information

ICT Competency LibreOffice Calc is a free and open source application for creating generic resources. Spreadsheet is used for handling numeric data, analysing and publishing through tables and graphs.
Educational application and relevance Data analysis is an important mathematical competency. Spreadsheets can be very effective for introducing data analysis and statistics for students. It can also be used to explore patterns as an introduction to algebraic thinking. The power of the digital spreadsheet is that many types of data processing can be done on the information entered.
Version Version: 5.1.6.2
(LibreOffice Calc is also available on the Windows and Macintosh operating systems)
Configuration No specific configuration requirements
Other similar applications Other spreadsheet software applications include Microsoft Excel, OpenOffice Calc (not being developed any more), Google spreadsheet etc.
The application on mobiles and tablets Collabora Office for Android and for iOS
Development and community help Developer(s) -The Document Foundation

Community help

Overview of features

Spreadsheet application is used for recording data, processing data, analysing data, creating text and graphical outputs. The application has many statistical, arithmetical, text processing functions which makes it a very powerful desktop tool. Data can be sorted, filtered and processed into outputs, including multi-variate tables.

Installation

  1. The application is part of the Ubuntu custom distribution.
  2. In case you do not find it on your computer, you can install by typing LibreOffice on top search bar in Software Centre.
  3. If you would like to install through the terminal follow these steps below:
    1. Open terminal by clicking Applications->System Tools->Terminal or through Keyboard shortcut Ctrl+Alt+T
    2. In the terminal window, type below command and press enter to start the installation by providing your machine password:
    3. sudo apt-get install LibreOffice

Working with the application

  1. Download this file to practise on a simple sample data sheet.
  2. Download this second file of additional sheets with analyses, reports etc.

Opening a spreadsheet

LO Calc 1 viewing a spreadsheet.png

LibreOffice Calc can be opened from Applications → Office → LibreOffice Calc. This opens a ‘work book’. A work book can have many ‘sheets’. When you open the LO Calc application, it will show a window like this. The spreadsheet consists of rows and columns. Each column-row intersection is a cell; this is the place you will enter data in a spreadsheet. You can click the cursor on any cell and type in the information you want to enter.
Select Cell A1 and type “Name of city”, Hit enter. Next select cell B1 and type “Average annual rainfall (cms). Hit enter, and select cells of Column A to enter names of cities and Cells of Column B to enter annual average rainfall.
You can click on the A1 and B1 cells and click on the BOLD function icon (or simply type CTRL+B) to make the headings bold.

Like in the case of text document, you can use the File menu to save your spreadsheet. The file will be saved with a .ods extension. ODS is the short form of Open Document Spreadsheet.

Navigating a spreadsheet

Cal step 2.png

You can move across cells using the arrow keys. You can also quickly go to the ends of the sheet using CTRL Keys, such as CTRL-Home (go to Cell A1), CTRL-End (bottom rightmost part of filled cells / entered data), CTRL – Up Arrow (next cell in same column, before an empty cell) etc.
It is useful to become comfortable using keyboard to move across the spreadsheet.
Columns and rows can be inserted or deleted or hidden in a spreadsheet. You can right click anywhere on the spreadsheet and insert/ delete rows and columns. You can also go to Sheet menu and insert rows/ columns.
Sheets can be added or deleted from a work book using the "+" symbol seen next to the sheet name. Sheets can be named and renamed by right clicking on the name of the sheet visible in the bottom panel.

Formatting a spreadsheet

LO Calc 6 Formatting numbers.png

Most of the formatting options available in LibreOffice Writer are available in Calc also. Making the text bold, italicised, increasing/reducing font size, font color etc are all available. Data can also be formatted based on what it represents - date, time, currency, etc. The numeric information display format in terms of "000" separators or number of decimal places can be configured.

Providing headings to the data

LO Calc 2 Freeze rows and columns.png

We saw earlier how to enter headings for columns. However, if you enter data for more than 50 cities, you will not be able to read the column headings. To be able to see the column (and row) headings, you should move your cursor to the cell above which (and to the left of which) you want to be able to see your headings and click on View → Freeze Cells → Freeze Rows and Columns.

Inserting formulae for computations

LO Calc 3 Processing the data Summing up rainfall information.png

You can do almost any kind of computation or processing with a spreadsheet. Here we will calculate the total rainfall for the cities. You can go to the cell below last row with data in Column B, which has the rainfall information and simply type in “=Sum(B2:B15)” assuming the data is in rows 2 through 15 of column B. Any computation or formula must begin with the “=” sign. Or you can simply use the shorthand icon on the menu bar “∑” and hit enter and the application will insert the same formula.
When the cursor is on this cell, the formula will be seen in the ‘formula’ bar on top of the sheet, below the menu.
All arithmetic operations, statistical operations are possible with spreadsheet.
You can ‘copy paste’ a formula from one cell to other cells in the same column, here ‘copy paste’ by default will copy paste the formula and not the content. This 'copy' and 'paste' of formula is not useful, when we want to 'fix' one value in our formula. For instance, if we are computing 'Percentage of total' in the example of Average annual rainfall (cms), then we will input in column C2 "=B2*100/B16". If we copy this cell C2 to C3, Calc will change the formula to "=B3*100/B17", since it will increment both numerator and denominator cells. However we want to fix the denominator to 'B16'. To 'fix' the reference, you should insert '$' before the cell reference. So you should give formula C2 "=B2*100/B$16" since we want to fix the value in the 16th row. When you copy paste the formula to C3, it will copy as "=B3*100/B$16", which is what you want.

Sorting the data

LO Calc 4 Sorting data.png

You can sort the data in anyway you want. You could sort it on the descending order of the rainfall (Column B) to see the data by the cities with the heaviest rainfall at the top. You can sort the data by cities (Column B). remember that you should select the entire sheet (Edit – Select All, or simply CTRL-A) or keep the cursor on a single cell, else you may sort only the data selected which will be incorrect.

Preparing charts and graphs

  1. Selecting data - Select the data (columns A and B) and select Insert → chart option. You will get the chart wizard. You can select Bar chart to get a Bar chart of the rainfall. You should experiment with different graphical formats to learn
  2. Inserting charts - You can prepare charts and show it alongside the data

Working with Pivot tables

The pivot table (formerly known as DataPilot) allows you to combine, compare, and analyze large amounts of data. You can view different summaries of the source data, you can display the details of areas of interest, and you can create reports. A table that has been created as a pivot table is an interactive table. Data can be arranged, rearranged or summarized according to different points of view.

1. Position the cursor within a range of cells containing values, row and column headings.

2. Choose Insert - Pivot Table - Create. The Select Source dialog appears. Choose Current selection and confirm with OK. The table headings are shown as

The table headings are shown as buttons in the Pivot Table dialog. Drag these buttons as required and drop them into the layout areas "Page Fields", "Column Fields", "Row Fields" and "Data Fields".
3. Drag the desired buttons into one of the four areas.
Drag a button to the Page Fields area to create a button and a listbox on top of the generated pivot table. The listbox can be used to filter the pivot table by the contents of the selected item. You can use drag-and-drop within the generated pivot table to use another page field as a filter.

If the button is dropped in the Data Fields area it will be given a caption that also shows the formula that will be used to calculate the data.

  • By double-clicking on one of the fields in the Data Fields area you can call up the Data Field dialog.
  • Use the Data Field dialog to select the calculations to be used for the data. To make a multiple selection, press the Ctrl key while clicking the desired calculation.

Printing a spreadsheet

LO Calc 9 Adding Page Header before printing.png

Formatting a sheet for printing is not an easy task. To make it simpler, some tips are:

  1. Use the ‘text wrap’ feature to wrap all the text input in a cell so that it won’t overflow to the next cell.
  2. Increase or reduce the column width so that all columns you want to print are included.
  3. Delete (or hide) columns if you don’t want them in the printout.
  4. Use Format → Page option to insert header / footer information, such as file name, page number etc.
    Use print preview feature to keep checking if the formatting is satisfactory

Saving the files and formats

  1. Like in most applications, a file can be saved using the FILE – SAVE command, or by the shortcut key CTRL+S. Always give a meaningful file name, reading which you should get an idea of the file contents. We can name this file “Rainfall information for cities in South India, October 2016.ods”. Often adding the month-year information when the file was created can be useful later.
  2. The files will be saved as ".ods". You can save a spreadsheet as a Microsoft Excel format also (FILE -> SAVE AS)
  3. The files can be exported to a PDF format. This is useful when you only need to print the file and do not want any changes to it.

Advanced features

Calc is a very sophisticated software application and can even be used as a database, by cross referring data across sheets and books. You can also generate multi-variate tables using the 'Pivot' feature. The 'functions' in Calc are many and can meet statistical, mathematical functions which can be useful for exploring topics in Mathematics and Statistics. You can use Calc to store contact information, which can be used along with the Thunderbird email client, to generate customised mass email messages (this functionality is called 'mail merge'). You can repeat the column or row headings automatically across printed pages (hint – define print area). You can refer to the Calc user manual for learning these advanced features

Ideas for resource creation

  1. Calc can be used for analysing data sets generated by your students as part of projects. Large secondary data sets can also be analysed. Some of these project ideas include information about family members, houses in the area, crops / vegetation in the area, goods sold and prices in local shop and programs of the local government and budgets etc. The collected information can be analysed and published in tabular cum graph formats.
  2. Spreadsheets are also useful for helping solving numeric puzzles by setting up formulas and extrapolating.

References

  1. Wikipedia
  2. User manual for LO Calc
  3. Community support
  4. Videos to learn LO Calc are available in English, Telugu and other Indian languages on the Spoken-tutorials site, created by the NMEICT program of MHRD.

|}