Funciones matemátiques

Esta categoría contién les funciones matemátiques de Calc. el Asistente pa funciones, escueya Inxertar - Función.

[text/scalc/01/func_aggregate.xhp#aggregate_head not found].

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.

HORA

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

Devuelve'l valor absolutu d'un númberu.

Sintaxis

ABS(Númberu)

Númberu ye'l valor que'l so valor absolutu tien de calculase. El valor absolutu d'un númberu ye'l so valor ensin el signu +/-.

Exemplu

=ABS(-56) devuelve 56.

=ABS(12) devuelve 12.

=ABS(0) devuelve 0.

ACOS

Devuelve la inversa del cosenu trigonométricu d'un númberu.

Sintaxis

ACOS(Númberu)

_Esta función devuelve la inversa del cosenu trigonométricu del Númberu, que ye l'ángulu (en radianes) que'l so cosenu ye Númberu. L'ángulu devueltu esta ente 0 y PI.

Pa volver l'ángulu en graos, use la función GRAOS.

Exemplu

=ACOS(-1) devuelve 3,14159265358979 (PI radianes).

=GRAOS(ACOS(0,5)) devuelve 60. El cosenu de 60 graos ye 0,5.

Open file with example:

ACOSH

Devuelve l'inversu del cosenu hiperbólicu d'un númberu.

Sintaxis

ACOSH(Númberu)

Esta función devuelve l'inversu del cosenu hiperbólicu de Númberu, que ye'l númberu que'l so cosenu hiperbólicu ye Númberu.

Númberu tien de ser mas o igual que 1.

Exemplu

=ACOSH(1) devuelve 0.

=ACOSH(COSH(4)) devuelve 4.

Open file with example:

ACOT

Devuelve l'inversu de la cotanxente del númberu especificáu.

Sintaxis

ACOT(Númberu)

Esta función devuelv()y la cotanxente trigonométrica inversa del Númberu, que ye l'ángulu (en radianes) que'l so númberu ye cotanxente. L'ángulu que devuelve ta ente 0 y PI.

Pa volver l'ángulu en graos, use la función GRAOS.

Exemplu

=ACOT(1) devuelve 0,785398163397448 (PI/4 radianes).

=GRAOS(ACOT(1)) devuelve 45. La tanxente de 45 graos ye 1.

Open file with example:

ACOTH

Devuelve l'inversu de la cotanxente hiperbólica del númberu especificáu.

Sintaxis

ACOTH(Númberu)

Esta función devuelve la inversa de la cotanxente hiperbólica de Númberu, que ye'l númberu que la so cotanxente hiperbólica ye Númberu.

Una resultancia da fallu si Númberu esta ente -1 y 1, dambos inclusive.

Exemplu

=ACOTH(1.1) devuelve la cotanxente hiperbólica inversa de 1,1, aprosimao 1,52226.

Open file with example:

ALEATORIU

Devuelve un númberu aleatoriu ente 0 y 1.

This function is always recalculated whenever a recalculation occurs.

Sintaxis

ALEATORIU( )

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

Pa xenerar númberos aleatorios que nun se recalculen, sigue unu d'estos procedimientos:

Exemplu

=ALEATORIU() da como resultáu un númberu aleatoriu ente 0 y 1.

ALEATORIU.ENTE

Devuelve un númberu enteru al debalu dientro d'un intervalu determináu,

This function is always recalculated whenever a recalculation occurs.

Sintaxis

ALEATORIU.ENTE (menor; mayor)

Devuelve un enteru de númberos aleatorios ente enterosInferior y Cimeru (dambos inclusive).

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

Pa xenerar númberos aleatorios qu'enxamás se recalculen, copia les caxelles con esta función y usa Editar - Apegadura especial (coles opciones Apegalo too y Fórmules ensin marcar y Númberos marcada).

Exemplu

=ALEATORIU.ENTE(20;30) devuelve un enteru ente 20 y 30.

ARREDONDIA.IMPAR

Arredondia un númberu positivu escontra riba hasta l'enteru impar más próximu siguiente y un númberu negativu escontra baxo hasta l'enteru impar más próximu.

Sintaxis

ARREDONDIA.IMPAR(Númberu)

Devuelve el Númberu arrondáu pal próximu enteru impar, llueñe del cero.

Exemplu

=ARREDONDIA.IMPAR(1.2) devuelve 3.

=ARREDONDIA.IMPAR(1) devuelve 1.

=ARREDONDIA.IMPAR(0) devuelve 1.

=ARREDONDIA.IMPAR(-3.1) devuelve -5.

ARREDONDIA.PAR

Arredondia un númberu positivu escontra riba hasta l'enteru par más próximu y un númberu negativu escontra baxo hasta l'enteru par más próximu.

Sintaxis

ARREDONDIA.PAR(Númberu)

Devuelve Númberu arrondáu al siguiente enteru par, llueñe de cero.

Exemplu

=ARREDONDIA.PAR(2.3) devuelve 4.

=ARREDONDIA.PAR(2) devuelve 2.

=ARREDONDIA.PAR(0) devuelve 0.

=ARREDONDIA.PAR(-0.5) devuelve -2.

ARREDONDIAR

Devuelve un númberu arrondáu hasta una cantidá determinada de decimales.

Sintaxis

ROUND(Number [; Count])

Devuelve el Númberu arrondáu a Cuntar posiciones decimales. Si Cuntar omítese o ye cero, la función arredondia al enteru más cercanu. Si Cuntar ye negativu, la función arredondia a 10, 100, 1000, etc., más cercanu.

Esta función redondea al númberu más averáu. Mira tamién les funciones REDONDEAR.MENOS Y REDONDEAR.MAS.

Exemplu

=ARREDONDIAR(2,348;2) devuelve 2,35.

=ARREDONDIAR(-32.4834;3) devuelve -32.483. Camude'l formatu de la caxella pa ver tolos decimales.

=ARREDONDIAR(2,348;0) devuelve 2.

=ARREDONDIAR(2,5) devuelve 3.

=ARREDONDIAR(987,65;-2) devuelve 1.000.

ARREDONDIAR.MAS

Devuelve un númberu arrondáu escontra riba hasta'l númberu especificáu de decimales.

Sintaxis

ROUNDUP(Number [; Count])

Devuelve el Númberu arredondiáu escontra riba (llueñe dende'l cero) pa Cuntar espacios decimales. Si Cuntar ye omitíu o ye cero, la función arredondia escontra riba a un enteru. Si Cuntar ye negativu, la función arredondia escontra riba, al siguiente 10, 100, 1000, etc.

This function rounds away from zero. See ROUNDDOWN and ROUND for alternatives.

Exemplu

=ARREDONDIAR.MAS(1.1111;2) devuelve 1.12.

=ARREDONDIAR.MAS(1,2345;1) devuelve 1,3.

=ARREDONDIAR.MAS(45,67;0) devuelve 46.

=ARREDONDIAR.MAS(-45.67) devuelve -46.

=ARREDONDIAR.MAS(987.65;-2) devuelve 1.000.

ARREYEN

Devuelve la inversa de la tanxente trigonométrica d'un númberu.

Sintaxis

ARREYEN(Númberu)

Esta función devuelve la tanxente trigonométrica inversa del Númberu, que ye l'ángulu (en radianes) que la so tanxente ye'l númberu. L'ángulu amuesa ta ente -PI/2 y PI/2.

Pa volver l'ángulu en graos, use la función GRAOS.

Exemplu

=ARREYEN(1) devuelve 0,785398163397448 (PI/4 radianes).

=GRAOS(ARREYEN(1)) devuelve 45. La tanxente de 45 graos ye 1.

Open file with example:

ARREYEN2

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)


Sintaxis

ARREYEN2(NúmberuX; NúmberuY)

NumberX is the value of the x coordinate.

NúmberuY ye'l valor de la coordenada y.

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)

Exemplu

=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

Open file with example:

ASENO

Devuelve la inversa del senu trigonométricu d'un númberu.

Sintaxis

ASENO(Númberu)

Esta función devuelve'l senu trigonométricu inversu del Númberu, que ye l'ángulu (en radianes) que'l so senu ye'l Númberu. L'ángulu que s'amuesa ta ente -PI/2 y +PI/2.

Pa volver l'ángulu en graos, use la función GRAOS.

Exemplu

=ASENO(0) devuelve 0.

=ASENO(1) devuelve 1,5707963267949 (PI/2 radianes).

=GRAOS(ASENO(0,5)) devuelve 30. El senu de 30 graos ye 0,5.

Open file with example:

ASENOH

Devuelve'l senu hiperbólicu inversu d'un númberu.

Sintaxis

ASENOH(Númberu)

Esta función devuelve'l senu hiperbólicu inversu del Númberu, que ye'l númberu que'l so senu hiperbólicu ye el númberu.

Exemplu

=ASENOH(-90) da como resultáu aprosimao -5,1929877.

=ASENOH(SENOH(4)) devuelve 4.

Open file with example:

ATANH

Devuelve la tanxente hiperbólica inversa d'un númberu.

Sintaxis

ATANH(Númberu)

Esta función devuelve la inversa de la tanxente hiperbólica del Númberu, que ye'l númberu que la so tanxente hiperbólica ye Númberu.

El númberu tien d'obedecer a la condición -1 < númberu < 1.

Exemplu

=ATANH(0) devuelve 0.

Open file with example:

BORRAFA

Permite calcular la borrafa d'una división por un númberu.

Sintaxis

BORRAFA(Dividendu; Divisor)

Los argumentos enteros pa esta función devuelven Dividendu per Divisor, que ye cuando'l remanente Dividendu estremar por Divisor.

Esta función ye implementada como Dividendu - Divisor * ENTERU(Dividendu/Divisor) , y esta fórmula da los resultaos si l'argumentu nun ye un enteru.

Exemplu

=BORRAFA(22;3) devuelve 1, el restu cuando 22 estremar por 3.

=BORRAFA(11,25;2,5) devuelve 1,25

COCIENTE

Devuelve la parte entera d'una división.

Sintaxis

COCIENTE(Numberador; Denominador)

Devuelve la parte entera del Numberador estremáu pol Denominador.

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).

Exemplu

=COCIENTE(11;3) devuelve 3. El restu de 2 piérdese.

COMBINAR

Devuelve'l númberu de combinaciones pa un númberu determináu d'oxetos ensin repeticiones.

Sintaxis

COMBINAR(Cuntar1; Cuntar2)

Cuntar1 ye'l númberu d'elementos nel conxuntu.

Cuntar2 ye'l númberu d'elementos qu'escoyer nel conxuntu.

COMBINAR devuelve'l númberu de maneres d'escoyer esos elementos. Por exemplu si hai 3 elementos A, B y C nun conxuntu, pue escoyer 2 elementos de 3 distintes maneres: AB, AC y BC.

COMBINAR aplica la siguiente fórmula: Cuntar1!/(Cuntar2!*(Cuntar1-Cuntar2)!)

Exemplu

=COMBINAR(3;2) devuelve 3.

COMBINAR2

Devuelve'l númberu de combinaciones pa un númberu determináu d'oxetos incluyendo les repeticiones.

Sintaxis

COMBINAR(Cuntar1; Cuntar2)

Cuntar1 ye'l númberu d'elementos nel conxuntu.

Cuntar2 ye'l númberu d'elementos qu'escoyer nel conxuntu.

COMBINATA devuelve la cantidá de maneres úniques d'escoyer esos elementos, onde l'orde d'elección ye irrelevante. Por exemplu, si hai 3 elementos A, B y C nun conxuntu, puen escoyer 2 elementos de 6 maneres distintes: AA, AB, AC, BB, BC y CC.

COMBINAR aplica la siguiente fórmula: (Cuntar1+Cuntar2-1)!/(Cuntar2!(Cuntar1-1)!)

Exemplu

=COMBINA(3;2) devuelve 6.

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.


Sintaxis

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".

Exemplu

=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.


COS

Devuelve'l cosenu del númberu (ángulu) especificáu.

Sintaxis

COS(Númberu)

Númberu ye'l valor que'l so cosenu tien de calculase.

Pa devolver el cosenu d'un ángulu en graos, usa la función RADIANS.

Exemplu

=COSENU(PI()/2) devuelve 0, el cosenu de PI/2 radianes.

=COSENU(RADIANES(60)) devuelve 0,5, el cosenu de 60 graos.

Open file with example:

COSH

Devuelve'l cosenu hiperbólicu d'un númberu.

Sintaxis

COSH(Númberu)

Númberu ye'l valor que'l so cosenu hiperbólicu tien de calculase.

Exemplu

=COSH(0) devuelve 1, el cosenu hiperbólicu de 0.

Open file with example:

COT

Devuelve la cotanxente del ángulu especificáu.

Sintaxis

COT(Númberu)

Númberu ye'l valor que la so cotanxente tien de calculase.

Pa tornar la cotanxente d'un angulo en graos, usa la función de RADIANES.

La cotanxente d'un ángulu ye equivalente a 1 dividíu pola tanxente d'esi ángulu.

Exemplos:

=COT(PI()/4) devuelve 1, la cotanxente de PI/4 radianes.

=COT(RADIANES(45)) devuelve 1, la cotanxente de 45 graos.

Open file with example:

COTH

Devuelve la cotanxente hiperbólica d'un númberu (ángulu) especificáu.

Sintaxis

COTH(Númberu)

Númberu ye'l valor que'l so cotanxente hiperbólica tien de calculase.

Exemplu

=COTH(1) devuelve la cotanxente hiperbólica de 1, aprosimao 1,3130.

Open file with example:

CSC

Devuelve la cosecante d'un ángulu dau (en radianes). La cosecante d'un ángulu equival a 1 dividíu pol senu d'esi ángulu

tip

Esta función ta disponible dende la versión 3.5 de LibreOffice.


Sintaxis

CSC(Númberu)

Devuelve la cosecante (trigonométrica) de Númberu, l'ángulu en radianes.

Pa devolver la cosecante d'un ángulu en graos, usa la función RADIANES.

Exemplu

=CSC(PI()/4) devuelve aproximadamente 1.4142135624, l'inversu del senu de PI/4 radianes.

=CSC(RADIANS(30)) devuelve 2, la cosecante de 30 graos.

Open file with example:

CSCH

Devuelve la cosecante hiperbólica d'un númberu.

tip

Esta función ta disponible dende la versión 3.5 de LibreOffice.


Sintaxis

CSCH(Númberu)

Devuelve la cosecante hiperbólica de Númberu.

Exemplu

=CSCH(1) devuelve aproximadamente 0.8509181282, la cosecante hiperbólica de 1.

Open file with example:

ENTERU

Arredondia un númberu escontra baxo hasta l'enteru más próximu.

Sintaxis

ENTERU(Númberu)

Devuelve el Númberu arrondáu al enteru mas cercanu.

Los númberos negativos arredondiar al enteru inferior.

Exemplu

=ENTERU(5.7) devuelve 5.

=ENTERU(-1,3) devuelve -2.

EUROCONVERT

Convierte ente les monedes nacionales europees antigües y los euros.

Sintaxis

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

Valor ye la cantidá de moneda que se va a convertir.

De_moneda y A_moneda son les unidaes monetaries que se van convertir respectivamente. Tienen De ser testu, l'abreviatura oficial de la moneda (por exemplu, "EUR"). La Comisión Europea estableció los tipos de cambéu (amosaos por Euru).

Precisión_completa ye opcional. Si omítese o ye Falsu, la resultancia arredondiar según los decimales de la moneda de destín. Si Precisión_completa ye Verdaderu, la resultancia nun s'arredondia.

Precisión_triangulación ye opcional. Si apúrrese Precisión_triangulación y >=3, la resultancia entemedia d'una conversión triangular (moneda1,EUR,moneda2) arredondiar a dicha precisión. Si omítese Precisión_triangulación, la resultancia entemedia nun s'arredondia. Amás si A moneda ye "EUR", Precisión_triangulación utilízase como si precisara la triangulación y aplicárase la conversión de EUR a EUR.

Exemplos

=EUROCONVERT(100;"ATS";"EUR") convierte 100 chelines austríacos a euros.

=EUROCONVERT(100;"EUR";"DEM") convierte 100 euros a marcos alemanes.

EXP

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

Sintaxis

EXP(Númberu)

Númberu ye la potencia a la que se va alzar el númberu y.

Exemplu

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

FACT

Devuelve'l factorial d'un númberu. FACT(0) devuelve 1. FACT(n) devuelve 1*2*3*4* ... *n.

Sintaxis

FACT(Númberu)

Devuelve Númberu!, el factorial de Númberu, calculáu como 1*2*3*4* ... * Númberu.

=FACT(0) devuelve 1 por definición.

El valor d'un númberu negativu devuelve l'erru "argumentu inválidu".

Exemplu

=FACT(3) devuelve 6.

=FACT(0) devuelve 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.


Sintaxis

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.

Exemplu

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

GRAOS

Convierte radianes en graos.

Sintaxis

GRAOS(númberu)

Númberu ye l'ángulu en radianes que se va convertir a graos.

Exemplu

=GRAOS(PI()) da como resultáu 180 graos.

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.


Sintaxis

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.

Exemplu

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

LN

Devuelve'l llogaritmu natural basándose na constante y d'un númberu. La constante y tien un valor averáu de 2.71828182845904.

Sintaxis

LN(Númberu)

Númberu ye'l valor que'l so llogaritmu natural tien de calculase.

Exemplu

=LN(3) devuelve'l llogaritmu natural de 3 (aprosimao 1,0986).

=LN(EXP(321)) devuelve 321.

LOG

Devuelve'l llogaritmu d'un númberu na base especificada.

Sintaxis

LOG(Number [; Base])

Númberu ye'l valor que'l so llogaritmu tien de calculase.

Base (opcional) ye la base emplegada pal cálculu del llogaritmu. Si omítese, asumir la base 10.

Exemplu

=LOG(10;3) devuelve'l llogaritmu con base 3 de 10 (aprosimao 2,0959).

=LOG(7^4;7) devuelve 4.

LOG10

Devuelve'l llogaritmu en base 10 d'un númberu.

Sintaxis

LOG10(Númberu)

Devuelve'l llogaritmu en base 10 d'un Númberu.

Exemplu

=LOG10(5) devuelve'l llogaritmu en base 10 de 5 (aprosimao 0,69897).

M.C.D

Devuelve'l máximu común divisor de dos o más enteros.

El máximu común divisor ye l'enteru positivu más grande qu'estrema, ensin restu, cada unu de los enteros dados.

Sintaxis

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.


Exemplu

=M.C.D(16;32;24) da 8 como resultancia, porque 8 ye'l mayor númberu que pue estremar 16, 24 y 32 ensin restu.

=M.C.D.(B1:B3) onde les caxelles B1, B2, B3 contienen 9, 12, 9 da como resultáu 3.

M.C.M

Devuelve'l mínimu común múltiplu d'unu o más enteros.

Sintaxis

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.


Exemplu

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

MULTINOMIAL

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

Sintaxis

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.


Exemplu

=MULTINOMIAL(F11:H11) devuelve 1260, si F11 a H11 contién los valores 2, 3 y 4. Esto correspuende a la fórmula =(2+3+4) / (2!*3!*4!)

PI

Devuelve 3,14159265358979, el valor de la constante matemática PI en 14 decimales.

Sintaxis

PI()

Exemplu

=PI() devuelve 3,14159265358979.

POTENCIA

Devuelve la resultancia d'alzar un númberu a una potencia.

Sintaxis

POTENCIA(Base; Esponente)

Devuelve la Base alzada a la potencia del Esponente.

Pues obtener el mesmu resultáu si uses l'operador d'esponencia ^:

Base^Esponente

note

=POWER(0,0) returns 1.


Exemplu

=POTENCIA(4;3) devuelve 64, que ye 4 a la 3.ª potencia.

=4^3 tamién devuelve 4 pa la potencia de 3.

PRODUCTU

Multiplica tolos númberos indicaos como argumentos y devuelve el productu.

Sintaxis

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.


Exemplu

=PRODUCTU(2;3;4) devuelve 24.

RADIANES

Convierte graos en radianes.

Sintaxis

RADIANES(Númberu)

Númberu ye l'ángulu en graos que se va convertir a radianes.

Exemplu

=RADIANES(90) da como resultáu 1,5707963267949, que ye PI/2 na precisión de Calc.

RAIGAÑU

Devuelve'l raigañu cuadráu positiva d'un númberu. El númberu tien de ser positivu.

Sintaxis

RAIGAÑU(Númberu)

Devuelve'l raigañu cuadráu positiva de Númberu.

El númberu tien de ser positivu.

Exemplu

=RAIGAÑU(16) devuelve 4.

=RAIZ(-16) devuelve un fallu de argumentu non válidu.

RAIZ2PI

Devuelve la raíz cuadrada d'un númberu multiplicáu por pi.

Sintaxis

RAIZ2PI(Númberu)

Devuelve'l raigañu cuadráu positiva de (PI multiplicáu pol Númberu).

Esto ye equivalente aRAIGAÑU(PI()*Númberu).

Exemplu

=RAIZ2PI(2) devuelve'l raigañu cuadráu de (2PI), aprosimao 2,506628.

RAND.NV

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

Sintaxis

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.

Exemplu

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

Información téunica

tip

Esta función ta disponible dende la versión 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.

Sintaxis

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.

Exemplu

=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.

Información téunica

tip

Esta función ta disponible dende la versión 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

REDOND.MULT

La resultancia ye'l múltiplu enteru más próximu del númberu.

Sintaxis

REDOND.MULT(Númberu; Múltiplu)

Devuelve Númberu arrondáu al multiplo mas cercanu a Múltiplu.

Una implementación alternativa va ser Múltiplu * REDOND(Númberu/Multiplo).

Exemplu

=REDOND.MULT(15,5;3) devuelve 15, yá que 15,5 ta más cercanu a 15 (= 3*5) qu'a 18 (= 3*6).

=REDOND.MULT(1.4;0.5) da como resultáu 1,5 (= 0,5*3).

ROUNDDOWN

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

SEC

Devuelve la secante del ángulu dau (en radianes). La secante d'un ángulu ye equivalente a 1 dividíu pol cosenu d'esi ángulu

tip

Esta función ta disponible dende la versión 3.5 de LibreOffice.


Sintaxis

SEC(Númberu)

Devuelve la secante (trigonométrica) de Númberu, l'ángulu en radianes.

Pa devolver el senu d'un ángulu en graos, usa la función RADIANS.

Exemplu

=SEC(PI()/4) devuelve aproximadamente 1.4142135624, l'inversu del cosenu de PI/4 radianes.

=SEC(RADIANS(60)) devuelve 2, la secante de 60 graos.

Open file with example:

SECH

Devuelve la secante hiperbólica d'un númberu.

tip

Esta función ta disponible dende la versión 3.5 de LibreOffice.


Sintaxis

SECH(Númberu)

Devuelve la secante hiperbólica del Númberu.

Exemplu

=SECH(0) devuelve 1, la secante hiperbólica de 0.

Open file with example:

SENOH

Devuelve'l senu hiperbólicu d'un númberu.

Sintaxis

SENOH(Númberu)

Devuelve'l senu hiperbólicu del Númberu.

Exemplu

=SENOH(0) devuelve 0, el senu hiperbólicu de 0.

Open file with example:

SENU

Devuelve'l senu del númberu (ángulu) especificáu.

Sintaxis

SENU(Númberu)

Devuelve'l senu (trigonométricu) del Númberu, l'ángulu en radianes.

To return the sine of an angle in degrees, use the RADIANS function.

Exemplu

=SENU(PI()/2) devuelve 1, el senu de PI/2 radianes.

=SENU(RADIANES(30)) da como resultáu 0,5, el senu de 30 graos.

Open file with example:

SIGNU

Devuelve'l signu d'un númberu. La función devuelve como resultáu 1 si'l signu ye positivu y -1 si ye negativu. Si'l númberu ye cero, la función devuelve tamién un cero.

Sintaxis

SIGNU(Númberu)

Númberu ye'l númberu que'l so signu tien de determinase.

Exemplu

=SIGNU(3.4) devuelve 1.

=SIGNU(-4.5) devuelve -1.

SUBTOTAL

Calcula subtotales. Si una área yá contién subtotales, éstos nun s'utilicen n'otros cálculos. Utilice esta función en combinación colos filtros automáticos pa tener en cuenta namái los rexistros peñeraos.

Sintaxis

SUBTOTAL(Función; Rangu)

Función ye un númberu que representa una de les siguientes funciones:

Índiz de funciones

(includes hidden values)

Function index

(ignores hidden values)

Función

1

101

PERMEDIU

2

102

CUNTAR

3

103

CUNTARA

4

104

MÁX

5

105

MÍN

6

106

PRODUCTU

7

107

DESVEST

8

108

DESVESTP

9

109

SUMA

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.

Área ye l'área que les sos caxelles tán incluyíes.

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.


Exemplu

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.

SUMA SERIES

Suma'l primera termino d'una serie de potencies.

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

Sintaxis

SUMA.SERIES(X; N; M; Coeficientes)

X ye'l valor d'entrada pa la serie de potencies.

N ye la primer potencia.

M ye la medría p'aumentar N.

Coeficientes ye una serie de coeficientes. Pa cada coeficiente, la suma de la serie ampliar nuna seición.

Exemplu

=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.


SUMA.CUADRAOS

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

Sintaxis

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.


Exemplu

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

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

When using functions where one or more arguments are search criteria strings that represents a regular expression, the first attempt is to convert the string criteria to numbers. For example, ".0" will convert to 0.0 and so on. If successful, the match will not be a regular expression match but a numeric match. However, when switching to a locale where the decimal separator is not the dot makes the regular expression conversion work. To force the evaluation of the regular expression instead of a numeric expression, use some expression that can not be misread as numeric, such as ".[0]" or ".\0" or "(?i).0".


Sintaxis

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:

Rangu de suma ye l'área dende'l que se suman los valores. Si esti parámetru nun s'indicó, sumir los valores atopaos nel rangu.

note

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


Exemplu

Pa sumar namái númberos negativos: =SUMAR.SI(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.

Consulte CUNTAR.SI() pa llograr más exemplos de sintaxis que puedan utilizase con SUMAR.SI().

TAN

Devuelve la tanxente del ángulu especificáu.

Sintaxis

TAN(Númberu)

Devuelve la tanxente (trigonemétrica) del Númberu, l'ángulu en radianes

To return the tangent of an angle in degrees, use the RADIANS function.

Exemplu

=TAN(PI()/4) devuelve 1, la tanxente de PI/4 radianes.

=TAN(RADIANES(45)) devuelve 1, la tanxente de 45 graos.

Open file with example:

TANH

Devuelve la tanxente hiperbólica d'un númberu.

Sintaxis

TANH(Númberu)

Devuelve la tanxente hiperbólica del Númberu.

Exemplu

=TANH(0) devuelve 0, la tanxente hiperbólica de 0.

Open file with example:

TRUNC

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

Please support us!