Mathematical Functions

This category contains the Mathematical functions for Calc. To open the Function Wizard, choose Insert - Function.

KOLEKTI

This function returns an aggregate result of the calculations in the range. You can use different aggregate functions listed below. The Aggregate function enables you to omit hidden rows, errors, SUBTOTAL and other AGGREGATE function results in the calculation.

RAWSUBTRACT

Subtracts a set of numbers and gives the result without eliminating small roundoff errors.

SUM

Adds a set of numbers.

KOLORO

Return a numeric value calculated by a combination of three colors (red, green and blue) and the alpha channel, in the RGBA color system. The result depends on the color system used by your computer.

SUMIFS

Returns the sum of the values of cells in a range that meets multiple criteria in multiple ranges.

ABS

Liveras la absolutan valoron de numero.

Sintakso

ABS(Numero)

Numero estas la numero kies absoluta valoro estas kalkulota. La absoluta valoro de numero estas ĝia valoro sen la signumo +/-.

Ekzemplo

=GESALT(5;1) liveras je 1.

=DELTA(1;2) liveras je 0.

=DELTA(1;2) liveras je 0.

ARKKOS

Liveras la inversan trigonometrian kosinuson de numero.

Sintakso

ARKKOS(Numero)

This function returns the inverse trigonometric cosine of Number, that is the angle (in radians) whose cosine is Number. The angle returned is between 0 and PI.

Por liveri la angulon en gradoj, uzu la GRADOJ-funkcion.

Ekzemplo

=PI() liveras je 3,14159265358979.

=DEGREES(ACOS(0.5)) returns 60. The cosine of 60 degrees is 0.5.

Malfermi dosieron kun ekzemplo:

ARKKOTANG

Liveras la inversan kotangenton (la kotangentarkon) de la donita numero.

Sintakso

ARKKOTANG(Numero)

This function returns the inverse trigonometric cotangent of Number, that is the angle (in radians) whose cotangent is Number. The angle returned is between 0 and PI.

Por liveri la angulon en gradoj, uzu la GRADOJ-funkcion.

Ekzemplo

=PI() liveras je 3,14159265358979.

=DEGREES(ACOT(1)) returns 45. The tangent of 45 degrees is 1.

Malfermi dosieron kun ekzemplo:

ARKOSH

Liveras la inversan hiperbolan kosinuson de numero.

Sintakso

ARKOSH(Numero)

This function returns the inverse hyperbolic cosine of Number, that is the number whose hyperbolic cosine is Number.

Number must be greater than or equal to 1.

Ekzemplo

=DELTA(1;2) liveras je 0.

=ESTASNEPARA_ADD(5) liveras je 1.

Malfermi dosieron kun ekzemplo:

ARKOTANGH

Liveras la inversan hiperbolan kotangenton de la donita numero.

Sintakso

ARKKOTANG(Numero)

This function returns the inverse hyperbolic cotangent of Number, that is the number whose hyperbolic cotangent is Number.

An error results if Number is between -1 and 1 inclusive.

Ekzemplo

=ACOTH(1.1) returns inverse hyperbolic cotangent of 1.1, approximately 1.52226.

Malfermi dosieron kun ekzemplo:

ARKSIN

Liveras la inversan trigonometrian sinuson de numero.

Sintakso

ARKSINH(Numero)

This function returns the inverse trigonometric sine of Number, that is the angle (in radians) whose sine is Number. The angle returned is between -PI/2 and +PI/2.

Por liveri la angulon en gradoj, uzu la GRADOJ-funkcion.

Ekzemplo

=DELTA(1;2) liveras je 0.

=PI() liveras je 3,14159265358979.

=DEGREES(ASIN(0.5)) returns 30. The sine of 30 degrees is 0.5.

Malfermi dosieron kun ekzemplo:

ARKSINH

Liveras la inversan hiperbolan sinuson de numero.

Sintakso

ARKSINH(Numero)

This function returns the inverse hyperbolic sine of Number, that is the number whose hyperbolic sine is Number.

Ekzemplo

=ASINH(-90) returns approximately -5.1929877.

=ESTASNEPARA_ADD(5) liveras je 1.

Malfermi dosieron kun ekzemplo:

ARKTANG

Liveras la inversan trigonometrian tangenton de numero.

Sintakso

ARKTANG(Numero)

This function returns the inverse trigonometric tangent of Number, that is the angle (in radians) whose tangent is Number. The angle returned is between -PI/2 and PI/2.

Por liveri la angulon en gradoj, uzu la GRADOJ-funkcion.

Ekzemplo

=PI() liveras je 3,14159265358979.

=DEGREES(ATAN(1)) returns 45. The tangent of 45 degrees is 1.

Malfermi dosieron kun ekzemplo:

ARKTANG2

Returns the angle (in radians) between the x-axis and a line from the origin to the point (NumberX|NumberY).

note

This function is part of the Open Document Format for Office Applications (OpenDocument) standard Version 1.2. (ISO/IEC 26300:2-2015)


Sintakso

ATAN2(NumberX; NumberY)

NumberX is the value of the x coordinate.

Numero estas la valoro de la funkcio.

tip

Programming languages have usually the opposite order of arguments for their atan2() function.


ATAN2 returns the angle (in radians) between the x-axis and a line from the origin to the point (NumberX|NumberY)

Ekzemplo

=ATAN2(-5;9) returns 2.07789 radians.

To get the angle in degrees apply the DEGREES function to the result.

=DEGREES(ATAN2(12.3;12.3)) returns 45. The tangent of 45 degrees is 1.

note

LibreOffice results 0 for ATAN2(0;0).


The function can be used in converting cartesian coordinates to polar coordinates.

=DEGREES(ATAN2(-8;5)) returns Ļ† = 147.9 degrees

Cartesian coordinates to polar coordinates example

Malfermi dosieron kun ekzemplo:

ARTANGH

Liveras la inversan hiperbolan tangenton de numero.

Sintakso

ARKTANGH(Numero)

This function returns the inverse hyperbolic tangent of Number, that is the number whose hyperbolic tangent is Number.

Number must obey the condition -1 < number < 1.

Ekzemplo

=DELTA(1;2) liveras je 0.

Malfermi dosieron kun ekzemplo:

CONVERT_OOO

Converts to euros a currency value expressed in one of the legacy currencies of 19 member states of the Eurozone, and vice versa. The conversion uses the fixed exchange rates at which the legacy currencies entered the euro.

tip

We recommend using the more flexible EUROCONVERT function for converting between these currencies. CONVERT_OOO is not a standardized function and is not portable.


Sintakso

CONVERT_OOO(Value; "Text1"; "Text2")

Value is the amount of the currency to be converted.

Text1 is a three-character string that specifies the currency to be converted from.

Text2 is a three-character string that specifies the currency to be converted to.

Text1 and Text2 must each take one of the following values: "ATS", "BEF", "CYP", "DEM", "EEK", "ESP", "EUR", "FIM", "FRF", "GRD", "IEP", "ITL", "LTL", "LUF", "LVL", "MTL", "NLG", "PTE", "SIT", and "SKK".

One, and only one, of Text1 or Text2 must be equal to "EUR".

Ekzemplo

=CONVERT_OOO(100;"ATS";"EUR") returns the euro value of 100 Austrian schillings.

=CONVERT_OOO(100;"EUR";"DEM") converts 100 euros into German marks.

tip

Refer to the CONVERT_OOO wiki page for more details about this function.


CSC

Returns the cosecant of the given angle (in radians). The cosecant of an angle is equivalent to 1 divided by the sine of that angle

tip

Ĉi tiu funkcio disponeblas ekde versio 3.5 de LibreOffice.


Sintakso

KOSH(Numero)

Liveras la (trigonometrian) kosinuson de Numero, la angulo en radianoj.

Por liveri la kosinuson de angulo en gradoj, uzu la GRAD-funkcion.

Ekzemplo

=CSC(PI()/4) returns approximately 1.4142135624, the inverse of the sine of PI/4 radians.

=CSC(RADIANS(30)) returns 2, the cosecant of 30 degrees.

Malfermi dosieron kun ekzemplo:

CSCH

Liveras la hiperbolan kosekanton de numero.

tip

Ĉi tiu funkcio disponeblas ekde versio 3.5 de LibreOffice.


Sintakso

KOSH(Numero)

Liveras la hiperbolan kosinuson de Numero.

Ekzemplo

=CSCH(1) returns approximately 0.8509181282, the hyperbolic cosecant of 1.

Malfermi dosieron kun ekzemplo:

EKSP

Returns e raised to the power of a number. The constant e has a value of approximately 2.71828182845904.

Sintakso

TAGO(Nombro)

Numero estas la eksponento montranta ĝis kia potenco e estas altigota.

Ekzemplo

=EXP(1) returns 2.71828182845904, the mathematical constant e to Calc's accuracy.

ENT

Subrondigas numeron al la antaÅ­a entjero.

Sintakso

KOT(Numero)

Returns Number rounded down to the nearest integer.

Negativaj numeroj rondiĝas al la sekva malplia entjero.

Ekzemplo

=GESALT(5;1) liveras je 1.

=DELTA(1;2) liveras je 0.

EUROCONVERT

Converts between old European national currency and to and from Euros.

Sintakso

EUROCONVERT(Value; "From_currency"; "To_currency" [; full_precision [; triangulation_precision]])

Value is the amount of the currency to be converted.

From_currency and To_currency are the currency units to convert from and to respectively. These must be text, the official abbreviation for the currency (for example, "EUR"). The rates (shown per Euro) were set by the European Commission.

Full_precision is optional. If omitted or False, the result is rounded according to the decimals of the To currency. If Full_precision is True, the result is not rounded.

Triangulation_precision is optional. If Triangulation_precision is given and >=3, the intermediate result of a triangular conversion (currency1,EUR,currency2) is rounded to that precision. If Triangulation_precision is omitted, the intermediate result is not rounded. Also if To currency is "EUR", Triangulation_precision is used as if triangulation was needed and conversion from EUR to EUR was applied.

Ekzemploj:

=EUROCONVERT(100;"ATS";"EUR") converts 100 Austrian Schillings into Euros.

=EUROCONVERT(100;"EUR";"DEM") converts 100 Euros into German Marks.

FAKT

Liveras la faktorialon de numero.

Sintakso

ARKKOTANG(Numero)

Returns Number!, the factorial of Number, calculated as 1*2*3*4* ... * Number.

FAKDUOBL(0) liveras je 1 laÅ­ difino.

La faktorialo de negativa numero liveras la prieraran mesaĝon "nevalida argumento".

Ekzemplo

=DELTA(1;2) liveras je 0.

=GESALT(5;1) liveras je 1.

GCD_EXCEL2003

The result is the greatest common divisor of a list of numbers.

note

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

GCD_EXCEL2003(Number 1 [; Number 2 [; ā€¦ [; Number 255]]])

Number 1, Number 2, ā€¦ , Number 255 are numbers, references to cells or to cell ranges of numbers.

Ekzemplo

=GCD_EXCEL2003(5;15;25) returns 5.

GRADOJ

Konvertas radianojn al gradoj.

Sintakso

DEGREES(Number)

Numero estas la angulo en radianoj konvertota al gradoj.

Ekzemplo

=DEGREES(PI()) returns 180 degrees.

HAZARD

Liveras hazardan entjeron inter 0 kaj 1.

This function is always recalculated whenever a recalculation occurs.

Sintakso

HAZARD()

This function produces a new random number each time Calc recalculates. To force Calc to recalculate manually press F9.

To generate random numbers which never recalculate, either:

Ekzemplo

=RAND() returns a random number between 0 and 1.

HAZARDINTER

Liveras entjeran hazardan numeron en specifita amplekso.

This function is always recalculated whenever a recalculation occurs.

Sintakso

HAZARDINTER(malsupro; supro)

Returns an integer random number between integers Bottom and Top (both inclusive).

This function produces a new random number each time Calc recalculates. To force Calc to recalculate manually press F9.

To generate random numbers which never recalculate, copy cells containing this function, and use Edit - Paste Special (with Paste All and Formulas not marked and Numbers marked).

Ekzemplo

=HAZARDINTER(20;30) liveras entjeron kies valoro estu inter 20 kaj 30.

KOMBIN

Returns the number of combinations for elements without repetition.

Sintakso

COMBIN(Count1; Count2)

Count1 is the number of items in the set.

Count2 is the number of items to choose from the set.

COMBIN returns the number of ordered ways to choose these items. For example if there are 3 items A, B and C in a set, you can choose 2 items in 3 different ways, namely AB, AC and BC.

COMBIN implements the formula: Count1!/(Count2!*(Count1-Count2)!)

Ekzemplo

=DELTA(1;2) liveras je 0.

KOMBIN2

Returns the number of combinations of a subset of items including repetitions.

Sintakso

COMBINA(Count1; Count2)

Count1 is the number of items in the set.

Count2 is the number of items to choose from the set.

COMBINA returns the number of unique ways to choose these items, where the order of choosing is irrelevant, and repetition of items is allowed. For example if there are 3 items A, B and C in a set, you can choose 2 items in 6 different ways, namely AA, AB, AC, BB, BC and CC.

COMBINA implements the formula: (Count1+Count2-1)! / (Count2!(Count1-1)!)

Ekzemplo

=DELTA(1;2) liveras je 0.

KOS

Liveras la kosinuson de la donita angulo (en radianoj).

Sintakso

KOS(Numero)

Liveras la (trigonometrian) kosinuson de Numero, la angulo en radianoj.

Por liveri la kosinuson de angulo en gradoj, uzu la GRAD-funkcion.

Ekzemplo

=COS(PI()*2) returns 1, the cosine of 2*PI radians.

=COS(RADIANS(60)) returns 0.5, the cosine of 60 degrees.

Malfermi dosieron kun ekzemplo:

KOSH

Liveras la hiperbolan kosinuson de numero.

Sintakso

KOSH(Numero)

Liveras la hiperbolan kosinuson de Numero.

Ekzemplo

=COSH(0) returns 1, the hyperbolic cosine of 0.

Malfermi dosieron kun ekzemplo:

KOT

Liveras la kotangenton de la donita angulo (en radianoj).

Sintakso

KOT(Numero)

Liveras la (trigonometrian) kotangenton de Numero, la angulo en radianoj.

Por liveri la kotangenton de angulo en gradoj, uzu la RAD-funkcion.

La kotangento de angulo egalas al 1 dividita de la tangento de tiu angulo.

Ekzemploj:

=COT(PI()/4) returns 1, the cotangent of PI/4 radians.

=COT(RADIANS(45)) returns 1, the cotangent of 45 degrees.

Malfermi dosieron kun ekzemplo:

KOTANGH

Liveras la hiperbolan kotangenton de donita numero (angulo).

Sintakso

KOTANGH(Numero)

Liveras la hiperbolan kosinuson de Numero.

Ekzemplo

=COTH(1) returns the hyperbolic cotangent of 1, approximately 1.3130.

Malfermi dosieron kun ekzemplo:

KVOCIENT

Liveras la entjeran parton de divido.

Sintakso

QUOTIENT(Numerator; Denominator)

Returns the integer part of Numerator divided by Denominator.

QUOTIENT is equivalent to INT(numerator/denominator) for same-sign numerator and denominator, except that it may report errors with different error codes. More generally, it is equivalent to INT(numerator/denominator/SIGN(numerator/denominator))*SIGN(numerator/denominator).

Ekzemplo

=KVOCIENT(11;3) liveras je 3. La resto 2 perdiĝas.

KVRAD

liveras la pozitivan kvadratan radikon de numero.

Sintakso

KVRADPI(numero)

Returns the positive square root of Number.

Number must be positive.

Ekzemplo

=DELTA(1;2) liveras je 0.

=SQRT(-16) returns an invalid argument error.

KVRADPI

Liveras la kvadratan radikon de (PI * numero).

Sintakso

KVRADPI(numero)

Returns the positive square root of (PI multiplied by Number).

This is equivalent to SQRT(PI()*Number).

Ekzemplo

=SQRTPI(2) returns the squareroot of (2PI), approximately 2.506628.

LCM_EXCEL2003

The result is the lowest common multiple of a list of numbers.

note

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

LCM_EXCEL2003(Number 1 [; Number 2 [; ā€¦ [; Number 255]]])

Number 1, Number 2, ā€¦ , Number 255 are numbers, references to cells or to cell ranges of numbers.

Ekzemplo

=LCM_EXCEL2003(5;15;25) returns 75.

LN

Liveras la naturan logaritmon bazitan sur la konstanto e de numero. La konstanto e havas la valoron 2,71828182845904 (proksimume).

Sintakso

ARKTANG(Numero)

Numero estas la valoro kies natura logaritmo estas kalkulota.

Ekzemplo

=LN(3) returns the natural logarithm of 3 (approximately 1.0986).

=GESALT(5;1) liveras je 1.

LOG

Liveras la logaritmon de numero por la specifa bazo.

Sintakso

LOG(Number [; Base])

Numero estas la valoro kies logaritmo estas kalkulota.

Base (optional) is the base for the logarithm calculation. If omitted, Base 10 is assumed.

Ekzemplo

=LOG(10;3) returns the logarithm to base 3 of 10 (approximately 2.0959).

=DELTA(1;2) liveras je 0.

LOG10

Liveras la 10-bazan logaritmon de numero.

Sintakso

LOG10(Number)

Returns the logarithm to base 10 of Number.

Ekzemplo

=LOG10(5) returns the base-10 logarithm of 5 (approximately 0.69897).

MOD

Liveras la reston kiam entjero estas dividita de alia.

Sintakso

MOD(Dividendo; Divizoro)

For integer arguments this function returns Dividend modulo Divisor, that is the remainder when Dividend is divided by Divisor.

This function is implemented as Dividend - Divisor * INT(Dividend/Divisor) , and this formula gives the result if the arguments are not integer.

Ekzemplo

=MOD(22;3) returns 1, the remainder when 22 is divided by 3.

=PMKO_ADD(=LCM_ADD(5;15;25) liveras je 75.

MRONDIGI

Liveras la numeron rondigita al la plej proksima oblo de alia numero.

Sintakso

MRONDIGI(numero; oblo)

Liveras numeron rondigita al la plej proksima oblo de oblo.

Alternativa realigo estus Oblo * RONDIGI(numero/oblo).

Ekzemplo

=MROUND(15.5;3) returns 15, as 15.5 is closer to 15 (= 3*5) than to 18 (= 3*6).

=MROUND(1.4;0.5) returns 1.5 (= 0.5*3).

MULTNOMIAL

Returns the factorial of the sum of the arguments divided by the product of the factorials of the arguments.

Sintakso

MULTINOMIAL(Number 1 [; Number 2 [; ā€¦ [; Number 255]]])

Number 1, Number 2, ā€¦ , Number 255 are numbers, references to cells or to cell ranges of numbers.

note

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


Ekzemplo

=MULTINOMIAL(F11:H11) returns 1260, if F11 to H11 contain the values 2, 3 and 4. This corresponds to the formula =(2+3+4)! / (2!*3!*4!)

NEPARIGI

Superrondigas pozitivan numeron al la plej proksima nepara entjero kaj subrondigas negativan numeron al la plej proksima nepara entjero.

Sintakso

HORO(Nombro)

Returns Number rounded to the next odd integer up, away from zero.

Ekzemplo

=DELTA(1;2) liveras je 0.

=ESTASNEPARA_ADD(5) liveras je 1.

=ESTASNEPARA_ADD(5) liveras je 1.

=ESTASNEPARA_ADD(5) liveras je 1.

PARIGI

Superrondigas pozitivan numeron al la sekva para entjero kaj subrondigas negativan numeron al la antaÅ­a para entjero.

Sintakso

ARKTANG(Numero)

Returns Number rounded to the next even integer up, away from zero.

Ekzemplo

=GESALT(5;1) liveras je 1.

=DELTA(1;2) liveras je 0.

=ESTASPARA_ADD(5) liveras je 0.

=ESTASPARA_ADD(5) liveras je 0.

PGKD

Liveras la plej grandan komunan divizoron de du aÅ­ pliaj entjeroj.

La plej granda komuna divizoro estas la pozitiva plej granda entjero kiu dividas, sen resto, ĉiun donitan entjeron.

Sintakso

GCD(Integer 1 [; Integer 2 [; ā€¦ [; Integer 255]]])

Integer 1, Integer 2, ā€¦ , Integer 255 are integers, references to cells or to cell ranges of integers.

note

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


Ekzemplo

=GCD(16;32;24) gives the result 8, because 8 is the largest number that can divide 16, 24 and 32 without a remainder.

=GCD(B1:B3) where cells B1, B2, B3 contain 9, 12, 9 gives 3.

PI

Liveras je 3,14159265358979, la valoro de la matematika konstanto PI al 14 dekumaj lokoj.

Sintakso

PI()

Ekzemplo

=PI() liveras je 3,14159265358979.

PMKO

Liveras la plej malgrandan komunan oblon de unu aÅ­ pliaj entjero(j).

Sintakso

LCM(Integer 1 [; Integer 2 [; ā€¦ [; Integer 255]]])

Integer 1, Integer 2, ā€¦ , Integer 255 are integers, references to cells or to cell ranges of integers.

note

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


Ekzemplo

If you enter the numbers 512; 1024 and 2000 as Integer 1;2 and 3, then 128000 will be returned.

POTENCIGI

Liveras numeron potencigita al potenco.

Sintakso

POWER(Base; Exponent)

Returns Base raised to the power of Exponent.

Eblas atingi la saman rezulton uzante la eksponencialigan operatoron ^:

Base^Exponent

note

=POWER(0,0) returns 1.


Ekzemplo

=POWER(4;3) returns 64, which is 4 to the power of 3.

=4^3 also returns 4 to the power of 3.

PRODUTO

Multiplikas ĉiujn numerojn donitajn kiel argumentojn kaj liveras la produton.

Sintakso

PRODUCT(Number 1 [; Number 2 [; ā€¦ [; Number 255]]])

Number 1, Number 2, ā€¦ , Number 255 are numbers, references to cells or to cell ranges of numbers.

note

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


Ekzemplo

=BAZ10AL8(100;4) liveras je 0144.

RADIANOJ

Konvertas gradoj al radianoj.

Sintakso

RADIANS(Number)

Numero estas la angulo en radianoj konvertota al gradoj.

Ekzemplo

=RADIANS(90) returns 1.5707963267949, which is PI/2 to Calc's accuracy.

RAND.NV

Returns a non-volatile random number between 0 and 1.

Sintakso

RAND.NV()

This function produces a non-volatile random number on input. A non-volatile function is not recalculated at new input events. The function does not recalculate when pressing F9, except when the cursor is on the cell containing the function or using the Recalculate Hard command (Shift++F9). The function is recalculated when opening the file.

Ekzemplo

=RAND.NV() returns a non-volatile random number between 0 and 1.

Technical information

tip

Ĉi tiu funkcio disponeblas ekde versio 7.0 de LibreOffice.


This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

ORG.LIBREOFFICE.RAND.NV

RANDBETWEEN.NV

Returns an non-volatile integer random number in a specified range.

Sintakso

RANDBETWEEN.NV(Bottom; Top)

Returns an non-volatile integer random number between integers Bottom and Top (both inclusive). A non-volatile function is not recalculated at new input events or pressing F9. However, the function is recalculated when pressing F9 with the cursor on the cell containing the function, when opening the file, when using the Recalculate Hard command (Shift++F9) and when Top or Bottom are recalculated.

Ekzemplo

=RANDBETWEEN.NV(20;30) returns a non-volatile integer between 20 and 30.

=RANDBETWEEN.NV(A1;30) returns a non-volatile integer between the value of cell A1 and 30. The function is recalculated when the contents of cell A1 change.

Technical information

tip

Ĉi tiu funkcio disponeblas ekde versio 7.0 de LibreOffice.


This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

ORG.LIBREOFFICE.RANDBETWEEN.NV

RONDIGI

Rondigas numeron al specifita nombro da dekumaj pozicioj.

Sintakso

ROUND(Number [; Count])

Returns Number rounded to Count decimal places. If Count is omitted or zero, the function rounds to the nearest integer. If Count is negative, the function rounds to the nearest 10, 100, 1000, etc.

Ĉi tiu funkcio rondigas al la plej proksima numero. Vidu ĉe SUBRONDIGI kaj SUPERRONDIGI por alternativoj.

Ekzemplo

=DELTA(1;2) liveras je 0.

=ROUND(-32.4834;3) returns -32.483. Change the cell format to see all decimals.

=DELTA(1;2) liveras je 0.

=DELTA(1;2) liveras je 0.

=BAZ16AL10(64) liveras je 100.

RONDIGI.SUPREN

Superrondigas numeron al la sekva numero, direkte for de nul, laÅ­ specifita precizo.

Sintakso

ROUNDUP(Number [; Count])

Returns Number rounded up (away from zero) to Count decimal places. If Count is omitted or zero, the function rounds up to an integer. If Count is negative, the function rounds up to the next 10, 100, 1000, etc.

Ĉi tiu funkcio rondigas direkte for de nul. Vidu je RONDIGI.MALSUPREN kaj RONDIGI por alternativoj.

Ekzemplo

=BAZ2AL10(1100100) liveras je 100.

=GESALT(5;1) liveras je 1.

=GESALT(5;1) liveras je 1.

=GESALT(5;1) liveras je 1.

=BAZ16AL10(64) liveras je 100.

ROUNDDOWN

Truncates a number while keeping a specified number of decimal digits.

SEC

Returns the secant of the given angle (in radians). The secant of an angle is equivalent to 1 divided by the cosine of that angle

tip

Ĉi tiu funkcio disponeblas ekde versio 3.5 de LibreOffice.


Sintakso

ARKSINH(Numero)

Liveras la (trigonometrian) kosinuson de Numero, la angulo en radianoj.

Por liveri la sinuson de angulo en gradoj, uzu la funkcion RADIANOJ.

Ekzemplo

=SEC(PI()/4) returns approximately 1.4142135624, the inverse of the cosine of PI/4 radians.

=SEC(RADIANS(60)) returns 2, the secant of 60 degrees.

Malfermi dosieron kun ekzemplo:

SECH

Liveras la hiperbolan sekanton de numero.

tip

Ĉi tiu funkcio disponeblas ekde versio 3.5 de LibreOffice.


Sintakso

ARKSINH(Numero)

Liveras la hiperbolan kosinuson de Numero.

Ekzemplo

=SECH(0) returns 1, the hyperbolic secant of 0.

Malfermi dosieron kun ekzemplo:

SERISUM

Sumas la unuajn terminojn de potenca serio.

SERIESSUM(x;n;m;c) = c1xn + c2xn+m + c3xn+2m + ... + cixn + (i-1)m.

Sintakso

SERIESSUM(X; N; M; Coefficients)

X is the input value for the power series.

N is the initial power

M is the increment to increase N

Coefficients is a series of coefficients. For each coefficient the series sum is extended by one section.

Ekzemplo

=SERIESSUM(A1; 0; 1; {1; 2; 3}) calculates the value of 1+2x+3x2, where x is the value in cell A1. If A1 contains 1, the formula returns 6; if A1 contains 2, the formula returns 17; if A1 contains 3, the formula returns 34; and so on.

tip

Refer to the SERIESSUM wiki page for more details about this function.


SIGNUMO

Liveras la signumon de numero. Liveras je 1 se la numero estas pozitiva, -1 se negativa kaj 0 se nul.

Sintakso

ARKSINH(Numero)

number estas la numero kies signumo estas liverota.

Ekzemplo

=GESALT(5;1) liveras je 1.

=ESTASNEPARA_ADD(5) liveras je 1.

SIN

Liveras la sinuson de donita angulo (en radianoj).

Sintakso

ARKSINH(Numero)

Liveras la (trigonometrian) kosinuson de Numero, la angulo en radianoj.

Por liveri la sinuson de angulo en gradoj, uzu la funkcion RADIANOJ.

Ekzemplo

=SIN(PI()/2) returns 1, the sine of PI/2 radians.

=SIN(RADIANS(30)) returns 0.5, the sine of 30 degrees.

Malfermi dosieron kun ekzemplo:

SINH

Liveras la hiperbolan sinuson de numero.

Sintakso

ARKSINH(Numero)

Liveras la hiperbolan kosinuson de Numero.

Ekzemplo

=SINH(0) returns 0, the hyperbolic sine of 0.

Malfermi dosieron kun ekzemplo:

SUBTOTALO

Kalkulas subtotalojn. Se ĉelaro jam enhavas subtotalojn, tiuj ne estas uzataj por pluaj kalkuloj. Uzu ĉi tiun funkcion kun AŭtomataFiltrilo por trakti nur la filtritajn rikordojn.

Sintakso

SUBTOTAL(Function; Range)

Funkcio estas numero kiu reprezentas iun el la jenaj funkcioj:

Indekso de funkcioj

(includes hidden values)

Function index

(ignores hidden values)

Funkcio

1

101

MEZUMO

2

102

NOMBRI

3

103

NOMBRIA

4

104

MAKS

5

105

MIN

6

106

PRODUTO

7

107

VAR.RAD

8

108

VAR.RAD.P

9

109

SUMO

10

110

VAR

11

111

VARP


Use numbers 1-11 to include manually hidden rows or 101-111 to exclude them; filtered-out cells are always excluded.

Ĉelaro estas la ĉelaro kies ĉeloj estas traktotaj.

note

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


Ekzemplo

You have a table in the cell range A1:B6 containing a bill of material for 10 students. Row 2 (Pen) is manually hidden. You want to see the sum of the figures that are displayed; that is, just the subtotal for the filtered rows. In this case the correct formula would be:

A

B

1

ITEM

QUANTITY

2

Pen

10

3

Pencil

10

4

Notebook

10

5

Rubber

10

6

Sharpener

10


=SUBTOTAL(9;B2:B6) returns 50.

=SUBTOTAL(109;B2:B6) returns 40.

SUMIF

Adds the cells specified by a given criterion. This function is used to sum a range when you search for a certain value.

The search supports wildcards or regular expressions. With regular expressions enabled, you can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must either precede every regular expression metacharacter or operator with a "\" character, or enclose the text into \Q...\E. You can switch the automatic evaluation of wildcards or regular expression on and off in - LibreOffice Calc - Calculate.

warning

Kiam vi uzas funkciojn kie unu aŭ pliaj argumentoj estas serĉaj kriterioj kiuj prezentas regulan esprimon, la unua provo estas konverti la kriterion al numeroj. Ekzemple, ".0" konvertiĝos al 0.0 kaj tiel plu. Se sukcesas, la kongruo ne estos regulesprima kongruo sed numera kongruo. Tamen, ŝalti al lokaĵaro kie la dekuma apartigilo ne estas punkto, funkciigas la regulespriman konverton. Por devigi kalkuli regulan esprimon anstataŭ numeran esprimon, uzu esprimon kiu ne estas mislegebla kiel numera, ekzemple ".[0]" aŭ ".\0" aŭ "(?i).0".


Sintakso

SUMIF(Range; Criterion [; SumRange])

Range is the range to which the criterion is to be applied.

Criterion: A criterion is a single cell Reference, Number or Text. It is used in comparisons with cell contents.

A reference to an empty cell is interpreted as the numeric value 0.

A matching expression can be:

SumRange is the range from which values are summed. If this parameter has not been indicated, the values found in the Range are summed.

note

SUMIF supports the reference concatenation operator (~) only in the Range parameter, and only if the optional SumRange parameter is not given.


Ekzemplo

To sum up only negative numbers: =SUMIF(A1:A10;"<0")

=SUMIF(A1:A10;">0";B1:B10) - sums values from the range B1:B10 only if the corresponding values in the range A1:A10 are >0.

Vidu je NOMBRI.SE() por pluaj sintaksaj ekzemploj uzeblaj kun SUMO.SE().

SUMOKV

Calculates the sum of the squares of a set of numbers.

Sintakso

SUMSQ(Number 1 [; Number 2 [; ā€¦ [; Number 255]]])

Number 1, Number 2, ā€¦ , Number 255 are numbers, references to cells or to cell ranges of numbers.

note

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.


Ekzemplo

If you enter the numbers 2; 3 and 4 in the Number 1; 2 and 3 arguments, 29 is returned as the result.

TAN

Liveras la tangenton de la donita angulo (en radianoj).

Sintakso

ARKTANG(Numero)

Liveras la (trigonometrian) kotangenton de Numero, la angulo en radianoj.

Por liveri la tangenton de angulo en gradoj, uzu la funkcion RADIANOJ.

Ekzemplo

=TAN(PI()/4) returns 1, the tangent of PI/4 radians.

=TAN(RADIANS(45)) returns 1, the tangent of 45 degrees.

Malfermi dosieron kun ekzemplo:

TANGH

Liveras la hiperbolan tangenton de numero.

Sintakso

ARKTANGH(Numero)

Liveras la hiperbolan kosinuson de Numero.

Ekzemplo

=TANH(0) returns 0, the hyperbolic tangent of 0.

Malfermi dosieron kun ekzemplo:

TRUNC

Truncates a number while keeping a specified number of decimal digits.

Bonvolu subteni nin!