Ajuda del LibreOffice 25.2
Esta categoria conté les funcions matemàtiques del Calc. Per obrir l'Auxiliar de funcions, trieu Insereix ▸ Funció.
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.
Retorna el valor absolut d'un nombre.
ABS(Nombre)
Nombre és el nombre del qual s'ha de calcular el valor absolut. El valor absolut d'un nombre és el seu valor sense el signe +/-.
=ABS(-56) retorna 56.
=ABS(12) retorna 12.
=ABS(0) retorna 0.
Retorna el cosinus trigonomètric invers d'un nombre.
ACOS(Nombre)
Esta funció retorna el cosinus trigonomètric invers de Nombre, és a dir, l'angle (en radians) el cosinus del qual és Nombre. L'angle que es retorna es troba entre 0 i PI.
Per calcular l'angle en graus, utilitzeu la funció GRAUS.
=ACOS(-1) retorna 3,14159265358979 (PI radians).
=GRAUS(ACOS(0,5)) retorna 60. El cosinus de 60 graus és 0,5.
Retorna el cosinus hiperbòlic invers d'un nombre.
ACOSH(Nombre)
Esta funció retorna el cosinus hiperbòlic invers de Nombre, és a dir, el nombre el cosinus hiperbòlic del qual és Nombre.
El nombre ha de ser més gran o igual a 1.
=ACOSH(1) retorna 0.
=ACOSH(COSH(4)) retorna 4.
Retorna la cotangent inversa (l'arc cotangent) del nombre donat.
ACOT(Nombre)
Esta funció retorna la cotangent trigonomètrica inversa de Nombre, és a dir, l'angle (en radians) la cotangent del qual és Nombre. L'angle que es retorna es troba entre 0 i PI.
Per calcular l'angle en graus, utilitzeu la funció GRAUS.
=ACOT(1) retorna 0,785398163397448 (PI/4 radians).
=GRAUS(ACOT(1)) retorna 45. La tangent de 45 graus és 1.
Retorna la cotangent hiperbòlica inversa del nombre indicat.
ACOTH(Nombre)
Esta funció retorna la cotangent hiperbòlica inversa de Nombre, que és el nombre la cotangent hiperbòlica del qual és Nombre.
Si el nombre es troba entre -1 i 1 (inclosos), la funció retorna un error.
=ACOTH(1,1) retorna la cotangent hiperbòlica inversa d'1,1; aproximadament, 1,52226.
Retorna l'arrel quadrada positiva d'un nombre.
ARRELQ(Nombre)
Retorna l'arrel quadrada positiva de Nombre.
El nombre ha de ser positiu.
=ARRELQ(16) retorna 4.
=ARRELQ(-16) retorna l'error: l'argument no és vàlid.
Retorna l'arrel quadrada de (PI vegades un nombre).
ARRELQPI(Nombre)
Retorna l'arrel quadrada positiva de (PI multiplicat per Nombre).
Això equival a ARRELQ(PI()*Nombre).
=ARRELQPI(2) retorna l'arrel quadrada de (2PI), aproximadament 2,506628.
Arrodoneix un nombre a un nombre determinat de xifres decimals.
ROUND(Number [; Count])
Retorna Nombre arrodonit a les xifres decimals de Comptatge. Si Comptatge s'omet o és zero, s'arrodoneix la funció a l'enter més proper. Si Comptatge és negatiu, la funció s'arrodoneix fins al proper 10, 100, 1000, etcètera.
Esta funció arrodoneix al nombre més proper. Vegeu ARRODAVALL i ARRODAMUNT per veure funcions alternatives.
=ARROD(2.348;2) retorna 2,35.
=ARROD(-32,4834;3) retorna -32,483. Canvieu el format de la cel·la per veure tots els decimals.
=ARROD(2,348;0) retorna 2.
=ARROD(2,5) retorna 3.
=ARROD(987,65;-2) retorna 1000.
Arrodoneix un nombre a l'alça, allunyat de zero, amb una precisió determinada.
ROUNDUP(Number [; Count])
Retorna el Nombre arrodonit a l'alça (allunyat de zero) amb les xifres decimals de Comptatge. Si Comptatge s'omet o és zero, la funció arrodoneix a un enter. Si Comptatge és negatiu, la funció arrodoneix a l'alça fins al proper 10, 100, 1000, etcètera.
Esta funció s'allunya del zero en arrodonir. Vegeu ARRODAVALL i ARROD per veure funcions alternatives.
=ARRODAMUNT(1,1111;2) retorna 1,12.
=ARRODAMUNT(1,2345;1) retorna 1,3.
=ARRODAMUNT(45,67;0) retorna 46.
=ARRODAMUNT(-45,67) retorna -46.
=ARRODAMUNT(987,65;-2) retorna 1000.
Retorna un nombre arrodonit al múltiple més proper d'un altre nombre.
ARRODM(Nombre; Múltiple)
Retorna el Nombre arrodonit al múltiple més proper de Múltiple.
Una implementació alternativa seria Múltiple * ARROD(Nombre/Múltiple).
=ARRODM(15,5;3) retorna 15, ja que 15,5 és més proper a 15 (= 3*5) que a 18 (= 3*6).
=ARRODM(1.4;0,5) retorna 1,5 (= 0,5*3).
Retorna el sinus trigonomètric invers d'un nombre.
ASIN(Nombre)
Esta funció retorna el sinus trigonomètric invers de Nombre, és a dir, l'angle (en radians) el sinus del qual és Nombre. L'angle que es retorna es troba entre -PI/2 i +PI/2.
Per calcular l'angle en graus, utilitzeu la funció GRAUS.
=ASIN(0) retorna 0.
=ASIN(1) retorna 1,5707963267949 (PI/2 radians).
=GRAUS(ASIN(0,5)) retorna 30. El sinus de 30 graus és 0,5.
Retorna el sinus hiperbòlic invers d'un nombre.
ASINH(Nombre)
Esta funció retorna el sinus hiperbòlic invers de Nombre, que és el nombre el sinus hiperbòlic del qual és Nombre.
=ASINH(-90) retorna aproximadament -5,1929877.
=ASINH(SINH(4)) retorna 4.
Retorna la tangent trigonomètrica inversa d'un nombre.
ATAN(Nombre)
Esta funció retorna la tangent trigonomètrica inversa de Nombre, que és l'angle (en radians) la tangent del qual és Nombre. L'angle que es retorna és entre -PI/2 i PI/2.
Per calcular l'angle en graus, utilitzeu la funció GRAUS.
=ATAN(1) retorna 0,785398163397448 (PI/4 radians).
=GRAUS(ATAN(1)) retorna 45. La tangent de 45 graus és 1.
retorna l'angle (en radians) entre l'eix X i una línia des de l'origen fins al punt (NombreX|NombreY).
ATAN2(NombreX; NombreY)
NumberX és el valor de la coordenada x.
NombreY és el valor de la coordenada y.
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) retorna 2.07789 radians.
To get the angle in degrees apply the DEGREES function to the result.
=GRAUS(ATAN2(12,3;12,3)) retorna 45. La tangent de 45 graus és 1.
El LibreOffice produeix 0 per a ATAN2(0;0).
The function can be used in converting cartesian coordinates to polar coordinates.
=DEGREES(ATAN2(-8;5)) returns φ = 147.9 degrees
Retorna la tangent hiperbòlica inversa d'un nombre.
ATANH(Nombre)
Esta funció retorna la tangent hiperbòlica inversa de Nombre, és a dir, el nombre la tangent hiperbòlica del qual és Nombre.
El nombre ha de complir la condició -1 < nombre < 1.
=ATANH(0) retorna 0.
Retorna el nombre de combinacions per a elements sense repetició.
COMBINAT(Comptatge1; Comptatge2)
Comptatge1 és el nombre d'elements del conjunt.
Comptatge2 és el nombre d'elements que s'han de triar del conjunt.
COMBINAT retorna el nombre de maneres ordenades de triar estos elements. Per exemple, si hi ha 3 elements A, B i C en un conjunt, podeu triar 2 elements de tres maneres diferents: AB, AC i BC.
COMBINAT implementa la fórmula següent: Comptatge1!/(Comptatge2!*(Comptatge1-Comptatge2)!).
=COMBINAT(3;2) retorna 3.
Retorna el nombre de combinacions d'un subconjunt d'elements, incloses les repeticions.
COMBINATA(Comptatge1; Comptatge2)
Comptatge1 és el nombre d'elements del conjunt.
Comptatge2 és el nombre d'elements que s'han de triar del conjunt.
COMBINATA retorna el nombre de maneres úniques de triar estos elements, on l'orde de tria és irrellevant i es permet la repetició d'elements. Per exemple, si hi ha 3 elements A, B i C en un conjunt, podeu triar 2 elements de sis maneres diferents: AA, AB, AC, BB, BC i CC.
COMBINATA implementa la fórmula següent: (Comptatge1+Comptatge2-1)! / (Comptatge2!(Comptatge1-1)!)
=COMBINATA(3;2) retorna 6.
Converts between old European national currency and to and from Euros.
EUROCONVERT(Value; "From_currency"; "To_currency" [; full_precision [; triangulation_precision]])
Valor és la quantitat de la moneda que s'ha de convertir.
Moneda_origen és la unitat monetària que s'ha de convertir; Moneda_destí és la unitat monetària en què s'ha de convertir la primera. L'abreviatura de la moneda ha de ser text (per exemple, "EUR"). Les taxes (que es mostren en euros) les va establir la Comissió Europea.
Màxima_precisió és opcional. Si s'omet o és Fals, el resultat s'arrodoneix segons els decimals de la Moneda_destí. Si Màxima_precisió és Cert, el resultat no s'arrodoneix.
Precisió_triangulació és opcional. Si s'indica la Precisió_triangulació i és >=3, el resultat intermedi d'una conversió triangular (moneda1,EUR,moneda2) s'arrodoneix a esta precisió. Si s'omet la Precisió_triangulació, el resultat intermedi no s'arrodoneix. A més, si la Moneda_destí és "EUR", la Precisió_triangulació s'utilitza com si es necessités la triangulació i s'apliqués la conversió d'EUR a EUR.
=CONVERSIOEURO(100;"ATS";"EUR") converteix 100 xílings austríacs en euros.
=CONVERSIOEURO(100;"EUR";"DEM") converteix 100 euros en marcs alemanys.
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.
Retorna el cosinus de l'angle que s'ha indicat (en radians).
COS(Nombre)
Retorna el cosinus (trigonomètric) de Nombre, l'angle en radians.
Per calcular el cosinus d'un angle en graus, utilitzeu la funció RADIANS.
=COS(PI()/2) retorna 0, el cosinus de PI/2 radians.
=COS(RADIANS(60)) retorna 0,5, el cosinus de 60 graus.
Retorna el cosinus hiperbòlic d'un nombre.
COSH(Nombre)
Retorna el cosinus hiperbòlic d'un Nombre.
=COSH(0) retorna 1, el cosinus hiperbòlic de 0.
Retorna la cotangent de l'angle indicat (en radians).
COT(Nombre)
Retorna la cotangent (trigonomètrica) de Nombre, l'angle en radians.
Per calcular la cotangent d'un angle en graus, utilitzeu la funció RADIANS.
La cotangent d'un angle és equivalent a 1 dividit entre la tangent d'este angle.
=COT(PI()/4) retorna 1, la cotangent de PI/4 radians.
=COT(RADIANS(45)) retorna 1, la cotangent de 45 graus.
Retorna la cotangent hiperbòlica d'un nombre donat (angle).
COTH(Nombre)
Retorna la cotangent hiperbòlica d'un Nombre.
=COTH(1) retorna la cotangent hiperbòlica d'1, aproximadament 1,3130.
Retorna la cosecant de l'angle indicat (en radians). La cosecant d'un angle és equivalent a 1 dividit entre el sinus d'este angle
CSC(Nombre)
Retorna la cosecant (trigonomètrica) de Nombre, l'angle en radians.
Per calcular la cosecant d'un angle en graus, utilitzeu la funció RADIANS.
=CSC(PI()/4) retorna aproximadament 1,4142135624, la inversa del sinus de PI/4 radians.
=CSC(RADIANS(30)) retorna 2, la cosecant de 30 graus.
Retorna la cosecant hiperbòlica d'un nombre.
CSCH(Nombre)
Retorna la cosecant hiperbòlica d'un nombre.
=CSCH(1) retorna aproximadament 0,8509181282, la cosecant hiperbòlica d'1.
Arrodoneix un nombre a la baixa a l'enter més proper.
ENT(Nombre)
Retorna el Nombre arrodonit a la baixa cap a l'enter més proper.
Els nombres negatius s'arrodoneixen a l'enter inferior.
=ENT(5,7) retorna 5.
=ENT(-1,3) retorna -2.
etorna e elevat a la potència d'un nombre. La constant e té un valor aproximat de 271828182845904.
EXP(Nombre)
Nombre és la potència a la qual s'eleva e.
=EXP(1) retorna 271828182845904 la constant matemàtica e a la precisió del Calc.
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.
=FACT(3) retorna 6.
=FACT(3.8) returns 6.
=FACT(0) retorna 1.
Converteix radians a graus.
GRAUS(Nombre)
Nombre és l'angle en radians que s'ha de convertir en graus.
=GRAUS(PI()) retorna 180 graus.
Retorna el logaritme natural a partir de la constant e d'un nombre. La constant e té un valor aproximat de 2,71828182845904.
LN(Nombre)
Nombre és el valor del qual s'ha de calcular el logaritme natural.
=LN(3) retorna el logaritme natural de 3 (aproximadament 1,0986).
=LN(EXP(321)) retorna 321.
Retorna el logaritme d'un nombre a la base indicada.
LOG(Number [; Base])
Nombre és el valor el logaritme del qual s'ha de calcular.
Base (opcional) és la base per al càlcul del logaritme. Si s'omet, s'utilitzarà la base 10.
=LOG(10;3) retorna el logaritme en base 3 de 10 (aproximadament 2,0959).
=LOG(7^4;7) retorna 4.
Retorna el logaritme de base-10 d'un nombre.
LOG10(Nombre)
Retorna el logaritme en base 10 de Nombre.
=LOG10(5) retorna el logaritme en base 10 de 5 (aproximadament 0,69897).
Retorna el màxim comú divisor de dos enters o més.
El màxim comú divisor és l'enter positiu més gran que divideix, sense residu, cadascun dels enters indicats.
GCD(Integer 1 [; Integer 2 [; … [; Integer 255]]])
=MCD(16;32;24) dóna el resultat 8 perquè 8 és el nombre més gran que pot dividir 16, 24 i 32 sense residu.
=MCD(B1:B3) on les cel·les B1, B2 i B3 contenen 9, 12 i 9 dóna 3.
El resultat és el màxim comú divisor d'una llista de nombres.
GCDEXCEL2003(Number 1 [; Number 2 [; … [; Number 255]]])
=MCD_EXCEL2003(5;15;25) retorna 5.
Retorna el mínim comú múltiple d'un enter o més d'un.
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.
El resultat d'aquesta funció és el mínim comú múltiple d'una llista de nombres.
LCMEXCEL2003(Number 1 [; Number 2 [; … [; Number 255]]])
=MCM_EXCEL2003(5;15;25) retorna 75.
Retorna el residu quan es divideix un enter per un altre.
MOD(Dividend; Divisor)
Per als arguments enters, esta funció retorna el residu quan el Dividend es divideix pel Divisor.
Esta funció s'implementa Dividend - Divisor * ENT(Dividend/Divisor), i esta fórmula dóna el resultat si els arguments no són enters.
=MOD(22;3) retorna 1, el residu quan es divideix 22 entre 3.
=MOD(11,25;2,5) retorna 1,25.
Retorna el factorial de la suma dels arguments dividida pel producte dels factorials dels arguments.
MULTINOMIAL(Number 1 [; Number 2 [; … [; Number 255]]])
=MULTINOMIAL(F11:H11) retorna 1260, si F11 a H11 contenen els valors 2, 3 i 4. Este resultat correspon a la fórmula =(2+3+4)! / (2!*3!*4!).
Arrodoneix un nombre positiu cap a l'enter parell superior i un nombre negatiu cap a l'enter parell inferior.
PARELL(Nombre)
Retorna Nombre arrodonit cap a l'enter parell superior, allunyat de zero.
=PARELL(2,3) retorna 4.
=PARELL(2) retorna 2.
=PARELL(0) retorna 0.
=PARELL(-0,5) retorna -2.
Retorna 3,14159265358979, el valor de la constant matemàtica PI amb 14 decimals.
PI()
=PI() retorna 3,14159265358979.
Retorna un nombre elevat a un altre nombre.
POTENCIA(Base; Exponent)
Retorna la Base elevada a la potència que s'indica a 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.
Multiplica tots els nombres que s'han indicat com a arguments i en retorna el producte.
<unk>(Number 1 [; Number 2 [; … [; Number 255]]])
=PRODUCTE(2;3;4) retorna 24.
Retorna la part entera d'una divisió.
QUOCIENT(Numerador; Denominador)
Retorna la part entera de Numerador dividida entre 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).
=QUOCIENT(11;3) retorna 3. El residu de 2 es perd.
Converteix graus a radians.
RADIANS(Nombre)
Nombre és l'angle en graus que s'ha de convertir en radians.
=RADIANS(90) retorna 1,5707963267949, que és PI/2 segons la precisió del Calc.
Retorna un nombre aleatori entre 0 i 1.
ALEAT()
Esta funció genera un nombre aleatori nou cada vegada que el Calc recalcula. Per a forçar manualment que el Calc recalculi, premeu F9.
Per a generar nombres aleatoris que mai no es recalcularan, podeu fer el següent:
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.
=ALEAT() retorna un nombre aleatori entre 0 i 1.
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
Retorna un nombre enter aleatori dins d'un interval determinat.
ALEATENTRE(Inferior; Superior)
Retorna un nombre enter aleatori entre els enters Inferior i Superior (inclosos).
Aquesta funció genera un nombre aleatori nou cada vegada que el Calc recalcula. Per a forçar manualment que el Calc recalculi, premeu F9.
Per generar nombres aleatoris que no es tornen a calcular, copieu les cel·les que contenen esta funció i utilitzeu (amb les opcions i desactivades, i l'opció activada).
=ALEATENTRE(20;30) retorna un enter entre 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
Retorna la secant de l'angle indicat (en radians). La secant d'un angle és equivalent a 1 dividit entre el cosinus d'este angle
SEC(Nombre)
Retorna la secant (trigonomètrica) de Nombre, l'angle en radians.
Per calcular la secant d'un angle en graus, utilitzeu la funció RADIANS.
=SEC(PI()/4) retorna aproximadament 1,4142135624, la inversa del cosinus de PI/4 radians.
=SEC(RADIANS(60)) retorna 2, la secant de 60 graus.
Retorna la secant hiperbòlica d'un nombre.
SECH(Nombre)
Retorna la secant hiperbòlica d'un nombre.
=SECH(0) retorna 1, la secant hiperbòlica de 0.
Arrodoneix un nombre positiu a l'alça cap a l'enter senar més proper i un nombre negatiu a la baixa cap a l'enter senar més proper.
SENAR(Nombre)
Retorna Nombre arrodonit a l'alça cap a l'enter senar més proper, allunyat de zero.
=SENAR(1,2) retorna 3.
=SENAR(1) retorna 1.
=SENAR(0) retorna 1.
=SENAR(-3,1) retorna -5.
Retorna el signe d'un nombre. Retorna 1 si el nombre és positiu, -1 si és negatiu i 0 si és zero.
SIGNE(Nombre)
Nombre és el nombre del qual es determinarà el signe.
=SIGNE(3,4) retorna 1.
=SIGNE(-4,5) retorna -1.
Retorna el sinus de l'angle que s'ha indicat (en radians).
SIN(Nombre)
Retorna el sinus (trigonomètric) de Nombre, l'angle en radians.
Per calcular el sinus d'un angle en graus, utilitzeu la funció RADIANS.
=SIN(PI()/2) retorna 1, el sinus de PI/2 radians.
=SIN(RADIANS(30)) retorna 0,5, el sinus de 30 graus.
Retorna el sinus hiperbòlic d'un nombre.
SINH(Nombre)
Retorna el sinus hiperbòlic d'un Nombre.
=SINH(0) retorna 0, el sinus hiperbòlic de 0.
Calcula subtotals. Si un interval ja conté subtotals, no s'utilitzen per fer altres càlculs. Utilitzeu esta funció amb els filtres automàtics per tindre en compte només els registres filtrats.
SUBTOTAL(Funció; Interval)
Funció és un nombre que representa una de les funcions següents:
| Índex de funcions (inclou els valors amagats) | Índex de funcions (ignora els valors amagats) | Funció | 
|---|---|---|
| 1 | 101 | MITJANA | 
| 2 | 102 | COMPTA | 
| 3 | 103 | COMPTAA | 
| 4 | 104 | MAX | 
| 5 | 105 | MIN | 
| 6 | 106 | PRODUCTE | 
| 7 | 107 | DESVEST | 
| 8 | 108 | DESVESTP | 
| 9 | 109 | SUMA | 
| 10 | 110 | VAR | 
| 11 | 111 | VARP | 
Feu servir els nombres 1-11 per a incloure manualment les files amagades o 101-111 per a excloure-les; les cel·les filtrades sempre s'exclouen.
Interval és l'interval les cel·les del qual s'inclouen.
You have a table in the cell range A1:B6 containing a bill of material for 10 students.
| A | B | |
|---|---|---|
| 1 | ARTICLE | QUANTITAT | 
| 2 | Bolígraf | 10 | 
| 3 | Llapis | 10 | 
| 4 | Quadern | 10 | 
| 5 | Goma | 10 | 
| 6 | Maquineta | 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) retorna 50.
=SUBTOTAL(109;B2:B6) retorna 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.
Suma els primers termes d'una sèrie de potències.
SERIESSUM(x;n;m;c) = c1xn + c2xn+m + c3xn+2m + ... + cixn + (i-1)m.
SUMASERIES(X; N; M; Coeficients)
X és el valor d'entrada de la sèrie de potències.
N és la potència inicial.
M és la potència a la qual s'eleva N.
Coeficients és una sèrie de coeficients. La suma de sèries s'amplia una secció per a cada coeficient.
=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.
Retorna la tangent de l'angle indicat (en radians).
TAN(Nombre)
Retorna la tangent (trigonomètrica) de Nombre, l'angle en radians.
Per calcular la tangent d'un angle en graus, utilitzeu la funció RADIANS.
=TAN(PI()/4) retorna 1, la tangent de PI/4 radians.
=TAN(RADIANS(45)) retorna 1, la tangent de 45 graus.
Retorna la tangent hiperbòlica d'un nombre.
TANH(Nombre)
Retorna la tangent hiperbòlica d'un Nombre.
=TANH(0) retorna 0, la tangent hiperbòlica de 0.