SlideShare a Scribd company logo
1 of 38
Working with Data
LibreOffice Calc
Lesson 5 Outline
• Data Analysis
• Creating subtotals
• Sharing documents
• Saving versions
• Calc Macros
Consolidating Data
Data > Consolidate provides a way to combine data from two or
more ranges of cells into a new range while running one of
several functions (such as Sum or Average) on the data. During
consolidation, the contents of cells from several sheets can be
combined into one place. The effect is that copies of the
identified ranges are stacked with their top left corners at the
specified result position, and the selected operation is used in
each cell to calculate the result value.
Using Consolidating Data
1) Open the document containing the cell ranges to be consolidated.
2) Choose Data > Consolidate to open the Consolidate dialog. Figure 1 shows this dialog after
making the changes described below.
3) The Source data range list contains any existing named ranges (created using Data > Define
Range) so you can quickly select one to consolidate with other areas.
If the source range is not named, click in the field to the right of the drop-down list and
either type a reference for the first source data range or use the mouse to select the range
on the sheet. (You may need to move the Consolidate dialog or click on the Shrink icon to reach
the required cells.)
4) Click Add. The selected range is added to the Consolidation ranges list.
5) Select additional ranges and click Add after each selection.
6) Specify where you want to display the result by selecting a target range from the Copy results
to drop-down list.
If the target range is not named, click in the field next to Copy results to and enter the
reference of the target range or select the range using the mouse or position the cursor in
the top left cell of the target range. Copy results to takes only the first cell of the target
range instead of the entire range as is the case for Source data range.
Defining the data to be
consolidated
7) Select a function from the Function list. This
specifies how the values of the consolidation
ranges will be calculated. The default setting is
Sum, which adds the corresponding cell values
of the Source data range and gives the result in
the target range.
Most of the available functions are statistical
(such as Average, Min, Max, Stdev), and the
tool is most useful when you are working with
the same data over and over.
8) At this point you can click More in the
Consolidate dialog to access the following
additional settings:
• In the Options section, select Link to source
data to insert the formulas that generate
the results into the target range, rather than
the actual results. If you link the data, any
values modified in the source range are
automatically updated In the target range.
9) Click OK to consolidate the ranges.
Creating subtotals
Subtotals are implemented in two ways:
• The SUBTOTAL function
• Data > Subtotals from the menu bar.
Using the SUBTOTAL function
SUBTOTAL is listed under the
Mathematical category when you
use the Function Wizard (Insert >
Function or press Ctrl+F2). This
function is a relatively limited
method for generating a
subtotal. To obtain a subtotal for
our sales information, partially
shown in Figure 2, for the
employee Brigitte we must first
implement an AutoFilter on the
data, selecting Brigitte in the
Employee field afterwards as
shown in Figure 3.
Figure 2
Figure 3
Subtotal Function
1) Select the location for the subtotal to be displayed by clicking in
the chosen cell.
2) Select Insert > Function from the Menu bar, or press Ctrl+F2.
3) Select SUBTOTAL from the function list in the Function Wizard dialog.
4) Enter the required information into the two input boxes as shown in
Figure 2. The range is selected from the filtered data, and the function
is selected from the list of available possible functions as shown in the
Help file extract of Figure 3. In our example we select the sales figures
(B5:B23) and we require the sum total (function index 9).
5) Click OK to return the summed values of Brigitte’s sales (Figure 4).
Subtotal Dialog Box
Using Data > Subtotals
A more comprehensive solution is to
create subtotals using Data >
Subtotals from the Menu bar, which
opens the Subtotals dialog. Subtotal
creates totals for data arranged in an
array—that is, a group of cells with
labels for columns. Using the
Subtotals dialog, you can select up to
three arrays, then choose a statistical
function to apply to them. When you
click OK, Calc adds subtotal
and grand total rows to the selected
arrays, using the Result and Result2
cell styles to differentiate those
entries. By default, matching items
throughout your array will be
gathered together as a single group
above a subtotal.
To insert subtotal values into a sheet:
1) Ensure that the columns have labels (we will use our
sales data example again).
2) Select, or click in a single cell in the range of cells that
you want to calculate subtotals for,
and then choose Data > Subtotals.
3) In the Subtotals dialog (Figure 7), in the Group by list,
select the column by which the subtotals need to be
grouped. A subtotal will be calculated for each distinct
value in this column.
4) In the Calculate subtotals for box, select the columns
containing the values that you want to create subtotals
for. If the contents of the selected columns change later,
the subtotals are automatically recalculated.
5) In the Use function box, select the function that you
want to use to calculate the subtotals.
6) You can create a further two Group by subtotals using
the 2nd Group and 3rd Group tabs and repeating steps 3
to 5.
7) Click OK.
Working with Subtotals
A partial view of the results using our example data is
shown in Figure 8. Subtotals for Sales by Employee
and Category were used.
Grouping Subtotals
Calc inserts, to the left of the row numbering
labels, an outline area that graphically
represents the structure of the subtotals.
Number 1 represents the highest level of
grouping, the Grand Total. Numbers 2 to 4
show reducing grouping levels, with number
4 showing individual entries. The number of
levels is dependent on the number of
groupings in the subtotals.
Clicking on a number at the top of the
column, shrinks the structure of that
element of the subtotal. For column 1, this
changes the minus button in the column to
one with a plus symbol, indicating that it is
expandable. For column 2 and others with
content, each element of the column
shrinks, and each button changes to a plus.
For our example subtotal displayed in Figure
8, the structure which is displayed is Column
1 is the Grand Total, column 2 is the
Employee subtotal, and column 3 is the
Category subtotal.
AutoOutlining
For column 2, and for others if you
have more groups, you can also click
each individual minus button to
shrink only that subtotal. If you click
on the numbered button at the top,
you must then click on the resultant
plus buttons to expand the structure
again. Shrinking any element,
temporarily hides any element
contained in a column to its right. In
image to the right, Individual entries
are hidden by shrinking the Category
subtotals for Brigitte.
To turn off outlines, select Data >
Group and Outline > Remove from
the Menu bar. Select AutoOutline to
reinstate the outlines.
Groups and Sorts
In the Groups section:
• Selecting Page break between
groups inserts a new page after each
group of subtotaled data.
• Selecting Case sensitive
recalculates subtotals when you
change the case of a data label.
• Selecting the Pre-sort area
according to groups option sorts the
area that you selected in the Group
by box of the Group tabs according
to the columns that you selected.
In the Sort section:
• Selecting Ascending or Descending,
sorts beginning with the lowest or
the highest value. You can define the
sort rules on Data > Sort > Options.
• Selecting Include formats option
gives consideration to the formatting
attributes when sorting.
• Selecting Custom sort order sorts
according to one of the predefined
custom sorts defined in Tools >
Options > LibreOffice Calc > Sort
Lists.
Sorting
Using “what if” scenarios
The Scenario is a tool to test “what-if” questions. Each scenario is named, and can be
edited and
formatted separately. When you print the spreadsheet, only the contents of the currently
active
scenario are printed.
A scenario is essentially a saved set of cell values for your calculations. You can easily
switch
between these sets using the Navigator or a drop-down list which can be shown beside
the
changing cells. For example, if you wanted to calculate the effect of different interest rates
on an
investment, you could add a scenario for each interest rate, and quickly view the results.
Formulas that rely on the values changed by your scenario are updated when the scenario
is opened. If all your sources of income used scenarios, you could efficiently build a
complex model of your possible income.
Creating scenarios
Tools > Scenarios opens a dialog with options for
creating a scenario.
To create a new scenario:
1) Select the cells that contain the values that will
change between scenarios. To select multiple ranges,
hold down the Ctrl key as you click. You must select at
least two cells.
2) Choose Tools > Scenarios.
3) On the Create Scenario dialog (image to the right),
enter a name for the new scenario. It’s best to use a
name that clearly identifies the scenario, not the
default name as shown in the illustration. This name is
displayed in the Navigator and in the title bar of the
border around the scenario on the sheet itself.
4) Optionally add some information to the Comment
box. The example shows the default comment. This
information is displayed in the Navigator when you click
the Scenarios icon and select the desired scenario.
5) Optionally select or deselect the options in the
Settings section. See below for more information about
these options.
6) Click OK to close the dialog. The new scenario is
automatically activated.
Changing scenarios
Scenarios have two aspects that can be altered independently:
• Scenario properties (the settings described above)
• Scenario cell values (the entries within the scenario border)
The extent to which either of these aspects can be changed is
dependent upon both the existing properties of the scenario and
the current protection state of the sheet and cells.
Changing scenario properties
• If the sheet is protected (Tools > Protect Document > Sheet), and
Prevent changes is selected then scenario properties cannot be
changed.
• If the sheet is protected, and Prevent changes is not selected, then
all scenario properties can be changed except Prevent changes and
Copy entire sheet, which are disabled.
• If the sheet is not protected, then Prevent changes does not have
any effect, and all scenario properties can be changed.
Working with scenarios using the
Navigator
After scenarios are added to a spreadsheet, you can
jump to a particular scenario by selecting it from the
list in the Navigator.
Click the Scenarios icon in the Navigator (Image to the
right). The defined scenarios are listed, along with the
comments that were entered when the scenarios
were created.
To apply a scenario to the current sheet, double-click
the scenario name in the Navigator.
To delete a scenario, right-click the name in the
Navigator and choose Delete.
To edit a scenario, including its name and comments,
right-click the name in the Navigator and choose
Properties. The Edit Properties dialog is the same as
the Create Scenario dialog
Sharing documents
In LibreOffice Writer, Impress, and Draw, only one user at a time
can open any document for editing. In Calc, many users can open
the same spreadsheet for writing at the same time.
Each user who wants to collaborate should be sure to enter a
name on the Tools > Options > LibreOffice > User Data page.
Some menu commands are not available (grayed out) when
change tracking or document sharing is activated
Setting up a spreadsheet for
sharing
At any time, you can set up a spreadsheet for sharing
with others. With the spreadsheet document
open, choose Tools > Share Document to activate the
collaboration features for this document. A
dialog opens where you can enable or disable sharing.
To enable sharing, check the box at the top of the
dialog, and then click OK. A message appears
stating that you must save the document to activate
shared mode. Click Yes to continue. The word
(shared) is then shown on the title bar after the
document’s title.
The Tools > Share Document command can be used
to switch the mode for a document from unshared to
shared. However, if you want to use a shared
document in unshared mode, you need to save the
shared document using another name or path. This
creates a copy of the spreadsheet that is not shared.
Opening a shared
spreadsheet
The following features are disabled in a
shared spreadsheet document:
Edit > Changes, except for Merge Document
Edit > Compare Document
Edit > Sheet > Move/Copy & Delete
Insert > Cells > Shift Cells Down & Shift Cells
Right
Insert > Sheet from file
Insert > Names
Insert > Comment
Insert > Picture > From File
Insert > Movie and Sound
Insert > Object
Insert > Chart
Insert > Floating Frame
Format > Sheet > Rename, Tab
Color
Format > Merge Cells > Merge
and Center, Merge Cells, Split
Cells
Format > Print Ranges
Tools > Protect Document
Data > Define Range
Data > Sort
Data > Subtotals
Data > Validity
Data > Multiple Operations
Data > Consolidate
Data > Group and Outline (all)
Data > Pivot Table
Saving a shared spreadsheet
When you save a shared spreadsheet, one of several situations
may occur:
• If the document was not modified and saved by another user
since you opened it, the document is saved.
• If the document was modified and saved by another user since
you opened it, one of the following events will occur:
– If the changes conflict, the Resolve Conflicts dialog is shown.
You must decide for each conflict which version to keep, yours or
the other person’s. When all conflicts are resolved, the
document is saved. While you are resolving the conflicts, no
other user can save the shared document.
Lesson 5
Saving Versions
Saving Versions
Most documents go through many drafts. It is often useful to
save new versions of a document. You can do this by saving a
copy of the document [under a different name] after each
revision, or by using Calc’s version feature.
To use version management in Calc
2) Click the Save New Version button
to save a new version.
3) A dialog opens where you can
enter comments about this version.
1)Choose File > Versions. The Versions dialog
opens.
4) After you enter your comment and click OK,
the new version is included in the version list.
Updated version list
Now when you save the file, both
versions are saved in the same file.
From this point you can:
Open an old version – Select the
version and click the Open button
and a read-only copy of a previous
version opens.
Compare all versions – Clicking the
Compare button performs an action
similar to merging documents
together. An Accept or Reject
Changes dialog opens showing all of
the changes through the different
versions.
Review the comments – Select a
version and click the Show button to
display the full comments made by
yourself or other reviewers.
Lesson 5
Calc Macros
Automating repetitive tasks
Introduction
A macro is a saved sequence of commands or keystrokes that are
stored for later use. An example of a simple macro is one that
“types” your address. The LibreOffice macro language is very
flexible, allowing automation of both simple and complex tasks.
Macros are especially useful to repeat a task the same way over
and over again. This chapter briefly discusses common problems
related to macro programming using Calc.
Using a macro as a function
Using the newly
created Calc document
CalcTestMacros.ods,
enter the formula
=NumberFive() [see
image to the right]. Calc
finds the macro and
calls it.
Passing arguments to a macro
To illustrate a function
that accepts
arguments, we will
write a macro that
calculates the sum of its
arguments that are
positive —it will ignore
arguments that are less
than zero.
Arguments are passed as
values
Arguments passed to a macro from Calc are always values. It is
not possible to know what cells, if any, are used. For example,
=PositiveSum(A3) passes the value of cell A3, and PositiveSum
has no way of knowing that cell A3 was used. If you must know
which cells are referenced rather than the values in the cells, pass
the range as a string, parse the string, and obtain the values in
the referenced cells.
Writing macros that act like built-in
functions
Although Calc finds and calls macros as normal functions, they do
not really behave as built-in functions. For example, macros do
not appear in the function lists. It is possible to write functions
that behave as regular functions by writing an Add-In. However,
this is an advanced topic that is not covered here.
Sorting
Consider sorting the
data in [image to the
right]. First, sort on
column B descending
and then column A
ascending.
Conclusion
This chapter provides a brief overview on how to create libraries
and modules, using the macro recorder, using macros as Calc
functions, and writing your own macros without the macro
recorder. Each topic deserves at least one chapter, and writing
your own macros for Calc could easily fill an entire book.
Practice 1
• Create a list of your favorite
items only using text
• Apply a bold format to the
text
• Consolidate the list of items
using the count function but
place the results in Column B
row 1
• Group rows 1-3
• Share this document to
Stephanie Jones with Contoso
(company) at 312-221-5555.
Her title is Senior Executive in
Rosebud Pennsylvania 20265
• Ungroup the grouped
rows
• Select AutoOutline
• Save
Practice 2
• Calculate the
subtotals for column
A with the function
of count
• Chose the 2nd Group
and chose column B
with a sum function
• Enable the option to
Page break between
groups
• Click ok
• Collapse the first row
• Create a scenario for
Sheet1 within the
Column A and
Column B
• Display light green
line for scenarios
• Apply the style of
Heading 2 to the first
cell in the active
spreadsheet

More Related Content

What's hot

Libre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding FunctionsLibre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding FunctionsSmart Chicago Collaborative
 
Libre Office Calc Lesson 2: Formatting and Charts
Libre Office Calc Lesson 2: Formatting and ChartsLibre Office Calc Lesson 2: Formatting and Charts
Libre Office Calc Lesson 2: Formatting and ChartsSmart Chicago Collaborative
 
Libre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheetsLibre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheetsSmart Chicago Collaborative
 
Presentation
PresentationPresentation
Presentationsindhu1801
 
Teaching Excel
Teaching ExcelTeaching Excel
Teaching Excelsam ran
 
Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table Alomgir Hossain
 
Microsoft Excel Project 1 Presentation
Microsoft Excel Project 1 PresentationMicrosoft Excel Project 1 Presentation
Microsoft Excel Project 1 Presentationjmartinvvc
 
14 must know terms for microsoft excel beginners
14 must know terms for microsoft excel beginners14 must know terms for microsoft excel beginners
14 must know terms for microsoft excel beginnersComputerTutorialsOnline.com
 
Class 10 Unit - 6 Digital Documentation.pptx
Class 10 Unit - 6 Digital Documentation.pptxClass 10 Unit - 6 Digital Documentation.pptx
Class 10 Unit - 6 Digital Documentation.pptxGargee19
 
Layer mask
Layer maskLayer mask
Layer maskalvarez
 
Presentation on digital documentation
Presentation on digital documentationPresentation on digital documentation
Presentation on digital documentationMuHammad ZaHid AJ
 
Microsoft Excel
Microsoft ExcelMicrosoft Excel
Microsoft ExcelYasirKhan357
 
Introduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginnersIntroduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginnersBlogger Mumma
 
A practical tutorial to excel
A practical tutorial to excelA practical tutorial to excel
A practical tutorial to excelMunna India
 

What's hot (20)

Libre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding FunctionsLibre Office Calc Lesson 4: Understanding Functions
Libre Office Calc Lesson 4: Understanding Functions
 
Libre Office Calc Lesson 2: Formatting and Charts
Libre Office Calc Lesson 2: Formatting and ChartsLibre Office Calc Lesson 2: Formatting and Charts
Libre Office Calc Lesson 2: Formatting and Charts
 
Libre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheetsLibre Office Calc Lesson 1: Introduction to spreadsheets
Libre Office Calc Lesson 1: Introduction to spreadsheets
 
Excel lesson01
Excel lesson01Excel lesson01
Excel lesson01
 
Excel lesson 01
Excel lesson 01Excel lesson 01
Excel lesson 01
 
Presentation
PresentationPresentation
Presentation
 
Teaching Excel
Teaching ExcelTeaching Excel
Teaching Excel
 
Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table
 
Microsoft Excel Project 1 Presentation
Microsoft Excel Project 1 PresentationMicrosoft Excel Project 1 Presentation
Microsoft Excel Project 1 Presentation
 
06 page formatting
06 page formatting06 page formatting
06 page formatting
 
Excel Tutorial
Excel TutorialExcel Tutorial
Excel Tutorial
 
14 must know terms for microsoft excel beginners
14 must know terms for microsoft excel beginners14 must know terms for microsoft excel beginners
14 must know terms for microsoft excel beginners
 
Ms excel
Ms excelMs excel
Ms excel
 
Class 10 Unit - 6 Digital Documentation.pptx
Class 10 Unit - 6 Digital Documentation.pptxClass 10 Unit - 6 Digital Documentation.pptx
Class 10 Unit - 6 Digital Documentation.pptx
 
Layer mask
Layer maskLayer mask
Layer mask
 
Presentation on digital documentation
Presentation on digital documentationPresentation on digital documentation
Presentation on digital documentation
 
Microsoft Excel
Microsoft ExcelMicrosoft Excel
Microsoft Excel
 
Introduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginnersIntroduction to Microsoft Excel for beginners
Introduction to Microsoft Excel for beginners
 
A practical tutorial to excel
A practical tutorial to excelA practical tutorial to excel
A practical tutorial to excel
 
Mail merge
Mail mergeMail merge
Mail merge
 

Similar to Libre Office Calc Lesson 5: Working with Data

Calculation contex in sap business objects
Calculation contex in sap business objectsCalculation contex in sap business objects
Calculation contex in sap business objectsDmitry Anoshin
 
Copying Files Across Workbooks Lab 5, Step 1 A. Save al.docx
Copying Files Across Workbooks Lab 5, Step 1  A. Save al.docxCopying Files Across Workbooks Lab 5, Step 1  A. Save al.docx
Copying Files Across Workbooks Lab 5, Step 1 A. Save al.docxmaxinesmith73660
 
Lesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot TablesLesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot Tablesguevarra_2000
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epcEPC Group
 
Microsoft excel training
Microsoft excel trainingMicrosoft excel training
Microsoft excel trainingMohamed Hassan
 
Week 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docxWeek 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docxcockekeshia
 
How to design a report with fine report reporting tool
How to design a report with  fine report reporting toolHow to design a report with  fine report reporting tool
How to design a report with fine report reporting toolFineReport Reporting Tool
 
Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020Adhi Wikantyoso
 
This image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docxThis image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docxjuan1826
 
Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot tablesamikshaa sinha
 
Management of database information system
Management of database information systemManagement of database information system
Management of database information systemKAZEMBETVOnline
 
A Skills Approach Excel 2016 Chapter 8 Exploring Advanced D.docx
A Skills Approach Excel 2016  Chapter 8 Exploring Advanced D.docxA Skills Approach Excel 2016  Chapter 8 Exploring Advanced D.docx
A Skills Approach Excel 2016 Chapter 8 Exploring Advanced D.docxdaniahendric
 
Office excel tips and tricks 201101
Office excel tips and tricks 201101Office excel tips and tricks 201101
Office excel tips and tricks 201101Vishwanath Ramdas
 
Access3
Access3Access3
Access3JTHSICT
 
Spreadsheets Introduction using RM Number Magic
Spreadsheets Introduction using RM Number MagicSpreadsheets Introduction using RM Number Magic
Spreadsheets Introduction using RM Number MagicMalcolm Wilson
 

Similar to Libre Office Calc Lesson 5: Working with Data (20)

Calculation contex in sap business objects
Calculation contex in sap business objectsCalculation contex in sap business objects
Calculation contex in sap business objects
 
Microsoft Excel Tutorial
Microsoft Excel TutorialMicrosoft Excel Tutorial
Microsoft Excel Tutorial
 
Copying Files Across Workbooks Lab 5, Step 1 A. Save al.docx
Copying Files Across Workbooks Lab 5, Step 1  A. Save al.docxCopying Files Across Workbooks Lab 5, Step 1  A. Save al.docx
Copying Files Across Workbooks Lab 5, Step 1 A. Save al.docx
 
Lesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot TablesLesson 18 Creating Pivot Tables
Lesson 18 Creating Pivot Tables
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epc
 
Sampling
SamplingSampling
Sampling
 
Microsoft excel training
Microsoft excel trainingMicrosoft excel training
Microsoft excel training
 
Microsoft excel part 2
Microsoft excel part 2Microsoft excel part 2
Microsoft excel part 2
 
Week 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docxWeek 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docx
 
Print9
Print9Print9
Print9
 
How to design a report with fine report reporting tool
How to design a report with  fine report reporting toolHow to design a report with  fine report reporting tool
How to design a report with fine report reporting tool
 
Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020Easy Pivot Tutorial June 2020
Easy Pivot Tutorial June 2020
 
This image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docxThis image appears when a project instruction has changed to accommo.docx
This image appears when a project instruction has changed to accommo.docx
 
Excel creating pivot table
Excel creating pivot tableExcel creating pivot table
Excel creating pivot table
 
Print18
Print18Print18
Print18
 
Management of database information system
Management of database information systemManagement of database information system
Management of database information system
 
A Skills Approach Excel 2016 Chapter 8 Exploring Advanced D.docx
A Skills Approach Excel 2016  Chapter 8 Exploring Advanced D.docxA Skills Approach Excel 2016  Chapter 8 Exploring Advanced D.docx
A Skills Approach Excel 2016 Chapter 8 Exploring Advanced D.docx
 
Office excel tips and tricks 201101
Office excel tips and tricks 201101Office excel tips and tricks 201101
Office excel tips and tricks 201101
 
Access3
Access3Access3
Access3
 
Spreadsheets Introduction using RM Number Magic
Spreadsheets Introduction using RM Number MagicSpreadsheets Introduction using RM Number Magic
Spreadsheets Introduction using RM Number Magic
 

More from Smart Chicago Collaborative

10/18/17 Array of Things Public Meeting Flyer
10/18/17 Array of Things Public Meeting Flyer10/18/17 Array of Things Public Meeting Flyer
10/18/17 Array of Things Public Meeting FlyerSmart Chicago Collaborative
 
Microsoft DigiSeniors Module: Computing with Confidence
Microsoft DigiSeniors Module: Computing with ConfidenceMicrosoft DigiSeniors Module: Computing with Confidence
Microsoft DigiSeniors Module: Computing with ConfidenceSmart Chicago Collaborative
 
Inclusive Smart Cities - Net Inclusion 2017 Presentation
Inclusive Smart Cities - Net Inclusion 2017 PresentationInclusive Smart Cities - Net Inclusion 2017 Presentation
Inclusive Smart Cities - Net Inclusion 2017 PresentationSmart Chicago Collaborative
 
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical ChurchSmart Chicago Collaborative
 
Juvenile Expungement Help Desk Presentation
Juvenile Expungement Help Desk PresentationJuvenile Expungement Help Desk Presentation
Juvenile Expungement Help Desk PresentationSmart Chicago Collaborative
 
Final Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
Final Report for CUTGroup #28 - City of Chicago Open Data Portal HomepageFinal Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
Final Report for CUTGroup #28 - City of Chicago Open Data Portal HomepageSmart Chicago Collaborative
 
Juvenile Expungement Presentation to The Chicago Community Trust
Juvenile Expungement Presentation to The Chicago Community TrustJuvenile Expungement Presentation to The Chicago Community Trust
Juvenile Expungement Presentation to The Chicago Community TrustSmart Chicago Collaborative
 
CUTGroup Detroit Slides for CUTGroup Collective Call
CUTGroup Detroit Slides for CUTGroup Collective CallCUTGroup Detroit Slides for CUTGroup Collective Call
CUTGroup Detroit Slides for CUTGroup Collective CallSmart Chicago Collaborative
 
Connect Chicago Digital Skills Road Map Working Group #1
Connect Chicago Digital Skills Road Map Working Group #1Connect Chicago Digital Skills Road Map Working Group #1
Connect Chicago Digital Skills Road Map Working Group #1Smart Chicago Collaborative
 
2016 Smart Chicago Collaborative Youth-Led Tech Instructors
2016 Smart Chicago Collaborative Youth-Led Tech Instructors2016 Smart Chicago Collaborative Youth-Led Tech Instructors
2016 Smart Chicago Collaborative Youth-Led Tech InstructorsSmart Chicago Collaborative
 

More from Smart Chicago Collaborative (20)

Chicago School of Data Book
Chicago School of Data BookChicago School of Data Book
Chicago School of Data Book
 
10/18/17 Array of Things Public Meeting Flyer
10/18/17 Array of Things Public Meeting Flyer10/18/17 Array of Things Public Meeting Flyer
10/18/17 Array of Things Public Meeting Flyer
 
Microsoft DigiSeniors Module: Computing with Confidence
Microsoft DigiSeniors Module: Computing with ConfidenceMicrosoft DigiSeniors Module: Computing with Confidence
Microsoft DigiSeniors Module: Computing with Confidence
 
DigiSeniors Curriculum - Leaders Guide
DigiSeniors Curriculum - Leaders GuideDigiSeniors Curriculum - Leaders Guide
DigiSeniors Curriculum - Leaders Guide
 
Inclusive Smart Cities - Net Inclusion 2017 Presentation
Inclusive Smart Cities - Net Inclusion 2017 PresentationInclusive Smart Cities - Net Inclusion 2017 Presentation
Inclusive Smart Cities - Net Inclusion 2017 Presentation
 
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
5.20.17 Community Technology Forum at Windsor Park Lutheran Evangelical Church
 
Juvenile Expungement Help Desk Presentation
Juvenile Expungement Help Desk PresentationJuvenile Expungement Help Desk Presentation
Juvenile Expungement Help Desk Presentation
 
Quick facts about Juvenile Expungement
Quick facts about Juvenile ExpungementQuick facts about Juvenile Expungement
Quick facts about Juvenile Expungement
 
LAF Chicago Juvenile Expungement Clinics
LAF Chicago Juvenile Expungement ClinicsLAF Chicago Juvenile Expungement Clinics
LAF Chicago Juvenile Expungement Clinics
 
Juvenile Expungement Help Desk Flyer
Juvenile Expungement Help Desk FlyerJuvenile Expungement Help Desk Flyer
Juvenile Expungement Help Desk Flyer
 
Final Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
Final Report for CUTGroup #28 - City of Chicago Open Data Portal HomepageFinal Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
Final Report for CUTGroup #28 - City of Chicago Open Data Portal Homepage
 
Juvenile Expungement Presentation to The Chicago Community Trust
Juvenile Expungement Presentation to The Chicago Community TrustJuvenile Expungement Presentation to The Chicago Community Trust
Juvenile Expungement Presentation to The Chicago Community Trust
 
CUTGroup Detroit Slides for CUTGroup Collective Call
CUTGroup Detroit Slides for CUTGroup Collective CallCUTGroup Detroit Slides for CUTGroup Collective Call
CUTGroup Detroit Slides for CUTGroup Collective Call
 
Final Report for CUTGroup #24 - OpenGrid
Final Report for CUTGroup #24 - OpenGridFinal Report for CUTGroup #24 - OpenGrid
Final Report for CUTGroup #24 - OpenGrid
 
Connect Chicago Digital Skills Road Map Working Group #1
Connect Chicago Digital Skills Road Map Working Group #1Connect Chicago Digital Skills Road Map Working Group #1
Connect Chicago Digital Skills Road Map Working Group #1
 
2016 Smart Chicago Collaborative Youth-Led Tech Instructors
2016 Smart Chicago Collaborative Youth-Led Tech Instructors2016 Smart Chicago Collaborative Youth-Led Tech Instructors
2016 Smart Chicago Collaborative Youth-Led Tech Instructors
 
Interview template
Interview templateInterview template
Interview template
 
Component type
Component typeComponent type
Component type
 
App template
App templateApp template
App template
 
App inventor basics
App inventor basicsApp inventor basics
App inventor basics
 

Recently uploaded

Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
SEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization SpecialistSEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization SpecialistKHM Anwar
 
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa  Call Girls Service by VIP Call Girls in Goahorny (9316020077 ) Goa  Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goasexy call girls service in goa
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLimonikaupta
 

Recently uploaded (20)

Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
SEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization SpecialistSEO Growth Program-Digital optimization Specialist
SEO Growth Program-Digital optimization Specialist
 
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa  Call Girls Service by VIP Call Girls in Goahorny (9316020077 ) Goa  Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
10.pdfMature Call girls in Dubai +971563133746 Dubai Call girls
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 

Libre Office Calc Lesson 5: Working with Data

  • 2. Lesson 5 Outline • Data Analysis • Creating subtotals • Sharing documents • Saving versions • Calc Macros
  • 3. Consolidating Data Data > Consolidate provides a way to combine data from two or more ranges of cells into a new range while running one of several functions (such as Sum or Average) on the data. During consolidation, the contents of cells from several sheets can be combined into one place. The effect is that copies of the identified ranges are stacked with their top left corners at the specified result position, and the selected operation is used in each cell to calculate the result value.
  • 4. Using Consolidating Data 1) Open the document containing the cell ranges to be consolidated. 2) Choose Data > Consolidate to open the Consolidate dialog. Figure 1 shows this dialog after making the changes described below. 3) The Source data range list contains any existing named ranges (created using Data > Define Range) so you can quickly select one to consolidate with other areas. If the source range is not named, click in the field to the right of the drop-down list and either type a reference for the first source data range or use the mouse to select the range on the sheet. (You may need to move the Consolidate dialog or click on the Shrink icon to reach the required cells.) 4) Click Add. The selected range is added to the Consolidation ranges list. 5) Select additional ranges and click Add after each selection. 6) Specify where you want to display the result by selecting a target range from the Copy results to drop-down list. If the target range is not named, click in the field next to Copy results to and enter the reference of the target range or select the range using the mouse or position the cursor in the top left cell of the target range. Copy results to takes only the first cell of the target range instead of the entire range as is the case for Source data range.
  • 5. Defining the data to be consolidated 7) Select a function from the Function list. This specifies how the values of the consolidation ranges will be calculated. The default setting is Sum, which adds the corresponding cell values of the Source data range and gives the result in the target range. Most of the available functions are statistical (such as Average, Min, Max, Stdev), and the tool is most useful when you are working with the same data over and over. 8) At this point you can click More in the Consolidate dialog to access the following additional settings: • In the Options section, select Link to source data to insert the formulas that generate the results into the target range, rather than the actual results. If you link the data, any values modified in the source range are automatically updated In the target range. 9) Click OK to consolidate the ranges.
  • 6. Creating subtotals Subtotals are implemented in two ways: • The SUBTOTAL function • Data > Subtotals from the menu bar.
  • 7. Using the SUBTOTAL function SUBTOTAL is listed under the Mathematical category when you use the Function Wizard (Insert > Function or press Ctrl+F2). This function is a relatively limited method for generating a subtotal. To obtain a subtotal for our sales information, partially shown in Figure 2, for the employee Brigitte we must first implement an AutoFilter on the data, selecting Brigitte in the Employee field afterwards as shown in Figure 3. Figure 2 Figure 3
  • 8. Subtotal Function 1) Select the location for the subtotal to be displayed by clicking in the chosen cell. 2) Select Insert > Function from the Menu bar, or press Ctrl+F2. 3) Select SUBTOTAL from the function list in the Function Wizard dialog. 4) Enter the required information into the two input boxes as shown in Figure 2. The range is selected from the filtered data, and the function is selected from the list of available possible functions as shown in the Help file extract of Figure 3. In our example we select the sales figures (B5:B23) and we require the sum total (function index 9). 5) Click OK to return the summed values of Brigitte’s sales (Figure 4).
  • 10. Using Data > Subtotals A more comprehensive solution is to create subtotals using Data > Subtotals from the Menu bar, which opens the Subtotals dialog. Subtotal creates totals for data arranged in an array—that is, a group of cells with labels for columns. Using the Subtotals dialog, you can select up to three arrays, then choose a statistical function to apply to them. When you click OK, Calc adds subtotal and grand total rows to the selected arrays, using the Result and Result2 cell styles to differentiate those entries. By default, matching items throughout your array will be gathered together as a single group above a subtotal. To insert subtotal values into a sheet: 1) Ensure that the columns have labels (we will use our sales data example again). 2) Select, or click in a single cell in the range of cells that you want to calculate subtotals for, and then choose Data > Subtotals. 3) In the Subtotals dialog (Figure 7), in the Group by list, select the column by which the subtotals need to be grouped. A subtotal will be calculated for each distinct value in this column. 4) In the Calculate subtotals for box, select the columns containing the values that you want to create subtotals for. If the contents of the selected columns change later, the subtotals are automatically recalculated. 5) In the Use function box, select the function that you want to use to calculate the subtotals. 6) You can create a further two Group by subtotals using the 2nd Group and 3rd Group tabs and repeating steps 3 to 5. 7) Click OK.
  • 11. Working with Subtotals A partial view of the results using our example data is shown in Figure 8. Subtotals for Sales by Employee and Category were used.
  • 12. Grouping Subtotals Calc inserts, to the left of the row numbering labels, an outline area that graphically represents the structure of the subtotals. Number 1 represents the highest level of grouping, the Grand Total. Numbers 2 to 4 show reducing grouping levels, with number 4 showing individual entries. The number of levels is dependent on the number of groupings in the subtotals. Clicking on a number at the top of the column, shrinks the structure of that element of the subtotal. For column 1, this changes the minus button in the column to one with a plus symbol, indicating that it is expandable. For column 2 and others with content, each element of the column shrinks, and each button changes to a plus. For our example subtotal displayed in Figure 8, the structure which is displayed is Column 1 is the Grand Total, column 2 is the Employee subtotal, and column 3 is the Category subtotal.
  • 13. AutoOutlining For column 2, and for others if you have more groups, you can also click each individual minus button to shrink only that subtotal. If you click on the numbered button at the top, you must then click on the resultant plus buttons to expand the structure again. Shrinking any element, temporarily hides any element contained in a column to its right. In image to the right, Individual entries are hidden by shrinking the Category subtotals for Brigitte. To turn off outlines, select Data > Group and Outline > Remove from the Menu bar. Select AutoOutline to reinstate the outlines.
  • 14. Groups and Sorts In the Groups section: • Selecting Page break between groups inserts a new page after each group of subtotaled data. • Selecting Case sensitive recalculates subtotals when you change the case of a data label. • Selecting the Pre-sort area according to groups option sorts the area that you selected in the Group by box of the Group tabs according to the columns that you selected. In the Sort section: • Selecting Ascending or Descending, sorts beginning with the lowest or the highest value. You can define the sort rules on Data > Sort > Options. • Selecting Include formats option gives consideration to the formatting attributes when sorting. • Selecting Custom sort order sorts according to one of the predefined custom sorts defined in Tools > Options > LibreOffice Calc > Sort Lists.
  • 16. Using “what if” scenarios The Scenario is a tool to test “what-if” questions. Each scenario is named, and can be edited and formatted separately. When you print the spreadsheet, only the contents of the currently active scenario are printed. A scenario is essentially a saved set of cell values for your calculations. You can easily switch between these sets using the Navigator or a drop-down list which can be shown beside the changing cells. For example, if you wanted to calculate the effect of different interest rates on an investment, you could add a scenario for each interest rate, and quickly view the results. Formulas that rely on the values changed by your scenario are updated when the scenario is opened. If all your sources of income used scenarios, you could efficiently build a complex model of your possible income.
  • 17. Creating scenarios Tools > Scenarios opens a dialog with options for creating a scenario. To create a new scenario: 1) Select the cells that contain the values that will change between scenarios. To select multiple ranges, hold down the Ctrl key as you click. You must select at least two cells. 2) Choose Tools > Scenarios. 3) On the Create Scenario dialog (image to the right), enter a name for the new scenario. It’s best to use a name that clearly identifies the scenario, not the default name as shown in the illustration. This name is displayed in the Navigator and in the title bar of the border around the scenario on the sheet itself. 4) Optionally add some information to the Comment box. The example shows the default comment. This information is displayed in the Navigator when you click the Scenarios icon and select the desired scenario. 5) Optionally select or deselect the options in the Settings section. See below for more information about these options. 6) Click OK to close the dialog. The new scenario is automatically activated.
  • 18. Changing scenarios Scenarios have two aspects that can be altered independently: • Scenario properties (the settings described above) • Scenario cell values (the entries within the scenario border) The extent to which either of these aspects can be changed is dependent upon both the existing properties of the scenario and the current protection state of the sheet and cells.
  • 19. Changing scenario properties • If the sheet is protected (Tools > Protect Document > Sheet), and Prevent changes is selected then scenario properties cannot be changed. • If the sheet is protected, and Prevent changes is not selected, then all scenario properties can be changed except Prevent changes and Copy entire sheet, which are disabled. • If the sheet is not protected, then Prevent changes does not have any effect, and all scenario properties can be changed.
  • 20. Working with scenarios using the Navigator After scenarios are added to a spreadsheet, you can jump to a particular scenario by selecting it from the list in the Navigator. Click the Scenarios icon in the Navigator (Image to the right). The defined scenarios are listed, along with the comments that were entered when the scenarios were created. To apply a scenario to the current sheet, double-click the scenario name in the Navigator. To delete a scenario, right-click the name in the Navigator and choose Delete. To edit a scenario, including its name and comments, right-click the name in the Navigator and choose Properties. The Edit Properties dialog is the same as the Create Scenario dialog
  • 21. Sharing documents In LibreOffice Writer, Impress, and Draw, only one user at a time can open any document for editing. In Calc, many users can open the same spreadsheet for writing at the same time. Each user who wants to collaborate should be sure to enter a name on the Tools > Options > LibreOffice > User Data page. Some menu commands are not available (grayed out) when change tracking or document sharing is activated
  • 22. Setting up a spreadsheet for sharing At any time, you can set up a spreadsheet for sharing with others. With the spreadsheet document open, choose Tools > Share Document to activate the collaboration features for this document. A dialog opens where you can enable or disable sharing. To enable sharing, check the box at the top of the dialog, and then click OK. A message appears stating that you must save the document to activate shared mode. Click Yes to continue. The word (shared) is then shown on the title bar after the document’s title. The Tools > Share Document command can be used to switch the mode for a document from unshared to shared. However, if you want to use a shared document in unshared mode, you need to save the shared document using another name or path. This creates a copy of the spreadsheet that is not shared.
  • 23. Opening a shared spreadsheet The following features are disabled in a shared spreadsheet document: Edit > Changes, except for Merge Document Edit > Compare Document Edit > Sheet > Move/Copy & Delete Insert > Cells > Shift Cells Down & Shift Cells Right Insert > Sheet from file Insert > Names Insert > Comment Insert > Picture > From File Insert > Movie and Sound Insert > Object Insert > Chart Insert > Floating Frame Format > Sheet > Rename, Tab Color Format > Merge Cells > Merge and Center, Merge Cells, Split Cells Format > Print Ranges Tools > Protect Document Data > Define Range Data > Sort Data > Subtotals Data > Validity Data > Multiple Operations Data > Consolidate Data > Group and Outline (all) Data > Pivot Table
  • 24. Saving a shared spreadsheet When you save a shared spreadsheet, one of several situations may occur: • If the document was not modified and saved by another user since you opened it, the document is saved. • If the document was modified and saved by another user since you opened it, one of the following events will occur: – If the changes conflict, the Resolve Conflicts dialog is shown. You must decide for each conflict which version to keep, yours or the other person’s. When all conflicts are resolved, the document is saved. While you are resolving the conflicts, no other user can save the shared document.
  • 26. Saving Versions Most documents go through many drafts. It is often useful to save new versions of a document. You can do this by saving a copy of the document [under a different name] after each revision, or by using Calc’s version feature.
  • 27. To use version management in Calc 2) Click the Save New Version button to save a new version. 3) A dialog opens where you can enter comments about this version. 1)Choose File > Versions. The Versions dialog opens. 4) After you enter your comment and click OK, the new version is included in the version list.
  • 28. Updated version list Now when you save the file, both versions are saved in the same file. From this point you can: Open an old version – Select the version and click the Open button and a read-only copy of a previous version opens. Compare all versions – Clicking the Compare button performs an action similar to merging documents together. An Accept or Reject Changes dialog opens showing all of the changes through the different versions. Review the comments – Select a version and click the Show button to display the full comments made by yourself or other reviewers.
  • 30. Introduction A macro is a saved sequence of commands or keystrokes that are stored for later use. An example of a simple macro is one that “types” your address. The LibreOffice macro language is very flexible, allowing automation of both simple and complex tasks. Macros are especially useful to repeat a task the same way over and over again. This chapter briefly discusses common problems related to macro programming using Calc.
  • 31. Using a macro as a function Using the newly created Calc document CalcTestMacros.ods, enter the formula =NumberFive() [see image to the right]. Calc finds the macro and calls it.
  • 32. Passing arguments to a macro To illustrate a function that accepts arguments, we will write a macro that calculates the sum of its arguments that are positive —it will ignore arguments that are less than zero.
  • 33. Arguments are passed as values Arguments passed to a macro from Calc are always values. It is not possible to know what cells, if any, are used. For example, =PositiveSum(A3) passes the value of cell A3, and PositiveSum has no way of knowing that cell A3 was used. If you must know which cells are referenced rather than the values in the cells, pass the range as a string, parse the string, and obtain the values in the referenced cells.
  • 34. Writing macros that act like built-in functions Although Calc finds and calls macros as normal functions, they do not really behave as built-in functions. For example, macros do not appear in the function lists. It is possible to write functions that behave as regular functions by writing an Add-In. However, this is an advanced topic that is not covered here.
  • 35. Sorting Consider sorting the data in [image to the right]. First, sort on column B descending and then column A ascending.
  • 36. Conclusion This chapter provides a brief overview on how to create libraries and modules, using the macro recorder, using macros as Calc functions, and writing your own macros without the macro recorder. Each topic deserves at least one chapter, and writing your own macros for Calc could easily fill an entire book.
  • 37. Practice 1 • Create a list of your favorite items only using text • Apply a bold format to the text • Consolidate the list of items using the count function but place the results in Column B row 1 • Group rows 1-3 • Share this document to Stephanie Jones with Contoso (company) at 312-221-5555. Her title is Senior Executive in Rosebud Pennsylvania 20265 • Ungroup the grouped rows • Select AutoOutline • Save
  • 38. Practice 2 • Calculate the subtotals for column A with the function of count • Chose the 2nd Group and chose column B with a sum function • Enable the option to Page break between groups • Click ok • Collapse the first row • Create a scenario for Sheet1 within the Column A and Column B • Display light green line for scenarios • Apply the style of Heading 2 to the first cell in the active spreadsheet

Editor's Notes

  1. You can create several scenarios for any given range of cells.
  2. – If the changes do not conflict, the document is saved, the message below appears, and any cells modified by the other user are shown with a red border.
  3. Saving Versions
  4. Using version management in Calc: Choose File > Versions. The Versions dialog opens > Click the Save New Version button to save a new version > A dialog opens where you can enter comments about this version > After you enter your comment Click OK
  5. Updated version list
  6. Using a macro as a function
  7. Passing arguments to a macro
  8. Arguments are passed as values
  9. Writing macros that act like built-in functions
  10. Sorting
  11. Conclusion