Difference between revisions of "SUN Report Builder/Functions"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
 
(14 intermediate revisions by 10 users not shown)
Line 1: Line 1:
The Sun Report Builder supplies the following functions:
+
[[fr:FR/Documentation/Base/Rapports/Fonctions]]
 +
{{Database/Lang|Base/Reports/Functions}}
  
 +
'''Date/Time'''<br>
  
'''Rounding'''<br>
+
{| cellpadding="10" border="1" class="prettytable"
{| class="prettytable" cellpadding="10" border="1"
+
|-
| '''''Function Name'''''
+
| '''''Function Name'''''  
 
| '''''Description'''''  
 
| '''''Description'''''  
| '''''Parameters'''''  
+
| '''''Example'''''
| '''''Example '''''
+
|-
 +
| DATE
 +
| Provides an internal number for the date given.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''  
 +
| '''''Parameter Description'''''
 +
|-
 +
| month
 +
| An integer between 1 and 12 representing the month.
 +
|-
 +
| day
 +
| An integer between 1 and 31 representing the day of the month.
 +
|}
  
 +
|
 +
|-
 +
| DATEDIF
 +
| Returns the number of years, months, or days between two dates.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| EndDate
 +
| Second date.
 
|-
 
|-
| INT
+
| Format
| Returns a number down to the nearest integer
+
| Format code.
|  
 
 
|}
 
|}
<br>
 
'''Information'''<br>
 
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Function Name'''''
 
| '''''Description'''''
 
| '''''Parameters'''''
 
| '''''Example '''''
 
  
 +
|
 +
|-
 +
| DATEVALUE
 +
| Returns an internal number for a text having a possible date format.
 +
|
 
|-
 
|-
| CHOOSE
+
| DAY
| Uses an index to return a value from a list of values.
+
| Returns the sequential date of the month as an integer (1-31) in relation to the date value.  
 
|  
 
|  
 +
|-
 +
| DAYS
 +
| Calculates the number of days between two dates.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| Date_1
 +
| The start date for calculating the difference in days.
 +
|}
  
 +
|
 
|-
 
|-
| HASCHANGED
+
| HOUR
| Checks, whether the columns specified by the given names has changed.
+
| Determines the sequential number of the hour of the day (0-23) for the time value.  
 
|  
 
|  
 
 
|-
 
|-
| ISBLANK
+
| MINUTE
| Checks, whether the value is undefined (null).
+
| Determines the sequential number for the minute of the hour (0-59) for the time value.  
 
|  
 
|  
 
 
|-
 
|-
| ISERR
+
| MONTH
| Tells if the parameter is of error type but returns false if the error is of type NA.
+
| Determines the sequential number of a month of the year (1-12) for the date value.  
 
|  
 
|  
 
 
|-
 
|-
| ISERROR
+
| NOW
| Tells if the parameter is of error type but returns false.
+
| Determines the current time of the computer.  
 
|  
 
|  
 
 
|-
 
|-
| ISEVEN
+
| SECOND
| Checks whatever the value is an even number.
+
| Determines the sequential number of the second of a minute (0-59) for the time value.  
 
|  
 
|  
 +
|-
 +
| TIME
 +
| Determines a time value from the details for hour, minute and second.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| minute
 +
| The integer for the minute.
 +
|-
 +
| second
 +
| The integer for the second.
 +
|}
  
 +
|
 
|-
 
|-
| ISLOGICAL
+
| TIMEVALUE
| Checks whatever the value is of type Logical.
+
| Returns a sequential number for a text shown in a possible time entry format.  
 
|  
 
|  
 
 
|-
 
|-
| ISNA
+
| TODAY
| Tells if the parameter is of error type NA.
+
| Determines the current date of the computer.  
 
|  
 
|  
 +
|-
 +
| WEEKDAY
 +
| Returns the day of the week for the date value as an integer (1-7).
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| Type
 +
| Fixes the beginning of the week and the type of calculation to be used.(1 = Sunday is the first day of the week, with value 1; Saturday has value 7, 2 = Monday is the first day of the week, with value 1; Sunday has value 7, 3 = Monday is the first day of the week, with value 0; Sunday has value 6)
 +
|}
  
 +
|
 
|-
 
|-
| ISNONTEXT
+
| YEAR
| Checks whatever the value is not of type Text.
+
| Returns the year of a date value as an integer.  
 
|  
 
|  
 +
|}
 +
 +
<br> '''Mathematical'''<br>
  
 +
{| cellpadding="10" border="1" class="prettytable"
 
|-
 
|-
| ISNUMBER
+
| '''''Function Name'''''
| Checks whatever the value is of type Number.
+
| '''''Description'''''
 +
| '''''Example'''''
 +
|-
 +
| ABS
 +
| Absolute value of a number.  
 
|  
 
|  
 
 
|-
 
|-
| ISODD
+
| AVERAGE
| Checks whatever the value is an odd number.
+
| Returns the average of a sample.  
 
|  
 
|  
 
 
|-
 
|-
| ISREF
+
| AVERAGE
| Checks whatever the value is a reference.
+
| Returns the average of a sample.  
 
|  
 
|  
 
 
|-
 
|-
| ISTEXT
+
| EVEN
| Checks whatever the value is of type Text.
+
| Rounds a positive number up and negative number down to the nearest even integer.  
 
|  
 
|  
 
 
|-
 
|-
| NA
+
| MAX
| Returns the constant error NA.
+
| Returns the maximum value in a list of arguments.  
 
|  
 
|  
|}
 
<br>
 
'''Date/Time'''<br>
 
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Function Name'''''
 
| '''''Description'''''
 
| '''''Parameters'''''
 
| '''''Example '''''
 
 
 
|-
 
|-
| DATE
+
| MAXA
| Returns the number of days since 01.01.1900
+
| Returns the maximum value in a list of arguments. Text is evaluated as zero.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Month
 
| Day
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| DATEDIF
+
| MIN
| Returns the number of years, months, or days between two dates.
+
| Returns the minimum value in a list of arguments.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Date2
 
| Format
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| DATEVALUE
+
| MINA
| Returns date serial number from given text.
+
| Returns the smallest value in a list of arguments. Text is evaluated as zero.  
 
|  
 
|  
 +
|-
 +
| MOD
 +
| Calculates the remainder of a division.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| Divisor
 +
| The number by which the dividend is divided.
 +
|}
  
 +
|
 
|-
 
|-
| DAY
+
| ODD
| Returns the day of a date
+
| Rounds a positive number up and negative number down to the nearest odd integer.
 
|  
 
|  
 
 
|-
 
|-
| HOUR
+
| SUM
| Returns the hour (0 through 23) from a time.
+
| Returns the sum of all arguments.  
 
|  
 
|  
 +
|}
 +
 +
<br> '''Logical'''<br>
  
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Function Name'''''
 +
| '''''Description'''''
 +
| '''''Example'''''
 
|-
 
|-
| MONTH
+
| AND
| Returns the month of a date
+
| Returns TRUE if all arguments are TRUE.
 
|  
 
|  
 
 
|-
 
|-
| NOW
+
| FALSE
| Returns the current time
+
| Defines the logical value as FALSE.
 
|  
 
|  
 +
|-
 +
| IF
 +
| Specifies a logical test to be performed.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| Then_value
 +
| The result of the function if the logical test returns a TRUE.
 +
|-
 +
| Otherwise_value
 +
| The result of the function if the logical test returns FALSE.
 +
|}
  
 +
|
 
|-
 
|-
| TIME
+
| NOT
| Returns the time
+
| Reverses the value of the argument.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Minute.
 
| Second
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| TODAY
+
| OR
| Returns the current date
+
| Returns TRUE if an argument is TRUE.
 
|  
 
|  
 
 
|-
 
|-
| WEEKDAY
+
| TRUE
| Returns the day of week from a date.
+
| Returns the logical value TRUE.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Type
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| YEAR
+
| XOR
| Returns the year of a date
+
| Returns TRUE if a odd number of arguments are TRUE.
 
|  
 
|  
 
|}
 
|}
<br>
+
 
'''Text'''<br>
+
<br> '''Information'''<br>  
{| class="prettytable" cellpadding="10" border="1"
+
 
| '''''Function Name'''''
+
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Function Name'''''  
 
| '''''Description'''''  
 
| '''''Description'''''  
| '''''Parameters'''''  
+
| '''''Example'''''
| '''''Example '''''
+
|-
 +
| CHOOSE
 +
| Selects a value from a list of up to 30 value arguments.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''  
 +
| '''''Parameter Description'''''
 +
|-
 +
| value
 +
| Value 1, value 2,... The list of arguments from which a value is chosen.
 +
|}
  
 +
|
 
|-
 
|-
| EXACT
+
| COUNT
| Reports if two text values are exactly equal using a case-sensitive comparison.
+
| Counts how many numbers are in the list of arguments.  
{| class="prettytable" cellpadding="10" border="1"
+
|  
| '''''Parameter Description'''''
+
|-
| Text2
+
| COUNTA
|}
+
| Counts how many values are in the list of arguments.
 
|  
 
|  
 
 
|-
 
|-
| FIND
+
| COUNTBLANK
| Returns the starting position of a given text.
+
| Counts the blank cells in a specified range.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Text
 
| Index
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| LEFT
+
| HASCHANGED
| Returns a selected number of text characters from the left.
+
| Checks whether the columns specified by the given names has changed. Place a column name between double quotes.
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Length
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| LEN
+
| ISBLANK
| Returns the lengh in characters of the given value.
+
| Returns TRUE if value refers to an empty cell.  
 
|  
 
|  
 
 
|-
 
|-
| LOWER
+
| ISERR
| Returns the given text in lower case.
+
| Returns TRUE if the value is an error value not equal to #N/A.  
 
|  
 
|  
 
 
|-
 
|-
| MID
+
| ISERROR
| Returns extracted text, given an original text, starting position, and length.
+
| Returns TRUE if the value is an error value.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Start
 
| Length
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| REPLACE
+
| ISEVEN
| Returns text where an old text is substituted with a new text within the start index and length range.
+
| Returns TRUE if value is an even integer.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Start
 
| Len
 
| New
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| REPT
+
| ISLOGICAL
| Returns text repeated Count times..
+
| Returns TRUE if the value carries a logical number format.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Count
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| RIGHT
+
| ISNA
| Returns a selected number of text characters from the right.
+
| Returns TRUE if value equals #N/A.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Count
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| SUBSTITUTE
+
| ISNONTEXT
| Returns text where an old text is substituted with a new text. If which is specified, only this occurrance will be replaced otherwise every occurrance will be replaced.
+
| Returns TRUE if the value is not text.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Old
 
| New
 
| Which
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| T
+
| ISNUMBER
| Returns the given text value or a zero lenght string for non text type.
+
| Returns TRUE if value is a number.  
 
|  
 
|  
 
 
|-
 
|-
| TEXT
+
| ISODD
| Returns the given value as text.
+
| Returns TRUE if value is an odd integer.  
 
|  
 
|  
 
 
|-
 
|-
| LOWER
+
| ISREF
| Returns the given text free of leading and trailing spaces. Internal multiple spaces are replaced by one.
+
| Returns TRUE if value is a reference.  
 
|  
 
|  
 
 
|-
 
|-
| UPPER
+
| ISTEXT
| Returns the given text in upper case.
+
| Returns TRUE if value is text.  
 
|  
 
|  
 
 
|-
 
|-
| URLENCODE
+
| NA
| Applies URL-Encoding to a text given in the first parameter using the encoding specified in the second parameter. If no encoding is given, ISO-8859-1 is assumed.
+
| Not available. Returns the error value #N/A.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| Encoding
 
|}
 
 
|  
 
|  
 
|}
 
|}
<br>
+
 
'''Mathematical'''<br>
+
<br> '''User-Defined'''<br>  
{| class="prettytable" cellpadding="10" border="1"
+
 
| '''''Function Name'''''
+
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Function Name'''''  
 
| '''''Description'''''  
 
| '''''Description'''''  
| '''''Parameters'''''
+
| '''''Example'''''
| '''''Example '''''
 
 
 
 
|-
 
|-
| ABS
+
| NULL
| Returns the absolute (nonnegative) of the value.
+
| Returns a NULL-Value
 
|  
 
|  
 +
|}
  
 +
<br> '''Text'''<br>
 +
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Function Name'''''
 +
| '''''Description'''''
 +
| '''''Example'''''
 
|-
 
|-
| AVERAGE
+
| EXACT
| Average a list of numeric values.
+
| Specifies whether two texts are identical.  
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| text_2
 +
| The second text for comparing texts.
 +
|}
 +
 
 
|  
 
|  
 +
|-
 +
| FIND
 +
| Looks for a string of text within another (case sensitive)
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| text
 +
| The text in which a search is to be made.
 +
|-
 +
| position
 +
| The position in the text from which the search starts.
 +
|}
  
 +
|
 +
|-
 +
| LEFT
 +
| Returns the first character or characters of a text.
 +
{| cellpadding="10" border="1" class="prettytable"
 
|-
 
|-
| Even
+
| '''''Parameter Name'''''
| Returns the rounding a number up to the nearest even integer.
+
| '''''Parameter Description'''''
 +
|-
 +
| number
 +
| The number of characters for the start text.
 +
|}
 +
 
 
|  
 
|  
 
 
|-
 
|-
| MAX
+
| LEN
| Returns the maximum from a set of numbers.
+
| Calculates length of a text string.  
 
|  
 
|  
 
 
|-
 
|-
| MIN
+
| LOWER
| Returns the minimum from a set of numbers.
+
| Converts text to lowercase.  
 
|  
 
|  
 +
|-
 +
| MID
 +
| Returns a partial text string of a text.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| start
 +
| The position from which the part word is to be determined.
 +
|-
 +
| number
 +
| The number of characters for the text.
 +
|}
  
 +
|
 +
|-
 +
| REPLACE
 +
| Replaces characters within a text string with a different text string.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| position
 +
| The character position from which text is to be replaced.
 
|-
 
|-
| MOD
+
| length
| Returns the remainder when one number is divided by another number.
+
| The number of characters to be replaced.
{| class="prettytable" cellpadding="10" border="1"
+
|-
| '''''Parameter Description'''''
+
| new text
| Divisor
+
| The text to be inserted.
 
|}
 
|}
 +
 
|  
 
|  
 +
|-
 +
| REPT
 +
| Repeats text a given number of times.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| number
 +
| The number of times the text is to be repeated.
 +
|}
  
 +
|
 +
|-
 +
| RIGHT
 +
| Returns the last character or characters of a text.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 
|-
 
|-
| ODD
+
| number
| Returns the rounding a number up to the nearest odd integer.
+
| The number of characters for the end text.
 +
|}
 +
 
 
|  
 
|  
 +
|-
 +
| SUBSTITUTE
 +
| Substitutes new text for old text in a string.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| search_text
 +
| The partial string to be (repeatedly) replaced.
 +
|-
 +
| new text
 +
| The text which is to replace the text string.
 +
|-
 +
| occurrence
 +
| Which occurence of the old text is to be replaced.
 +
|}
  
 +
|
 
|-
 
|-
| SUM
+
| T
| Sum a list of numeric values.
+
| Converts a value into text.  
 
|  
 
|  
|}
 
<br>
 
'''Logical'''<br>
 
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Function Name'''''
 
| '''''Description'''''
 
| '''''Parameters'''''
 
| '''''Example '''''
 
 
 
|-
 
|-
| AND
+
| TEXT
| Logical AND
+
| Converts a number to text according to a given format.
 
|  
 
|  
 
 
|-
 
|-
| FALSE
+
| TRIM
| Logical FALSE
+
| Removes extra spaces from text.
 
|  
 
|  
 
 
|-
 
|-
| IF
+
| UNICHAR
| Conditional execution
+
| Converts a code number into a Unicode character or letter.  
{| class="prettytable" cellpadding="10" border="1"
 
| '''''Parameter Description'''''
 
| A term that is evaluated if the condition evaluates to true.
 
| A term that is evaluated if the condition evaluates to false.
 
|}
 
 
|  
 
|  
 
 
|-
 
|-
| AND
+
| UNICODE
| Logical AND
+
| Returns the numeric code for the first Unicode character in a text string.
 
|  
 
|  
 
 
|-
 
|-
| OR
+
| UPPER
| Logical OR
+
| Converts text to uppercase.
 
|  
 
|  
 +
|-
 +
| URLENCODE
 +
| Applies URL-Encoding to a text given in the first parameter using the encoding specified in the second parameter. If no encoding is given, ISO-8859-1 is assumed.
 +
{| cellpadding="10" border="1" class="prettytable"
 +
|-
 +
| '''''Parameter Name'''''
 +
| '''''Parameter Description'''''
 +
|-
 +
| Encoding
 +
| The Encoding to be used.
 +
|}
  
|-
 
| TRUE
 
| Logical TRUE
 
 
|  
 
|  
 +
|}
  
 +
CONCAT or CONCATENATE functions are not supported, but you can use [Textfieldname]&" "&[Textfieldname] to concatenate text fields.
 +
 +
<br> '''Rounding'''<br>
 +
 +
{| cellpadding="10" border="1" class="prettytable"
 
|-
 
|-
| XOR
+
| '''''Function Name'''''
| Logical XOR
+
| '''''Description'''''
 +
| '''''Example'''''
 +
|-
 +
| INT
 +
| Rounds a number down to the nearest integer.
 
|  
 
|  
 
|}
 
|}
 +
 
<br>
 
<br>
 +
[[Category:Database]] [[Category:Extensions]]

Latest revision as of 13:34, 21 May 2024

There are documents also in DE - FR - ES -PT


Date/Time

Function Name Description Example
DATE Provides an internal number for the date given.
Parameter Name Parameter Description
month An integer between 1 and 12 representing the month.
day An integer between 1 and 31 representing the day of the month.
DATEDIF Returns the number of years, months, or days between two dates.
Parameter Name Parameter Description
EndDate Second date.
Format Format code.
DATEVALUE Returns an internal number for a text having a possible date format.
DAY Returns the sequential date of the month as an integer (1-31) in relation to the date value.
DAYS Calculates the number of days between two dates.
Parameter Name Parameter Description
Date_1 The start date for calculating the difference in days.
HOUR Determines the sequential number of the hour of the day (0-23) for the time value.
MINUTE Determines the sequential number for the minute of the hour (0-59) for the time value.
MONTH Determines the sequential number of a month of the year (1-12) for the date value.
NOW Determines the current time of the computer.
SECOND Determines the sequential number of the second of a minute (0-59) for the time value.
TIME Determines a time value from the details for hour, minute and second.
Parameter Name Parameter Description
minute The integer for the minute.
second The integer for the second.
TIMEVALUE Returns a sequential number for a text shown in a possible time entry format.
TODAY Determines the current date of the computer.
WEEKDAY Returns the day of the week for the date value as an integer (1-7).
Parameter Name Parameter Description
Type Fixes the beginning of the week and the type of calculation to be used.(1 = Sunday is the first day of the week, with value 1; Saturday has value 7, 2 = Monday is the first day of the week, with value 1; Sunday has value 7, 3 = Monday is the first day of the week, with value 0; Sunday has value 6)
YEAR Returns the year of a date value as an integer.


Mathematical

Function Name Description Example
ABS Absolute value of a number.
AVERAGE Returns the average of a sample.
AVERAGE Returns the average of a sample.
EVEN Rounds a positive number up and negative number down to the nearest even integer.
MAX Returns the maximum value in a list of arguments.
MAXA Returns the maximum value in a list of arguments. Text is evaluated as zero.
MIN Returns the minimum value in a list of arguments.
MINA Returns the smallest value in a list of arguments. Text is evaluated as zero.
MOD Calculates the remainder of a division.
Parameter Name Parameter Description
Divisor The number by which the dividend is divided.
ODD Rounds a positive number up and negative number down to the nearest odd integer.
SUM Returns the sum of all arguments.


Logical

Function Name Description Example
AND Returns TRUE if all arguments are TRUE.
FALSE Defines the logical value as FALSE.
IF Specifies a logical test to be performed.
Parameter Name Parameter Description
Then_value The result of the function if the logical test returns a TRUE.
Otherwise_value The result of the function if the logical test returns FALSE.
NOT Reverses the value of the argument.
OR Returns TRUE if an argument is TRUE.
TRUE Returns the logical value TRUE.
XOR Returns TRUE if a odd number of arguments are TRUE.


Information

Function Name Description Example
CHOOSE Selects a value from a list of up to 30 value arguments.
Parameter Name Parameter Description
value Value 1, value 2,... The list of arguments from which a value is chosen.
COUNT Counts how many numbers are in the list of arguments.
COUNTA Counts how many values are in the list of arguments.
COUNTBLANK Counts the blank cells in a specified range.
HASCHANGED Checks whether the columns specified by the given names has changed. Place a column name between double quotes.
ISBLANK Returns TRUE if value refers to an empty cell.
ISERR Returns TRUE if the value is an error value not equal to #N/A.
ISERROR Returns TRUE if the value is an error value.
ISEVEN Returns TRUE if value is an even integer.
ISLOGICAL Returns TRUE if the value carries a logical number format.
ISNA Returns TRUE if value equals #N/A.
ISNONTEXT Returns TRUE if the value is not text.
ISNUMBER Returns TRUE if value is a number.
ISODD Returns TRUE if value is an odd integer.
ISREF Returns TRUE if value is a reference.
ISTEXT Returns TRUE if value is text.
NA Not available. Returns the error value #N/A.


User-Defined

Function Name Description Example
NULL Returns a NULL-Value


Text

Function Name Description Example
EXACT Specifies whether two texts are identical.
Parameter Name Parameter Description
text_2 The second text for comparing texts.
FIND Looks for a string of text within another (case sensitive)
Parameter Name Parameter Description
text The text in which a search is to be made.
position The position in the text from which the search starts.
LEFT Returns the first character or characters of a text.
Parameter Name Parameter Description
number The number of characters for the start text.
LEN Calculates length of a text string.
LOWER Converts text to lowercase.
MID Returns a partial text string of a text.
Parameter Name Parameter Description
start The position from which the part word is to be determined.
number The number of characters for the text.
REPLACE Replaces characters within a text string with a different text string.
Parameter Name Parameter Description
position The character position from which text is to be replaced.
length The number of characters to be replaced.
new text The text to be inserted.
REPT Repeats text a given number of times.
Parameter Name Parameter Description
number The number of times the text is to be repeated.
RIGHT Returns the last character or characters of a text.
Parameter Name Parameter Description
number The number of characters for the end text.
SUBSTITUTE Substitutes new text for old text in a string.
Parameter Name Parameter Description
search_text The partial string to be (repeatedly) replaced.
new text The text which is to replace the text string.
occurrence Which occurence of the old text is to be replaced.
T Converts a value into text.
TEXT Converts a number to text according to a given format.
TRIM Removes extra spaces from text.
UNICHAR Converts a code number into a Unicode character or letter.
UNICODE Returns the numeric code for the first Unicode character in a text string.
UPPER Converts text to uppercase.
URLENCODE Applies URL-Encoding to a text given in the first parameter using the encoding specified in the second parameter. If no encoding is given, ISO-8859-1 is assumed.
Parameter Name Parameter Description
Encoding The Encoding to be used.

CONCAT or CONCATENATE functions are not supported, but you can use [Textfieldname]&" "&[Textfieldname] to concatenate text fields.


Rounding

Function Name Description Example
INT Rounds a number down to the nearest integer.


Personal tools
In other languages