28
LibreOffice LibreOffice – Windows, Mac, Linux Writer Wordprocessor Impress Presentations Calc Spreadsheet Draw Drawings Base Database manager Two versions Still 5.2.6 Stable Fresh 5.3.2 Cutting Edge Free, but donations requested

LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

  • Upload
    ngodang

  • View
    265

  • Download
    0

Embed Size (px)

Citation preview

Page 1: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

LibreOffice

● LibreOffice – Windows, Mac, Linux– Writer Wordprocessor– Impress Presentations– Calc Spreadsheet– Draw Drawings– Base Database manager

● Two versions– Still 5.2.6 Stable– Fresh 5.3.2 Cutting Edge

● Free, but donations requested

Page 2: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Download from libreoffice.org

Page 3: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Calc - Spreadsheet

● We are concentrating on some of the more advanced apects of spreadsheets.

● Using help● Summing columns● Sort Lists● Sorting by Columns● Change icon size● Selecting toolbars● Named ranges

● HLookup and Vlookup● Text boxes● Data Constraints● Conditional formatting● Linking data to graphs● A demo Inheritance Tax Calculator

Page 4: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Help <F1> Is Your Friend

Page 5: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Formulae List Separators

List separators shown in Help are semi-colons, but commas are now the default. Tools|Options|LibreOffice|Calc|Formula

Page 6: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Summing Columns 1

This is one way to sum a column of numbers.

Page 7: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Summing Columns 2

There are other ways to sum a column of numbers:

=SUM(A1,A3,B5) specific cells

=SUM(C1:C5) specified range

=SUM(A19:B21) specified range

Page 8: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Sort Lists

It is easy to drag and fill a series of numbers.

This can be extended to strings or words.

Type one piece of information in a cell, then drag it to fill in a consecutive list of items

See Tools|Options|LibreOffice| Calc|Sort Lists to create your own

1000 1000 Jan

1001 1100 Feb

1002 1200 Mar

1003 1300 Apr

1004 1400 May

1005 1500 Jun

1006 1600 Jul

1007 1700 Aug

1008 1800 Sep

Page 9: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Sorting by Columns

It is easy to sort blocks of data.

Select area, including headings.

Click Data|Sort…

Sort by ‘Rating’ descending and ‘Cost’ ascending.

Click OK.

Page 10: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Change Icon Size

● Click on Tools|Options...|LibreOffice|View● Select Toolbar icon size

Page 11: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Selecting Toolbars

● Select View|Toolbars|Form Controls

● The toolbar can now be dragged to anywhere

● Now you have access to conveniently grouped functions

Page 12: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Named Ranges

● Ranges are defined as (say) d20:g40

● They can also be given aname to use in formulae

● Select the range● Select Data|Define Range…● Provide a name● Click Add● Now use it in formulae

Page 13: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Hlookup and Vlookup 2

Rating Cost Item

5 23 Pear Enter rating

4

5 78 Apple Cost 56

4 56 Orange Item Orange

4 98 Pineapple

Search term Lookup values

Page 14: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Hlookup and Vlookup 1

● Here is a Vlookup example● H19 holds the search term - ‘4’● Vegetables is the named range of the table● The numerals 2 and 3 are the offsets to the

answers● The zeros indicate that the column is not in

ascending order● Cost: =VLOOKUP(H19,Vegetables,2,0)● Item: =VLOOKUP(H19,Vegetables,3,0)

Page 15: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Text Boxes

● Text boxes do not move like cells, or affect column widths.

● They can be formatted.

My text box. It stays where I put it.

It does not move like a cell does.

It can be formatted.It can be formatted.

Page 16: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Linking Data to Graphs

Enter some data.

Select Insert|Chart

Work through ● Chart Type● Data Range● Data Series● Chart Elements

Page 17: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Data Constraints 1

● Sometimes you need to restrict the entry to a field to certain values

● Examples are:– A range of dates

– “Y” or “N”

● The easiest way is to select the cell and then select Data|Validity to set the constraints.

● We have two examples.

Page 18: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Data Constraints 2

● “Y” or “N” example● Clicking on the cell displays

an arrow button andoffers two choices

● Select the cell andthen click on Data|Validity

● Enter the values and help

Page 19: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

● Select text example● In this case a range of

dates from other cells● The worksheet is

$Actual● The cells are

$E$45:$E$48● Tip: place two

spaces before the full stop on thehelp caption

Data Constraints 3

Page 20: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Conditions – If This Then ...

● We sometimes need to change a formula, depending on another cell’s content.

● =IF(condition, do this if true, do this if false)● =IF(F9<=F11,"Valid Date","Invalid Date")● =IF($C$7="","Enter name in cell",$C$7)

Page 21: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Concatenate

● Joining strings together● CONCATENATE("Text1", "Text2", …)● CONCATENATE(“The result: “, B10, …)● More advanced:● Enter “Name” into cell C7● Enter the following into C8, C9, C10● =CONCATENATE(IF($C$7="","Nobody ",$C$7),"

has a birthday")

Page 22: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Nested Formulae

● IF(…..), OR(….), AND(….), CONCATENATE(….) etc can all be nested.

● Consider:● =CONCATENATE($C$6)," Dances: ")● What if $C$6 is blank?● Add a condition:● =CONCATENATE(IF($C$6="","Nobody",

$C$6)," Dances: ")

Page 23: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Truth Tables

● Making sure logic is correct can be a bit tricky● Use a truth table to check● =IF(A=”T”,IF(B=”T”,Result 1,Result 2),IF(B=”T”,

Result 3,Result 4))● Note the nesting of the

conditions

A B Result

T T Result 1

T F Result 2

F T Result 3

F F Result 4

Page 24: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Comparison Operators

Symbol Operator

= Equals

>= Greater than or equal to

<= Less than or equal to

<> Not equal to

Page 25: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Conditional Formatting

● Change cell colours to indicate an error● Click on Formatting|Conditional Formatting|

Condition● Multiple conditions can be set

Page 26: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Conditional Formatting 2

● Conditional formatting may depend on two conditions

● IF(AND(J10="N"),(K10="Y"))

● Cell contents: =IF($J10="N","SIPP (not left in will)",IF(K10="Y","SIPP (left to spouse)","SIPP (left to third party)"))

Page 27: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

Bringing It All Togther

Page 28: LibreOffice - U3A Dacorum · LibreOffice LibreOffice – Windows, Mac, Linux – Writer Wordprocessor – Impress Presentations – Calc Spreadsheet – Draw Drawings – Base Database

IHT Spreadsheet Disclaimer

● The results from this spreadsheet should be independently checked with a tax specialist or on the HMRC/IHT website and a probate form.

● It is offered for tuition purposes only and may contain errors.