Mathematical Functions

यो कोटिले क्याल्कका लागि गणितीयप्रकार्य समाहित गराउँदछ । विजार्ड प्रकार्य खोल्न घुसाउनु होस्- प्रकार्य रोज्नुहोस्रोज्नुहोस् ।

AGGREGATE

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.

रङ

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

सङ्ख्याको निश्चित मान फर्काउँदछ ।

Syntax

ABS(Number)

सङ्ख्या त्यो मान हो जसको निश्चित मान गणना हुन्छ ।

Example

=ABS(-56) ५६ को निश्चित मान फर्काउनेछ

=ABS(12) 12 मान फर्काउनेछ

=ABS(0) 0 मान फर्काउनेछ

ACOS

ले सङ्ख्याको उल्टो त्रिकोणमितिय कोसाइन फर्काउँदछ ।

Syntax

ACOS(Number)

सङ्ख्या त्यो मान हो, जसको उल्टा त्रिकोणमितिय कोसाइन मान गणना गर्नुपर्ने छ ।

To return the angle in degrees, use the DEGREES function.

Example

=ACOS(-1) 3.14159265358979 (PI radians) फर्काउँदछ

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

Open file with example:

ACOSH

सङ्ख्याको विपरित हापरबोलिक कोसाइन फर्काउँदछ ।

Syntax

ACOSH(Number)

सङ्ख्यामान हो जसमा विपरित हाइपरबोलिक कोसाइन गणना हुन्छ ।

Number must be greater than or equal to 1.

Example

=ACOSH(1)ले ० फर्काउँदछ ।

=ACOSH(COSH(4)) 4 फर्काउँछ ।

Open file with example:

ACOT

दिएको सङ्ख्याको विपरित को ट्यान्जेनट फर्काउँदछ ।

Syntax

ACOT(Number)

सङ्ख्या मान हो जसमा वितरित कोटेन्जेन्ट गणना हुन्छ ।

To return the angle in degrees, use the DEGREES function.

Example

=ACOT(1) ले 0.785398163397448 (PI/4 radians) फर्काउँछ ।

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

Open file with example:

ACOTH

दिएको सङ्ख्याको विपरित हाइपरबोलिक कोटेन्जेन्ट फर्काउँदछ ।

Syntax

ACOTH(Number)

सङ्ख्या मान हो जसमा विपरित हापरबोलिक कोट्यानजेन्ट गणना हुन्छ ।

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

Example

=ACOTH(1.1) ले inverse hyperbolic cotangent of 1.1, लगभग 1.52226 फर्काउँछ।

Open file with example:

ASIN

ले सङ्ख्याको उल्टा त्रिकोणमितिय साइन फर्काउँदछ ।

Syntax

ASIN (Number)

सङ्ख्या त्यो मान हो जसको उल्टा त्रिकोणमितिय साइन गणना गर्नुपर्ने छ ।

To return the angle in degrees, use the DEGREES function.

Example

=ASIN(0) ले 0 फर्काउँछ ।

=ASIN(1) ले 1.5707963267949 (PI/2 radians) फर्काउँछ ।

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

Open file with example:

ASINH

सङ्ख्याको विपरित हाइपरबोलिक साइन फर्काउँदछ ।

Syntax

ASINH(सङ्ख्या)

सङ्ख्यामान हो जसमा विपरित हापरबोलिक साइन गणना हुन्छ ।

Example

=ASINH(-90) ले लगभग -5.1929877 फर्काउँछ ।

=ASINH(SINH(4)) ले 4 फर्काउँछ ।

Open file with example:

ATAN

ले सङ्ख्याको उल्टा त्रिकोणमितिय ट्यान्जेन्ट फर्काउँदछ ।

Syntax

ATAN(सङ्ख्या)

सङ्ख्या त्यो मान हो जसको उल्टा त्रिकोणमितिय ट्यान्जेन्ट मान गणना गर्नुपर्ने छ ।

To return the angle in degrees, use the DEGREES function.

Example

=ATAN(1) ले 0.785398163397448 (PI/4 radians) फर्काउँछ ।

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

Open file with example:

ATAN2

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)


Syntax

ATAN2(Number x; number y)

NumberX is the value of the x coordinate.

सङ्ख्या y 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)

Example

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

ATANH

सङ्ख्याको विपरित हाइपरबोलिक स्पर्शरेखा फर्काउँदछ ।

Syntax

ATANH(Number)

सङ्ख्यामान हो जसमा विपरित हाइपरबोलिक स्पर्शरेखा गणना हुन्छ ।

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

Example

=ATANH(0) 0 फर्काउँदछ ।

Open file with example:

COMBIN

वस्तुहरूको दिइएका सङ्ख्याका लागि संयोजनहरूको सङ्ख्या फर्काउँदछ ।

Syntax

COMBIN(count 1; count 2)

गणना १ तत्वहरूको कूल सङ्ख्या हो ।

गणना २ तत्वहरूबाट चयन गरिएको गणना हो ।

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

Example

=COMBIN(3;2)ले ३ फर्काउँदछ ।

COMBINA

वस्तुहरूको (दोहोर्याउने संलग्न भएको) दिएको सङ्ख्याका लागि संयोजनहरूको सङ्ख्या फर्काउँदछ ।

Syntax

COMBINA(count 1; count 2)

गणना १ तत्वहरूको कूल सङ्ख्या हो ।

गणना २ तत्वहरूबाट चयन गरिएको गणना हो ।

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

Example

=COMBINA(3;2)ले ६ फर्काउँदछ ।

CONVERT

यो प्रकार्यले तपाईँलाई युरोपेली मुद्रा युरोमा रुपान्तरण गर्न अनुमति दिन्छ ।

Syntax

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

मान मुद्रामा रूपान्तरण गर्नुपर्ने रकम हो ।

From_currencyTo_currency मुद्रा एकाइहरू बाट कन्वर्ट गर्न र क्रमशः क्रमबद्ध हुन्छन्। यो पाठ हुनुपर्छ, मुद्राका लागि आधिकारिक संक्षिप्त नाम (उदाहरणको लागि, "EUR")। दरहरू (यूरो प्रतिमा देखाइएका) युरोपेली कमिटी द्वारा तय गरिएको थियो।

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.

उदाहरण:

=EUROCONVERT(100;"ATS";"EUR") १०० अष्ट्रेलियन स्चिलिङ युरोमा रूपान्तरण गर्दछ।

=EUROCONVERT(100;"EUR";"DEM") १०० युरो जर्मन मार्कमा रूपान्तरण गर्दछ।

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.


Syntax

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

Example

=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

दिएको सङ्ख्या (कोण)को कोसाइन फर्काउँदछ ।

Syntax

COS(Number)

सङ्ख्या मान हो जसमा कोसाइन गणना हुन्छ ।

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

Example

=COS(PI()*2) फर्काउँदछ 1, 2*PI radians को cosine ।

=COS(RADIANS(60)) ले 0.5 फर्काउँछ , 60 डिग्रिको cosine

Open file with example:

COSH

सङ्ख्याको हापरबोलिक कोसाइन फर्काउँदछ ।

Syntax

COSH(Number)

सङ्ख्या मान हो जसमा हाइपरबोलिक कोसाइन गणना हुन्छ ।

Example

=COSH(0) ले १ फर्काउछ, ० को हाइपरबोलिक कोसाइन (hyperbolic cosine)।

Open file with example:

COT

दिएको कोणको कोट्यान्जेन्ट फर्काउँदछ ।

Syntax

COT(Number)

सङ्ख्या मान हो जसमा कोट्यान्जेन्ट गणना हुन्छ ।

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

The cotangent of an angle is equivalent to 1 divided by the tangent of that angle.

उदाहरण:

=COT(PI()/4) ले को PI/४ रेडियनको कोट्यान्जेन्ट १ फर्काउँदछ।

=COT(RADIANS(45))ले १ फर्काउँदछ, कोण ४५ को कोट्यान्जेन्ट।

Open file with example:

COTH

दिएको सङ्ख्या (कोण)को हाइपरबोलिक कोट्यान्जेन्ट फर्काउँदछ ।

Syntax

COTH(Number)

सङ्ख्या मान हो जसमा हाइपरबोलिक कोट्यान्जेन्ट गणना हुन्छ ।

Example

=COTH(1) ले inverse hyperbolic cotangent of १.१, लगभग १.३१३० फर्काउँछ।

Open file with example:

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

This function is available since LibreOffice 3.5.


Syntax

COSH(Number)

सङ्ख्या मान हो जसमा कोसाइन गणना हुन्छ ।

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

Example

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

=CSC(RADIANS(30))ले २, ३० डिग्रीको कसेकान्ट परिणाम फर्काउँदछ।

Open file with example:

CSCH

सङ्ख्याको हापरबोलिक कोसेकान्ट फर्काउँदछ।

tip

This function is available since LibreOffice 3.5.


Syntax

COSH(Number)

सङ्ख्या मान हो जसमा हाइपरबोलिक कोसाइन गणना हुन्छ ।

Example

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

Open file with example:

DEGREES

रेडियनहरू डिग्रीमा रूपान्तरन गर्दछ ।

Syntax

DEG(Number)

सङ्ख्या रूपान्तरण गर्नुपर्ने मान ।

Example

=DEGREES(PI()) returns 180 degrees.

EVEN

ले धनात्मक सङ्ख्या नजिकको जोड इन्टिजर माथि सम्म र ऋणात्मक सङ्ख्या नजिकको बिजोड इन्टिजर तल सम्म परिक्रमण गर्दछ ।

Syntax

EVEN(number)

सङ्ख्या परिक्रमण हुनुपर्ने सङ्ख्या हो ।

Example

=EVEN(2.3)ले ४ फर्काउदछ।

=EVEN(2)ले २ फर्काउदछ।

=EVEN(0) ले ० फर्काउँदछ।

=EVEN(-0.5)ले -२ फर्काउदछ।

EXP

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

Syntax

EXP(number)

सङ्ख्या पावर हो जसलाई e बढाउनु पर्दछ ।

Example

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

FACT

सङ्ख्याको क्रमगुणन फर्काउँदछ । FACT(0) ले १ फर्काउँदछ. FACT(n) ले १*२*३*४* ... *n फर्काउँदछ ।

Syntax

FACT(number)

सङ्ख्या मान हो जसमा क्रमगुणन गणना हुन्छ ।

=FACT(0) returns 1 by definition.

The factorial of a negative number returns the "invalid argument" error.

Example

FACT(३)ले ६ फर्काउँदछ ।

=FACT(0)ले १ फर्काउँदछ।

GCD

दुई वा धेरै इन्टेजरहरूको सबै भन्दा ठूलो भाजक फर्काउँदछ ।

The greatest common divisor is the positive largest integer which will divide, without remainder, each of the given integers.

Syntax

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.


Example

=GCD(16;32;24) ले ८ परिणाम दिन्छ, किनकी ८ सबै भन्दा ठूलो संख्या हो जसले १६, २४ र ३२ लाई शेष ​नराखि भाग गर्न सक्छ​।

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

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.


Syntax

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.

Example

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

INT

तल सबभन्दा नजिको इन्टिजरमा सङ्ख्या घुसाउनु होस् ।

Syntax

INT(number)

सङ्ख्या सङ्ख्या हो जसलाई सबभन्दा नजिककको इन्टिजरमा तल बनाउनु पर्दछ ।

Negative numbers round down to the integer below.

Example

=INT(5.7)ले ५ फर्काउदछ।

=INT(-1.3)ले -२ फर्काउदछ।

LCM

एक वा बढी इन्टिजरहरूको कमसेकम साझा गुणन फर्काउँदछ ।

Syntax

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.


Example

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

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.


Syntax

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.

Example

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

LN

ले सङ्ख्याको स्थिरांक ई मा आधारित प्राकृतिक लघुगणक फर्काउँदछ । स्थिरांक ई सँग लगभग २.७१८२८१८२८४५९०४ मान छ ।

Syntax

LN(number)

सङ्ख्यामान हो जसमा प्राकृतिक लघुगणक गणना हुन्छ ।

Example

=LN(3)३ को प्राकृतिक लघुगणकले नतिजाको रुपमा परिक्रमित मान (लगभग १.॰९८६) फर्काउँछ।

=LN(EXP(३२१))ले ३२१ फर्काउँदछ ।

LOG

निर्दिष्ट आधारमा सङ्ख्याको लघुगणक फर्काउँदछ ।

Syntax

LOG(Number [; Base])

सङ्ख्यामान हो जसमा लघुगणक गणना हुन्छ ।

आधार लघुगणक गणना गर्नका लागि आधार हो ।

Example

=LOG(१०;३)ले १० को आधार ३ लगारिथ्म( लगभग २.०९५९)फर्काउदछ।

=LOG(७^४;७)ले ४ फर्काऊदछ।

LOG10

सङ्ख्याको आधार-१० लघुगणक फर्काउँदछ ।

Syntax

LOG10(number)

सङ्ख्या मान हो जसमा आधार १०मा भएको लघुगणक गणना हुन्छ ।

Example

=LOG10(५)ले ५ को आधार-10 लगारिथ्म( लगभग ०.६९८९७) फर्काउदछ।

MOD

सङ्ख्या भाजक द्वादा भाग गरिसके पछि शेष फर्काउँदछ

Syntax

MOD(Dividend; Divisor)

पूर्णांक तर्कहरूका लागि यो प्रकार्यले लाभांश मोड्युल डिभाइसलाई फर्काउँछ, त्यो बाँकी होलाभांशविभाजित छदिविजर

यो प्रकार्य भाज्य - भाजक * INT(भाज्य/भाजक) को रूपमा कार्यान्वित गरिएको छ , र यदि आर्गुमेन्टहरू पूर्णांक छैनन् भने यस सूत्रले नतिजा दिन्छ।

Example

=MOD(22;3)ले 1 फर्काउँछ, शेष जब 22 लाई 3 ले विभाजित गर्छ​।

=MOD(11.25;2.5) ले 1.25 फर्काउछ |

MROUND

परिणाम सङ्ख्याको सबभन्दा नजिकको इन्टिजर गुणन हो ।

Syntax

MROUND(सङ्ख्या; गुणन)

Returns Number rounded to the nearest multiple of Multiple.

An alternative implementation would be Multiple * ROUND(Number/Multiple).

Example

=MROUND(15.5;3)ले 15 फर्काउँछ, जस्तै 15.5 18(=3*6) भन्दा 15(=3*5) को नजिक छ।

=MROUND(१.४;०.५)ले १.५(= ०.५*३) फर्काउदछ।

MULTINOMIAL

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

Syntax

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.


Example

यदि F11देखि H11ले मानहरू 2,34 समावेश गराएको खण्डमा =MULTINOMIAL(F11:H11) ले 1260 फर्काउँदछ । यसले सूत्रमा अनुरूप गराउँदछ =(2+3+4)! / (2!*3!*4!)

ODD

धनात्मक सङ्ख्या नजिकको बिजोर इन्टिजर माथि सम्म र ऋणात्मक सङ्ख्या नजिकको बिजोर सङ्ख्या तल सम्म परिक्रमण गर्दछ ।

Syntax

ODD(सङ्ख्या)

सङ्ख्या परिक्रमण गर्नुपर्ने सङ्ख्या हो ।

Example

=ODD(१.२)ले ३ फर्काउदछ।

=ODD(1) ले 1 फर्काउँछ |

=ODD(०)ले १ फर्काउदछ।

=ODD(-३.१)ले -५ फर्काउँदछ।

PI

PI को मान(राउन्ड गरेको मान ३.१४१५९) फर्काउँदछ ।

Syntax

PI()

Example

=PI()ले ३.१४१५९२६५३५८९७९ फर्काउँदछ ।

POWER

पावरमा बढेको सङ्ख्याको परिणाम फर्काउँछ ।

Syntax

POWER(base; power) or base ^ power

पावरको एक्स्पोनेंटमा बढाईएकोआधार फर्काउँदछ।

The same result may be achieved by using the exponentiation operator ^:

Base^Exponent

note

=POWER(0,0) returns 1.


Example

=POWER(4;3) ले ६४ फर्काउँदछ, जुन ४ को पावर ३ हो।

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

QUOTIENT

भाग सञ्चालनको इन्टिजर परिणाम फर्काउँदछ ।

Syntax

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

Example

=QUOTIENT(11;3)ले 3 फर्काउँछ। 2 को शेषलाई बिर्सि दिन्छ।

RADIANS

डिग्रिहरूलाई रेडियनमा रूपान्तरण गर्दछ ।

Syntax

RADIANS(number)

डिग्रिहरूमा कोणकोसङ्ख्या हो ।

Example

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

RAND

० र १ को बीचमा र्यानडम सङ्ख्या फर्काउँदछ ।

This function is always recalculated whenever a recalculation occurs.

Syntax

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:

Example

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

RAND.NV

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

Syntax

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.

Example

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

Technical information

tip

This function is available since LibreOffice 7.0.


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

ले परिभाषित गरिएको सिमा मा पर्ने जथाभाबि इन्टिजर सङ्ख्या फर्काउँदछ।

This function is always recalculated whenever a recalculation occurs.

Syntax

RANDBETWEEN (तल; माथि)

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

Example

=RANDBETWEEN (20;30) ले २० र ३०को बीचको इन्टिजर फर्काउँदछ।

RANDBETWEEN.NV

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

Syntax

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.

Example

=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

This function is available since LibreOffice 7.0.


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

ROUND

दशमलब स्थानहरूको निश्चित सङ्ख्या सम्म सङ्ख्याहरू फर्काउँदछ ।

Syntax

ROUND(Number [; Count])

फर्काउँछसंख्या गोल गरियो गणना गर्नुहोस् दशमलव स्थानहरू। यदि गणना मेटाइएको छ वा शून्य, प्रकार्य राउन्ड निकटतम पूर्णांकमा। यदि गणना नकारात्मक छ भने, प्रकार्य राउन्ड निकटतम 10, 100, 1000, आदिमा।

This function rounds to the nearest number. See ROUNDDOWN and ROUNDUP for alternatives.

Example

=ROUND(२.३४८;२)ले २.३५ फर्काउदछ

=ROUND(-32.4834;3)ले -३२.४८३ फर्काउँछ। सबै दशमलवहरू हेर्न सेल ढाँचा परिवर्तन गर्नुहोस्।

=ROUND(२.३४८;०)ले २ फर्काउदछ।

=ROUND(२.५)ले ३ फर्काउदछ।

=ROUND(९७८.६५;-२)ले १००० फर्काउदछ।

ROUNDDOWN

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

ROUNDUP

निर्दिष्ट दशमलव स्थान अनुसार सङ्ख्याको माथि राउन्ड गर्दछ ।

Syntax

ROUNDUP(Number [; Count])

संख्या घुमाइएको (शून्य भन्दा टाढा) गणना दशमलव स्थानहरूमा। यदि गणना छोप्ने वा शून्य हुन्छ भने, प्रकार्य एक पूर्णांक सम्म पुग्छ। यदि गणना नकारात्मक छ भने, प्रकार्य अर्को 10, 100, 1000, इत्यादि सम्म हुन्छ।

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

Example

=ROUNDUP(१.११११;२)ले १.१२ फर्काउदछ।

=ROUNDUP(१.२३४५;१)ले १.३ फर्काउदछ।

=ROUNDUP(४५.६७;०)ले ४६ फर्काउदछ।

=ROUNDUP(-४५.६७)ले -४६ फर्काउदछ।

=ROUND(९७८.६५;-२)ले १००० फर्काउदछ।

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

This function is available since LibreOffice 3.5.


Syntax

SIN(number)

सङ्ख्या रेडियनहरूमा कोण हो ।

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

Example

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

=SEC(RADIANS(60))ले 2 फर्काउँछ, कोण 60 को सेकेन्ट​।

Open file with example:

SECH

सङ्ख्याको हाइपर्बोलिक् सेकेन्ट फर्काउँछ।

tip

This function is available since LibreOffice 3.5.


Syntax

SINH(number)

सङ्ख्या सङ्ख्या हो जसमा हापरबोलिक साइन गणना हुन्छ ।

Example

=SECH(0)ले 1 फर्काउँछ, 0 को हाइपर्बोलिक् सेकेन्ट।

Open file with example:

SERIESSUM

पावोर सिरिजमा पहिलो टर्महरुको योगफल निकाल्दछ।

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

Syntax

ERIESSUM(x; n; m; coefficients)

X पावर सीरीजको लागि निवेश मान हो।

N प्रारम्भिक पावर हो

M N बढाउन​को लागि वृद्धि हो

गुणांकहरू गुणांकहरूको श्रृंखलाहरू। एउटा सेक्सनद्वारा प्रत्येक गुणांकहरूको श्रृंखलाहरू जोडका लागि विस्तार गरिन्छ।

Example

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


SIGN

सङ्ख्याको चिन्ह फर्काउँछ । प्रकार्यले धनात्मक चिन्हका लागि परिणाम १ दिन्छ र ऋणात्मक चिन्हका लागि परिणाम -१ दिन्छ । यदि सङ्ख्या ० भएको खण्डमा त्यस पछिका प्रकार्यले जस्तै शून्य उत्पादन गर्दछ ।

Syntax

SIGN(सङ्ख्या)

सङ्ख्यासङ्ख्या जसमा सङ्ख्या सङ्केत निर्धारण गर्नु पर्दछ.

Example

=SIGN(३.४)ले १ फर्काउदछ।

=SIGN(-४.५)ले -१ फर्काउदछ।

SIN

दिएको सङ्ख्याको (कोण)को साइन फर्काउँदछ ।

Syntax

SIN(number)

सङ्ख्या रेडियनहरूमा कोण हो ।

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

Example

=SIN(PI()/2)ले १ फर्काउँदछ, PI/२ रेडियन को साइन।

=SIN(RADIANS(30))ले 0.5 , कोण 30 डिग्रीको साइन परिणाम फर्काउँदछ ।

Open file with example:

SINH

सङ्ख्याको हाइपरबोलिक साइन फर्काउँदछ ।

Syntax

SINH(number)

सङ्ख्या सङ्ख्या हो जसमा हापरबोलिक साइन गणना हुन्छ ।

Example

=SINH(0)ले 0 फर्काउँछ, 0 को हाइपर्बोलिक् साइन।

Open file with example:

SQRT

सङ्ख्याको धनात्मक वर्गमूल फर्काउँदछ । सङ्ख्याको मान धनात्मक हुन जरुरी छ ।

Syntax

SQRT(सङ्ख्या)

सङ्ख्या सङ्ख्या हो जसको वर्ग मूल गणना गर्नु पर्दछ ।

Number must be positive.

Example

=SQRT(१६)ले ४ फर्काउदछ।

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

SQRTPI

सङ्ख्या *PIको वर्गमूल फर्काउँदछ ।

Syntax

SQRTPI (सङ्ख्या)

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

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

Example

=SQRTPI(2)ले (2PI) को वर्ग मूल, लगभग 2.506628 फर्काउँदछ।

SUBTOTAL

उपजोडहरू गणना गर्दछ । दायराले उपजोडहरू पहिलेनै समाहित गर्दछ तिनीहरू अगाडिको गणनाहरू प्रयोजनका लागि प्रयोग गरिँदैन । यो प्रकार्य खाता भित्र फिल्टर गरिएका रेकर्डहरू लिनका लागि मात्र स्वत:फिल्टरहरू सहित प्रयोग गरिन्छ ।

Syntax

SUBTOTAL(function; range)

प्रकार्य सङ्ख्या हो जुन दिएका प्रकार्यहरूको एउटाका लागि अडेको हुन्छ:

प्रकार्य अनुक्रमणिका

(includes hidden values)

Function index

(ignores hidden values)

प्रकार्य

1

101

औसत

2

102

गणना

3

103

COUNTA

4

104

अधिक्तम

5

105

न्यूनतम

6

106

वस्तु

7

107

STDEV

8

108

STDEVP

9

109

जोड

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.

दायरा दायरा हो जसमा कक्षहरू संलग्न हुन्छन् ।

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.


Example

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

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


Syntax

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 दायरा हो जसको दायराहरू योगी हुन्छन्। यदि यो प्यारामिटर संकेत गरिएको छैन भने, दायरामा भेटिएका मानहरू संक्षेपमा छन्।

note

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


Example

ऋणात्मक सङ्ख्याहरू मात्र जोड्न: =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.

See COUNTIF() for some more syntax examples that can be used with SUMIF().

SUMSQ

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

Syntax

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.


Example

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

TAN

दिएको कोणको स्पर्शरेखा फर्काउँदछ ।

Syntax

TAN(number)

सङ्ख्या रेडियनमा कोण हो ।

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

Example

=TAN(PI()/4) ले 1 फर्काउँछ, PI/4 रेडियनको ट्यान्जेन्ट।

=TAN(RADIANS(45))ले "१", ४५ डिग्री को tangent फर्काउछ।

Open file with example:

TANH

सङ्ख्याको हाइपरबोलिक स्पर्श रेखा फर्काउँदछ ।

Syntax

TANH(number)

सङ्ख्या सङ्ख्या हो जसको हाइपरबोलिक स्पर्शरेखा गणना गर्नु पर्दछ ।

Example

=TAN(0) ले ० फर्काउँदछ,० को हाइपरबोलिक स्पर्शरेखा।

Open file with example:

TRUNC

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

वस्तु

दिएका तर्कहरूको रूपमा सबै सङ्ख्याहरू गुणन गर्दछ र गुणन फल फर्काउँदछ ।

Syntax

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.


Example

=PRODUCT(2;3;4)ले 24 फर्काउँछ।

कृपया हामीलाई समर्थन गर्नुहोस्!