LibreOfficeDev 25.8 Help
This category contains the Matematičke functions for Calc. To open the Čarobnjak za funkcije, choose Ubaci - Funkcija.
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.
Adds a set of numbers.
Returns the sum of the values of cells in a range that meets multiple criteria in multiple ranges.
Vraca hiperbolicku tangentu broja.
TANH(Broj)
Broj vrijednost apsolutne vrijednost koji se treba izracunati. Apsolutna vrijednost broja njegove vrijednosti u +/- znakovima.
=ODD(-3.1)vraca -5.
=ODD(1) vraca 1.
=ODD(0) vraca 1.
vraca inverzni trigonometrijski kosinus od (arc cosine) broja.
HOUR(Broj)
ova funkcija vraca inverzni trigonometrijski kosinus od Broj, that is the angle (in radians) whose cosine is Broj. The angle returned is in the range 0 to +PI.
vrati u stepenima, koristi DEGREES funkciju
=ATAN2(20; 20) returns 0.785398163397448 (PI/4 radians).
=DEGREES(ACOT(1)) returns 45. The tangent of 45 degrees is 1.
vraca inverzni hiperbolicni kosinus od datog broja.
MONTH(Broj)
ova funkcija vraca inverzni hiperbolicni kosinus odBroj, that is the number whose hyperbolic cosine is Broj.
Number must be greater than or equal to +1.
=ODD(1) vraca 1.
=CELL("COL"; D2) vraca 4.
ova funkcija vraca inverznu trigonometrijsku kontangensu od datog broja.
SQRT(Broj)
ova funkcija vraca inverznu trigonometrijsku kontangensu od Broj, that is the angle (in radians) whose cotangent is Broj. The angle returned is in the range 0 to +PI.
vrati u stepenima, koristi DEGREES funkciju
=ATAN2(20; 20) returns 0.785398163397448 (PI/4 radians).
=DEGREES(ACOT(1)) returns 45. The tangent of 45 degrees is 1.
ova funkcija vraca inverzni hiperbolicni cotangens od datog broja.
MONTH(Broj)
ova funkcija vraca inverzni hiperbolicni cotangens od Broj, that is the number whose hyperbolic cotangent is Broj.
greska akoNumber is in the range -1 to +1 inclusive.
=ACOTH(1.1) vraca hiperbolicni kontangens 1.1, approximately 1.52226.
Vraca (arc sine) broja.
SIN(Broj)
ova funkcija vraca inverzni trigonometrijski sinus odBroj, that is the angle (in radians) whose sine is Broj. The angle returned is in the range -PI/2 to +PI/2.
vrati u stepenima, koristi DEGREES funkciju
=ODD(0) vraca 1.
=ATAN2(20; 20) returns 0.785398163397448 (PI/4 radians).
=DEGREES(ACOT(1)) returns 45. The tangent of 45 degrees is 1.
vraca inverzni hiperbolicni kosinus od datog broja.
SINH(Broj)
ova funkcija je inverzni hiperbolicni sinus od Broj, that is the number whose hyperbolic sine is Broj.
=ASINH(-90) returns approximately -5.1929877.
=SIGN(3.4)vraca 1.
Vraca inveznu trigonometrijsku tangentu (arc tangent) broja.
TAN(Broj)
ova funkcija vraca inverznu trigonometrijsku tangentu od Broj, that is the angle (in radians) whose tangent is Broj. The angle returned is in the range -PI/2 to +PI/2.
vrati u stepenima, koristi DEGREES funkciju
=ATAN2(20; 20) returns 0.785398163397448 (PI/4 radians).
=DEGREES(ACOT(1)) returns 45. The tangent of 45 degrees is 1.
Returns the angle (in radians) between the x-axis and a line from the origin to the point (NumberX|NumberY).
ATAN2(Number_x; Number_y)
NumberX is the value of the x coordinate.
Number_y vrijednost y-coordinate.
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)
=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.
LibreOfficeDev 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
Vraca hiperbolicnu tangentu broja.
TANH(Broj)
ova funkcija vraca inverznu tangentu od Broj, that is the number whose hyperbolic tangent is Broj.
Numbermorate zadovoljit uslov -1 < Number < +1.
=ODD(0) vraca 1.
Returns the number of combinations for elements without repetition.
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)!)
=ODD(1.2) vraca 3.
Returns the number of combinations of a subset of items including repetitions.
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)!)
=DELTA(1; 2) vraca 0.
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.
We recommend using the more flexible EUROCONVERT function for converting between these currencies. CONVERT_OOO is not a standardized function and is not portable.
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".
=CONVERT_OOO(100;"ATS";"EUR") returns the euro value of 100 Austrian schillings.
=CONVERT_OOO(100;"EUR";"DEM") converts 100 euros into German marks.
Refer to the CONVERT_OOO wiki page for more details about this function.
Vraca kosinus datog ugla(in radians).
HOUR(Broj)
Vraca (trigonometric) kosinus Broj, the angle in radians.
Vraca kosinus ugla u stepenima, koristi RADIANS funkciju.
=SIN(PI()/2) vraca 1, sinus PI/2 radijana.
=SIN(RADIANS(30))vraca 0.5, sinus 30 stepeni.
Vraca hiperbolicni kosinus broja.
MONTH(Broj)
Vraca hiperbolicni kosinus Broj.
=SINH(0)vraca 0, hiperbolicki sinus od 0.
Vraca tangentu zadatog ugla (u radijanima).
MONTH(Broj)
Vraca (trigonometric) kotangent Broj, the angle in radians.
Vraca kotangent ugla u stepenima, koristi RADIANS function.
Kontangent ugla koji je ekvivalentat sa 1 i podijeljen tangentom tog ugla.
=TAN(PI()/4) vraca 1, tangenta PI/4 radijana.
Vraca hiperbolicku tangentu broja.
MONTH(Broj)
vraca hiperbolicni kotangent Broj.
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
MONTH(Broj)
Vraca (trigonometric) kosinus Broj, the angle in radians.
Vraca kosinus ugla u stepenima, koristi RADIANS funkciju.
=CSC(PI()/4) returns approximately 1.4142135624, the inverse of the sine of PI/4 radians.
=SIN(RADIANS(30))vraca 0.5, sinus 30 stepeni.
Vraca hiperbolicni kosinus broja.
MONTH(Broj)
Vraca hiperbolicni kosinus Broj.
=CSCH(1) returns approximately 0.8509181282, the hyperbolic cosecant of 1.
Converts radians into degrees.
DEGREES(Number)
Number is the angle in radians to be converted to degrees.
=DEGREES(PI()) returns 180 degrees.
Multiplies all the numbers given as arguments and returns the product.
PRODUCT(Number 1 [; Number 2 [; … [; Number 255]]])
=DEC2OCT(100; 4) vraca string teksta 0144.
Zaokruzuje pozitivne brojeve gore do najblizeg neparnog broja i negativne vrijednosti dole do najblizeg neparnog broja.
SIN(Broj)
Vraca Broj zaokruzeno na sljedeci neparan index gore, dalje od nule.
=SIGN(3.4)vraca 1.
=ODD(1) vraca 1.
=ODD(0) vraca 1.
=SIGN(-4.5) vraca -1.
Returns e raised to the power of a number. The constant e has a value of approximately 2.71828182845904.
YEAR(Broj)
Number is the power to which e is to be raised.
=EXP(1) returns 2.71828182845904, the mathematical constant e to Calc's accuracy.
Returns the factorial of a non-negative integer.
FACT(Integer)
Returns Integer!, the factorial of Integer, calculated as 1*2*3*4* ... * Integer.
Returns the "invalid argument" error if the argument is negative integer.
Returns the #VALUE! error if the argument is greater than 170, cause too large integer (approximately 7E+306.
=FACT(0) returns 1 by definition.
If the argument is a non-integer number, it is converted to its floor integer value.
=SQRT(16) vraca 4.
=FACT(3.8) returns 6.
=ODD(0) vraca 1.
Returns the greatest common divisor of two or more integers.
The greatest common divisor is the positive largest integer which will divide, without remainder, each of the given integers.
GCD(Integer 1 [; Integer 2 [; … [; Integer 255]]])
=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.
The result is the greatest common divisor of a list of numbers.
GCD_EXCEL2003(Number 1 [; Number 2 [; … [; Number 255]]])
=GCD_EXCEL2003(5;15;25) returns 5.
Rounds a number down to the nearest integer.
SINH(Broj)
Returns Number rounded down to the nearest integer.
Negative numbers round down to the integer below.
=SIGN(3.4)vraca 1.
=SIGN(-4.5) vraca -1.
Converts between old European national currency and to and from Euros.
EUROCONVERT(Value; "From_currency"; "To_currency" [; full_precision [; triangulation_precision]])
Vrijednostje vrijednost valute koja treba biti pretvorena.
Currency_1 and Currency_2 su jedinice valute u i iz koje se pretvara. One moraju biti tekstualne, oficijelne skracenice za valute (for example, "EUR"). Stope (prikazane po euru)su poslate od Europske Komisije.
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.
=CONVERT(100; "ATS"; "EUR") pretvara 100 austrijsih shilinga u eure.
=CONVERT(100; "EUR"; "DEM") pretvara 100 eura u njemacke marke.
Returns the least common multiple of one or more integers.
LCM(Integer 1 [; Integer 2 [; … [; Integer 255]]])
If you enter the numbers 512; 1024 and 2000 as Integer 1;2 and 3, then 128000 will be returned.
The result is the lowest common multiple of a list of numbers.
LCM_EXCEL2003(Number 1 [; Number 2 [; … [; Number 255]]])
=LCM_EXCEL2003(5;15;25) returns 75.
Rezultat je prirodni logaritam (baza e) od kompleksnog broja. Konstantni e ima vrijednost oko 2.71828182845904.
SIN(Broj)
Number is the value whose natural logarithm is to be calculated.
=LN(3) returns the natural logarithm of 3 (approximately 1.0986).
=GESTEP(5; 1) vraca 1.
Returns the logarithm of a number to the specified base.
LOG(Number [; Base])
Number is the value whose logarithm is to be calculated.
Base (optional) is the base for the logarithm calculation. If omitted, Base 10 is assumed.
=LOG(10;3) returns the logarithm to base 3 of 10 (approximately 2.0959).
=SIGN(3.4)vraca 1.
Returns the base-10 logarithm of a number.
LOG10(Number)
Returns the logarithm to base 10 of Number.
=LOG10(5) returns the base-10 logarithm of 5 (approximately 0.69897).
Returns the remainder when one integer is divided by another.
MOD(Dividend; Divisor)
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.
=MOD(22;3) returns 1, the remainder when 22 is divided by 3.
=ODD(1.2) vraca 3.
Vraca broj zaokruzen na najblizi umnozak drugog broja.
MROUND(Broj;Umnozak)
Vraca Broj zaokruzen do najblizeg umnoska Umnožak.
Alternativna primjena bi bila Multiple * ROUND(Number/Multiple).
=MROUND(15.5; 3) returnsvraca 15, kako je 15.5 blize 15 (= 3*5) nego 18 (= 3*6).
=MROUND(1.4; 0.5) vraca 1.5 (= 0.5*3).
Returns the factorial of the sum of the arguments divided by the product of the factorials of the arguments.
MULTINOMIAL(Number 1 [; Number 2 [; … [; Number 255]]])
=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!)
Zaokruzuje pozitivne brojeve gore do najblizeg neparnog broja i negativne vrijednosti dole do najblizeg neparnog broja.
NEPARAN(Broj)
Vraca Broj zaokruzeno na sljedeci neparan index gore, dalje od nule.
=ODD(1.2) vraca 3.
=ODD(1) vraca 1.
=ODD(0) vraca 1.
=ODD(-3.1)vraca -5.
Returns 3.14159265358979, the value of the mathematical constant PI to 14 decimal places.
PI()
=PI() returns 3.14159265358979.
Returns a number raised to another number.
POWER(Base; Exponent)
Returns Base raised to the power of Exponent.
The same result may be achieved by using the exponentiation operator ^: Base^Exponent
=POWER(0,0) returns 1; =POWER(0,X) reports the #NUM! error when exponent X is negative.
=POWER(B,X) may or may not report a #NUM! error when B is negative and X is not an integer.
=POWER(4;3) returns 64, which is 4 to the power of 3.
=4^3 also returns 4 to the power of 3.
=POWER(2;-3) returns 0.125.
=POWER(-2;1/3) returns -1.25992104989487.
=POWER(-2;2/3) returns the #NUM! error.
Returns the integer part of a division operation.
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).
=QUOTIENT(11;3) returns 3. The remainder of 2 is lost.
Converts degrees to radians.
RADIANS(Number)
Number is the angle in degrees to be converted to radians.
=RADIANS(90) returns 1.5707963267949, which is PI/2 to Calc's accuracy.
Vraca nasumicni broj u ranguod 0.0 do 1.0.
RAND()
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:
Copy cells each containing =RAND(), and use (with Paste All and Formulas not marked and Numbers marked).
Use the Fill Cell command with random numbers ().
Use the RAND.NV() function for non-volatile random numbers.
=RAND() vraca nasumicni broj u rangu od0.0 do 1.0.
Returns a non-volatile random number between 0 and 1.
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 command (Shift+CommandCtrl+F9). The function is recalculated when opening the file.
=RAND.NV() returns a non-volatile random number between 0 and 1.
ORG.LIBREOFFICE.RAND.NV
Vraca integer nasumicnog broja u naznacenom rangu.
RANDBETWEEN(Kraj; Pocetak)
Vraca integer nasumicnog broja izmedju integera Dno and Top (both inclusive).
This function produces a new random number each time Calc recalculates. To force Calc to recalculate manually press F9.
Za generisanje nasumicnih brojeva kojinikad nece biti ponovno izracunati, kopirajte celjije koje sadrze ovu funkciju i koristite (with and not marked and marked).
=RANDBETWEEN(20; 30) Vraca integer u rangu iymedju 20 i 30..
Returns an non-volatile integer random number in a specified range.
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 command (Shift+CommandCtrl+F9) and when Top or Bottom are recalculated.
=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.
ORG.LIBREOFFICE.RANDBETWEEN.NV
Rounds a number to a certain number of decimal places.
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.
This function rounds to the nearest number. See ROUNDDOWN and ROUNDUP for alternatives.
=ODD(1.2) vraca 3.
=ROUND(-32.4834;3) returns -32.483. Change the cell format to see all decimals.
=ODD(0) vraca 1.
=ODD(1.2) vraca 3.
=ODD(1.2) vraca 3.
Rounds a number up, away from zero, to a certain precision.
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.
This function rounds away from zero. See ROUNDDOWN and ROUND for alternatives.
=ODD(1.2) vraca 3.
=ODD(1.2) vraca 3.
=ODD(0) vraca 1.
=ODD(-3.1)vraca -5.
=ODD(1.2) vraca 3.
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
SIN(Broj)
Vraca (trigonometrijski) sinus od Broj, ugla u radijanima.
Za vracanje ugla u stepenima, koristite RADIANS funkciju.
=SEC(PI()/4) returns approximately 1.4142135624, the inverse of the cosine of PI/4 radians.
=SIN(RADIANS(30))vraca 0.5, sinus 30 stepeni.
Vraca hiperbolicki sinus broja.
SINH(Broj)
Vraca hiperbolicki sinus od Broj.
=SINH(0)vraca 0, hiperbolicki sinus od 0.
Sums the first terms of a power series.
SERIESSUM(x;n;m;c) = c1xn + c2xn+m + c3xn+2m + ... + cixn + (i-1)m.
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.
=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.
Refer to the SERIESSUM wiki page for more details about this function.
Vraca znak broja. Vraca+1 ako je broj pozitivan, -1 ako je negativan i 0 ako je nula.
SIGN(Broj)
Broj ije broj ciji znak treba biti odredjen.
=SIGN(3.4)vraca 1.
=SIGN(-4.5) vraca -1.
Vraca sinus zadatog ugla (u radijanima).
SIN(Broj)
Vraca (trigonometrijski) sinus od Broj, ugla u radijanima.
Za vracanje ugla u stepenima, koristite RADIANS funkciju.
=SIN(PI()/2) vraca 1, sinus PI/2 radijana.
=SIN(RADIANS(30))vraca 0.5, sinus 30 stepeni.
Vraca hiperbolicki sinus broja.
SINH(Broj)
Vraca hiperbolicki sinus od Broj.
=SINH(0)vraca 0, hiperbolicki sinus od 0.
Vraca pozitivni kvadratni korijen broja.
SQRT(Broj)
Vraca pozitivni kvadratni korijen odBroj.
Number mora biti pozitivan.
=SQRT(16) vraca 4.
=SQRT(-16) vraca neispravan argument error.
vraca kvadratni korijen od(PI puta broj).
SQRTPI(Broj)
Vraca pozitivni kvadratni korijen od (PI pomnozen sa Broj).
Ovo je jednako SQRT(PI()*Number).
=SQRTPI(2) Vraca kvadratni korijen od (2PI), priblizno 2.506628.
racuna subtotale. Ako rang vec sadrzi subtotale, oni nisu koristeni u daljem racunanju. Koristite ovu formulu sa AutoFilterima da bi uzimali u obzir samo filtrirane redove.
SUBTOTAL(Funkcija; Rang)
Funkcija je broj za jednu od sljedecih funkcija:
| Index funkcije (includes hidden values) | Function index (ignores hidden values) | Funkcija | 
|---|---|---|
| 1 | 101 | DAVERAGE | 
| 2 | 102 | DCOUNT | 
| 3 | 103 | DCOUNTA | 
| 4 | 104 | DMAX | 
| 5 | 105 | DMIN | 
| 6 | 106 | DPRODUCT | 
| 7 | 107 | DSTDEV | 
| 8 | 108 | DSTDEVP | 
| 9 | 109 | DSUM | 
| 10 | 110 | DVAR | 
| 11 | 111 | DVARP | 
Use numbers 1-11 to include manually hidden rows or 101-111 to exclude them; filtered-out cells are always excluded.
Opseg je rang ukljucenih celija.
You have a table in the cell range A1:B6 containing a bill of material for 10 students.
| A | B | |
|---|---|---|
| 1 | ITEM | QUANTITY | 
| 2 | Pen | 10 | 
| 3 | Pencil | 10 | 
| 4 | Notebook | 10 | 
| 5 | Rubber | 10 | 
| 6 | Sharpener | 10 | 
Let's say one row is manually hidden, then the first formula shows the sum of the 5 figures filtered; the second, only the sum of the 4 figures displayed.
=SUBTOTAL(9;B2:B6) returns 50.
=SUBTOTAL(109;B2:B6) returns 40.
Calculates the sum of the squares of a set of numbers.
SUMSQ(Number 1 [; Number 2 [; … [; Number 255]]])
If you enter the numbers 2; 3 and 4 in the Number 1; 2 and 3 arguments, 29 is returned as the result.
Vraca tangentu zadatog ugla (u radijanima).
TAN(Broj)
Vraca trigonometrijsku tangentu od Broj, ugla u radiajnima.
Za vracanje tangente ugla u stepenima, koristite RADIANS funkciju.
=TAN(PI()/4) vraca 1, tangenta PI/4 radijana.
=TAN(RADIANS(45)) vraca 1, tangentu ugla 45 stepeni.
Vraca hiperbolicku tangentu broja.
TANH(Broj)
Vraca hiperbolicku tangentu od Broj.
=TANH(0) vraca0, hiperbolicku tangentu od 0.