Informaj funkcioj

Ĉi tiu kategorio enhavas la funkciojn Informoj.

Por atingi ĉi tiun komandon...

Enmeti - Funkcion - Kategorio Informa


La datumoj en la jena tabelo servas kiel la bazo por iuj ekzemploj en la funkciaj priskriboj:

C

D

2

x-valoro

y-valoro

3

-5

-3

4

-2

0

5

-1

1

6

0

3

7

2

4

8

4

6

9

6

8


AKTUALA

This function returns the result to date of evaluating the formula of which it is a part (in other words the result as far as that evaluation has got). Its main use is together with the STYLE() function to apply selected styles to a cell depending on the cell contents.

Sintakso

AKTUALA()

Ekzemplo

=1+2+CURRENT()

The example returns 6. The formula is calculated from left to right as: 1 + 2 equals 3, giving the result to date when CURRENT() is encountered; CURRENT() therefore yields 3, which is added to the original 3 to give 6.

=A2+B2+STYLE(IF(CURRENT()>10;”Red”;”Default”))

The example returns A2 + B2 (STYLE returns 0 here). If this sum is greater than 10, the style Red is applied to the cell. See the STYLE function for more explanation.

="choo"&CURRENT()

The example returns choochoo.

ESTASERARA

Testas por erara kondiĉo, inklude de #N/A-eraro, kaj liveras je aŭ VERA aŭ FALSA.

Se okazas eraro, la funkcio liveras logikan aŭ numeran valoron.

Sintakso

ISERROR(Value)

Valoro estas aŭ referas al la valoro testota. ESTASERARA() liveras je VERA se eraro okazis aŭ je FALSA se ne.

Ekzemplo

=ISERROR(C8) where cell C8 contains =1/0 returns TRUE, because 1/0 is an error.

=ISERROR(C9) where cell C9 contains =NA() returns TRUE.

ESTASERARA

Returns the value if the cell does not contains an error value, or the alternative value if it does.

Sintakso

IFERROR(Value;Alternate_value)

Value is the value or expression to be returned if it is not equal or results in an error.

Alternate_value is the value or expression to be returned if the expression or value of Value is equal or results in an error.

Ekzemplo

=IFERROR(C8;C9) where cell C8 contains =1/0 returns the value of C9, because 1/0 is an error.

=IFERROR(C8;C9) where cell C8 contains 13 returns 13, the value of C8, which is not an error.

ESTASERARO

Testas por eraro-kondiĉo, escepte de #N/A-eraro, kaj liveras je aŭ VERA aŭ FALSA.

Se okazas eraro, la funkcio liveras logikan aŭ numeran valoron.

Sintakso

ISERR(Value)

Valoro estas ajna valoro aŭ esprimo kiu estas testota por eltrovi ĉu ĉeestas prierara valoro krom #N/A.

Ekzemplo

=ISERR(C8) where cell C8 contains =1/0 returns TRUE, because 1/0 is an error.

=ISERR(C9) where cell C9 contains =NA() returns FALSE, because ISERR() ignores the #N/A error.

ESTASFORMULO

Liveras je VERA se ĉelo estas formula ĉelo.

Se okazas eraro, la funkcio liveras logikan aŭ numeran valoron.

Sintakso

ISFORMULA(Reference)

Referenco estas la referenco al ĉelo en kiu fari teston por eltrovi ĉu ĝi enhavas formulon.

Ekzemplo

=ISFORMULA(C4) returns FALSE if the cell C4 contains the number 5.

ESTASLOGIKA

Testas por logika valoro (VERA aŭ FALSA).

If an error occurs, the function returns FALSE.

Sintakso

ISLOGICAL(Value)

Liveras je VERA se Valoro estas logika valoro (VERA aŭ FALSA), kaj liveras je FALSA alikaze.

Ekzemplo

=ISLOGICAL(99) returns FALSE, because 99 is a number, not a logical value.

=ISLOGICAL(ISNA(D4)) returns TRUE whatever the contents of cell D4, because ISNA() returns a logical value.

ESTASMALPLENA

Liveras je VERA se la referenco al ĉelo estas malplena. Uzu ĉi tiun funkcion por testi ĉu la enhavo de ĉelo estas malplena. Ĉelo kun formulo ne estas malplena.

Se okazas eraro, la funkcio liveras logikan aŭ numeran valoron.

Sintakso

ISBLANK(Value)

Valoro estas la enhavo testota.

Ekzemplo

=ISBLANK(D2) returns FALSE as a result.

ESTASNEDISPONEBLA

Liveras je VERA se ĉelo enhavas la prieraran valoron #N/A (valoro ne estas disponebla).

If an error occurs, the function returns FALSE.

Sintakso

ISNA(Value)

Valoro estas la valoro aŭ esprimo testota.

Ekzemplo

=ISNA(D3) returns FALSE as a result.

ESTASNEDISPONEBLA

Returns the value if the cell does not contains the #N/A (value not available) error value, or the alternative value if it does.

Sintakso

IFNA(Value;Alternate_value)

Value is the value or expression to be returned if it is not equal or results in an #N/A error.

Alternate_value is the value or expression to be returned if the expression or value of Value is equal or results in an #N/A error.

Ekzemplo

=IFNA(D3;D4) returns the value of D3 if D3 does not result in an #N/A error, or D4 if it does.

ESTASNEPARA

Liveras je VERA se la valoro estas nepara, aŭ FALSA se la valoro estas para.

Sintakso

ESTASNEPARA(valoro)

Valoro estas la valoro testota.

If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.

Ekzemplo

=ESTASNEPARA_ADD(5) liveras je 1.

=ESTASNEPARA_ADD(5) liveras je 1.

=ESTASNEPARA_ADD(5) liveras je 1.

=ESTASNEPARA_ADD(5) liveras je 1.

ESTASNEPARA_ADD

Liveras je VERA (1) se la numero ne liveras entjeron kiam dividita de 2.

Note Icon

The functions whose names end with _ADD or _EXCEL2003 return the same results as the corresponding Microsoft Excel 2003 functions without the suffix. Use the functions without suffix to get results based on international standards.


Sintakso

ESTASNEPARA_ADD(Numero)

Valoro estas la enhavo testota.

Ekzemplo

=ESTASNEPARA_ADD(5) liveras je 1.

ESTASNETEKSTA

Testas ĉu la ĉela enhavo estas teksto aŭ numeroj, kaj liveras je FALSE se la enhavo estas teksto.

If an error occurs, the function returns TRUE.

Sintakso

ISNONTEXT(Value)

Valoro estas valoro aŭ esprimo kie testi por eltrovi ĉu ĝi estas teksto aŭ numeroj aŭ bulea valoro.

Ekzemplo

=ISNONTEXT(D2) returns FALSE if cell D2 contains the text abcdef.

=ISNONTEXT(D9) returns TRUE if cell D9 contains the number 8.

ESTASNUMERO

Liveras je VERA se la valoro referas al numero.

Se okazas eraro, la funkcio liveras logikan aŭ numeran valoron.

Sintakso

ISNUMBER(Value)

Valoro estas valoro testota ĉu ĝi estas numero aŭ teksto.

Ekzemplo

=ISNUMBER(C3) returns TRUE if the cell C3 contains the number 4.

=ISNUMBER(C2) returns FALSE if the cell C2 contains the text abcdef.

ESTASPARA

LIVERAS je TRUE se la valoro estas para entjero, aŭ FALSE se la valoro estas nepara.

Sintakso

ISEVEN(Value)

Valoro estas la valoro testota.

If Value is not an integer any digits after the decimal point are ignored. The sign of Value is also ignored.

Ekzemplo

=ESTASPARA_ADD(5) liveras je 0.

=ESTASPARA_ADD(5) liveras je 0.

=ESTASPARA_ADD(5) liveras je 0.

=ESTASPARA_ADD(5) liveras je 0.

=ESTASPARA_ADD(5) liveras je 0.

ESTASPARA_ADD

Tests for even numbers. Returns 1 if the number divided by 2 returns a whole number.

Note Icon

The functions whose names end with _ADD or _EXCEL2003 return the same results as the corresponding Microsoft Excel 2003 functions without the suffix. Use the functions without suffix to get results based on international standards.


Sintakso

ESTASPARA_ADD(Numero)

Valoro estas la enhavo testota.

Ekzemplo

=ESTASPARA_ADD(5) liveras je 0.

=ISEVEN_ADD(A1) returns 1 if cell A1 contains the number 2.

ESTASREFERENCO

Tests if the argument is a reference. Returns TRUE if the argument is a reference, returns FALSE otherwise. When given a reference this function does not examine the value being referenced.

Se okazas eraro, la funkcio liveras logikan aŭ numeran valoron.

Sintakso

ISREF(Value)

Valoro estas la valoro testota, por eltrovi ĉu ĝi estas referenco.

Ekzemplo

=ISREF(C5) returns the result TRUE because C5 is a valid reference.

=ISREF("abcdef") returns always FALSE because a text can never be a reference.

=BAZ16AL10(64) liveras je 100.

=ISREF(INDIRECT("A6")) returns TRUE, because INDIRECT is a function that returns a reference.

=ISREF(ADDRESS(1; 1; 2;"Sheet2")) returns FALSE, because ADDRESS is a function that returns a text, although it looks like a reference.

ESTASTEKSTO

Liveras je VERA se la ĉela enhavo referas al teksto.

If an error occurs, the function returns FALSE.

Sintakso

ISTEXT(Value)

Valoro estas valoro, numero, bulea valoro, aŭ prierara valoro testota.

Ekzemplo

=ISTEXT(D9) returns TRUE if cell D9 contains the text abcdef.

=ISTEXT(C3) returns FALSE if cell C3 contains the number 3.

FORMULO

Vidigas la formulon de formula ĉelo kiel tekstan ĉenon.

Sintakso

FORMULA(Reference)

Reference is a reference to a cell containing a formula.

Nevalida referenco aŭ referenco al ĉelo kiu ne havas formulon rezultigas eraron #N/A.

Ekzemplo

Se ĉelo A8 enhavas la formulon =SUMO(1;2;3) tiam

=FORMULA(A8) returns the text =SUM(1;2;3).

INFO

Liveras specifan informon pri la aktuala labormedio. La funkcio ricevas unu argumenton kaj liveras datumojn kiuj dependas de tiu parametro.

Sintakso

INFO("Type")

The following table lists the values for the text parameter Type and the return values of the INFO function.

Value for "Type"

Livera valoro

"osversion"

Ĉiam "Windows (32-bit) NT 5.01", pro kongruecaj kialoj

"system"

La tipo de mastruma sistemo.
"WNT" por Microsoft Windows
"LINŬ" por Linukso
"SOLARIS" por Solaris

"release"

The product release identifier, for example "300m25(Build:9876)"

"numfile"

Ĉiam 1, pro kongruecaj kialoj

"recalc"

Aktuala formula rekalkula reĝimo, aŭ "Aŭtomata" aŭ "Mana" (en la lingvo de LibreOffice)


Note Icon

Other spreadsheet applications may accept localized values for the Type parameter, but LibreOffice Calc will only accept the English values.


Ekzemplo

=INFO("eldono") liveras la produktan eldonan numeron de la uzata LibreOffice.

=INFO(D5) with cell D5 containing a text string system returns the operation system type.

N

Returns the numeric value of the given parameter. Returns 0 if parameter is text or FALSE.

If an error occurs the function returns the error value.

Sintakso

N(Value)

Value is the parameter to be converted into a number. N() returns the numeric value if it can. It returns the logical values TRUE and FALSE as 1 and 0 respectively. It returns text as 0.

Ekzemplo

=DELTA(1;2) liveras je 0.

=GESALT(5;1) liveras je 1.

=DELTA(1;2) liveras je 0.

=DELTA(1;2) liveras je 0.

=N(1/0) returns #DIV/0!

NA

Liveras la prieraran valoron #N/A.

Sintakso

NA()

Ekzemplo

=NA() converts the contents of the cell into #N/A.

TIPO

Returns the type of value, where 1 = number, 2 = text, 4 = Boolean value, 8 = formula, 16 = error value, 64 = array.

Se okazas eraro, la funkcio liveras logikan aŭ numeran valoron.

Sintakso

TYPE(Value)

Value is a specific value for which the data type is determined.

Ekzemplo (rigardu ekzemplan tabelon supre)

=TYPE(C2) returns 2 as a result.

=TYPE(D9) returns 1 as a result.

ĈELO

Liveras informon pri la adreso, formato aŭ enhavo de ĉelo.

Sintakso

CELL("InfoType"; Reference)

InfoType is the character string that specifies the type of information. The character string is always in English. Upper or lower case is optional.

InfoType

Signifo

COL

Liveras la nombron de la referencita kolumno.

=DELTA(1;2) liveras je 0.

ROW

Liveras la nombron de la referencita vico.

=DELTA(1;2) liveras je 0.

SHEET

Liveras la nombron de la referencita folio.

=DELTA(1;2) liveras je 0.

ADDRESS

Liveras la absolutan adreson de la referencita ĉelo.

=ĈELO("ADRESO";D2) liveras je $D$2.

=Ĉelo("ADRESO";Folio3.D2) liveras je $Sheet3.$D$2.

=CELL("ADDRESS";'X:\dr\test.ods'#$Sheet1.D2) returns 'file:///X:/dr/test.ods'#$Sheet1.$D$2.

FILENAME

Liveras la dosiernomon kaj la folian nombron de la referencita ĉelo.

=CELL("FILENAME";D2) returns 'file:///X:/dr/own.ods'#$Sheet1, if the formula in the current document X:\dr\own.ods is located in Sheet1.

=CELL("FILENAME";'X:\dr\test.ods'#$Sheet1.D2) returns 'file:///X:/dr/test.ods'#$Sheet1.

COORD

Returns the complete cell address in Lotus™ notation.

=Ĉelo("KOORD";D2) liveras je $A:$D$2.

=CELL("COORD"; Sheet3.D2) liveras je $C:$D$2.

CONTENTS

Liveras la enhavon de la referencita ĉelo sen formato.

TYPE

Liveras la tipon de la ĉela enhavo.

b = malplena. malplena ĉelo

l = etikedo. Teksto, rezulto de formulo kiel teksto

v = valoro. Valoro, rezulto de formulo kiel numero

WIDTH

Liveras la larĝon de la referencita kolumno. La unuo estas la numero da nuloj (0) kiuj sidas en la kolumno en la apriora teksto kaj la apriora grando.

PREFIX

Liveras la ĝisrandigo de la referencita ĉelo.

' = ĝisrandigi maldekstren

" = gisrandigi dekstren

^ = centrigi

\ = repeating (currently inactive)

PROTECT

Liveras la staton de la ĉela protekado por la ĉelo.

1 = la ĉelo estas protektata

0 = la ĉelo ne estas protektata

FORMAT

Liveras la signoĉenon kiu difinas la numeran formaton.

, = numero kun disigilo de miloj

F = numero sen disigilo de miloj

C = valuta formato

S = eksponenciala formato, ekzemple, 1,234+E56

P = elcento

En la supraj formatoj, la nombro da dekumaj pozicioj post la dekuma markilo prezentiĝas kiel numero. Ekzemple: la numera formato #.##0,0 liveras je ,1 kaj la numera formato 00,000% liveras je P3

D1 = MMM-T-JJ, MM-T-JJ kaj similaj formatoj.

D2 = TT-MM

D3 = MM-JJ

D4 = DD-TT-JJJJ HH:MM:SS

D5 = MM-TT

D6 = HH:MM:SS ATM/PTM

D7 = HH:MM ATM/PTM

D8 = HH:MM:SS

D9 = HH:MM

G = ĉiuj aliaj formatoj

- (Minuso) ĉe la fino = negativaj numeroj formatiĝas kolore

() (krampoj) ĉe la fino = maldekstra krampo troviĝas en la formata kodo

COLOR

Liveras je 1, se negativaj valoroj estas formatitaj kolore, alie 0.

PARENTHESES

Liveras 1 se la formata kodo enhavas maldekstran krampon (, alie 0.


Referenco (listo de ebloj) estas la pozicio de la ĉelo testota. Se Referenco estas ĉelaro, la ĉelo moviĝas al la supra maldekstro de la aro. Se Referenco mankas, LibreOffice Calc uzas la pozicion de la ĉelo en kiu la formulo troviĝas. Microsoft Excel uzas la referencon de la ĉelo en kiu la kursoro troviĝas.