OpenOffice.org video based manual
Plan-B for OpenOffice.org, learning office productivity software with videos


Tech Support for OpenOffice.org
Applications
Go to Open Office Writer Index
Go to Open Office Impress Index
Go to Open Office Math Index
Go to Open Office Draw Index
Go to Open Office Calc Index
Go to Open Office Base Index
Go to Open Office Online Help Index

Help Sections:
General
Writer
Impress
Math
Draw
Calc
Base
Basic

Add-in Functions

The following describes and lists some of the available add-in functions.

Add-in concept

You will also find a description of the OpenOffice.org Calc add-in interface in the Help. In addition, important functions and their parameters are described in the Help for the OpenOffice.org Calc add-in DLL.

Add-ins supplied

OpenOffice.org contains examples for the add-in interface of OpenOffice.org Calc.

In the OpenOffice.org Setup program, you can selectively deinstall the Calc Add-ins. Be aware that you will lose all functions listed under the Add-in category, and several financial and some date/time functions, if you do so.

Analysis Functions Part One

Analysis Functions Part Two

DAYSINMONTH

Calculates the number of days of the month in which the date entered occurs.

Syntax

DAYSINMONTH(Date)

Date: Any date in the respective month of the desired year. The Date parameter must be a valid date according to the locale settings of OpenOffice.org.

Example

DAYSINMONTH(A1) returns 29 days if A1 contains 2/17/68, a valid date for February 1968.

DAYSINYEAR

Calculates the number of days of the year in which the date entered occurs.

Syntax

DAYSINYEAR(Date)

Date: Any date in the respective year. The Date parameter must be a valid date according to the locale settings of OpenOffice.org.

Example

DAYSINYEAR(A1) returns 366 days if A1 contains 2/29/68, a valid date for the year 1968.

ISLEAPYEAR

Determines whether a year is a leap year. If yes, the function will return the value 1 (TRUE); if not, it will return 0 (FALSE).

Syntax

ISLEAPYEAR(Date)

Date: Specifies whether a given date falls within a leap year. The Date parameter must be a valid date according to the locale settings of OpenOffice.org.

Example

ISLEAPYEAR(A1) returns 1, if A1 contains 2/29/68, the valid date 29th of February 1968 in your locale setting.

You may also use ISLEAPYEAR("2/29/68").

Never use ISLEAPYEAR(2/29/68), because this would first evaluate 2 divided by 29 devided by 68, and then calculate the ISLEAPYEAR function from this small number as a serial date number.

MONTHS

Calculates the difference in months between two dates.

Syntax

MONTHS(Start date, End date, Type)

Start date: First date

End date: Second date

Type: Calculates the type of difference. Possible values include 0 (interval) and 1 (in calendar months).

ROT13

Encrypts a character string by moving the characters 13 positions in the alphabet. After the letter Z, the alphabet begins again (Rotation). By applying the encryption function again to the resulting code, you can decrypt the text.

Syntax

ROT13(Text)

Text: Enter the character string to be encrypted. ROT13(ROT13(Text)) decrypts the code.

WEEKS

Calculates the difference in weeks between two dates.

Syntax

WEEKS(Start date, End date, Type)

Start date: First date

End date: Second date

Type: Calculates the type of difference. The possible values are 0 (interval) and 1 (in numbers of weeks).

WEEKSINYEAR

Calculates the number of weeks of the year in which the date entered occurs. The number of weeks is defined as follows: a week that spans two years is added to the year in which most days of that week occur.

Syntax

WEEKSINYEAR(Date)

Date: Any date in the respective year. The Date parameter must be a valid date according to the locale settings of OpenOffice.org.

Example

WEEKSINYEAR(A1) returns 53 if A1 contains 2/17/70, a valid date for the year 1970.

YEARS

Calculates the difference in years between two dates.

Syntax

YEARS(Start date, End date, Type)

Start date: First date

End date: Second date

Type: Calculates the type of difference. Possible values are 0 (interval) and 1 (in calendar years).

Add-ins through OpenOffice.org API

Add-ins can also be implemented through the OpenOffice.org API.

Index

add-ins, functions

functions, add-ins

Function Wizard, add-ins

ISLEAPYEAR function

leap year determination

YEARS function

number of years between two dates

MONTHS function

number of months between two dates

ROT13 function

encrypting text

DAYSINYEAR function

number of days, in a specific year

DAYSINMONTH function

number of days,in a specific month of a year

WEEKS function

number of weeks,between two dates

WEEKSINYEAR function

number of weeks,in a specific year

This help text is published from the OpenOffice-Help files under the Public Documentation License 1.0.

Get OpenOffice.org - Free!