Mathematical Functions

이 범주에는 Calc의 수학 함수가 포함됩니다. 함수 마법사를 열려면 삽입 - 함수를 선택합니다.

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

SUMIF

Determines which values in a range of cells meet a specified criterion, then returns the sum of the matching values. Alternatively the function can determine which values in one range of cells meet a criterion, then return the sum of values in the corresponding cells in a second range of cells.

HOUR

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

숫자의 절대값을 구합니다.

구문

ABS(Number)

숫자는 절대값을 계산할 수입니다. 절대값은 해당 수에서 +/- 기호를 뺀 값입니다.

예제

=ABS(-56)는 56을 반환합니다.

=ABS(12)은 12을 반환합니다.

=ABS(0)는 0을 반환합니다.

ACOS

숫자의 역삼각 코사인을 구합니다.

구문

ACOS(Number)

이 함수는 주어진 Number에 대한 역 코사인 값을 구합니다. 이는 주어진 수를 코사인 값으로 가지는 각의 라디안 값을 의미하며, 각은 0에서 PI 사이의 범위에서 정의됩니다.

도 단위 각도 값을 구하려면 DEGREES 함수를 사용합니다.

예제

=ACOS(-1)은 3.14159265358979(PI 라디안)를 반환합니다.

=DEGREES(ACOS(0.5))은 30을 반환합니다. 60도의 코사인 값은 0.5입니다.

ACOSH

숫자의 역 쌍곡선 코사인 값을 구합니다.

구문

ACOSH(Number)

이 함수는 주어진 Number의 역 쌍곡 코사인 값을 구합니다. 이는 결과 값의 쌍곡 코사인 값이 Number가 되는 수치를 말합니다.

수는 1 이상이어야만 합니다.

예제

=ACOSH(1)는 0을 반환합니다.

=ACOSH(COSH(4))는 4를 반환합니다.

ACOT

해당 숫자에 대한 역 코탄젠트(아크 코탄젠트) 값을 구합니다.

구문

ACOT(Number)

이 함수는 주어진 Number의 역코탄젠트 값을 구합니다. 역코탄젠트 값은 주어진 수를 코탄젠트 값으로 하는 각의 크기를 의미하며 이 각은 0과 PI의 범위에서 계산됩니다.

도 단위 각도 값을 구하려면 DEGREES 함수를 사용합니다.

예제

=ACOT(1)는 0.785398163397448(PI/4 라디안)을 반환합니다.

=DEGREES(ACOT(1))는 1을 반환합니다. 45도의 탄젠트 값은 1입니다.

ACOTH

주어진 숫자의 역 쌍곡선 코탄젠트를 구합니다.

구문

ACOTH(Number)

주어진 Number의 역 쌍곡 코탄젠트 값을 구합니다. 이는 구해진 값의 쌍곡 코탄젠트 값이 수와 같은 값을 말합니다.

수가 -1 과 1 사이에 있을 경우 오류가 발생됩니다.

예제

=ACOTH(1.1) 1.1 의 역코탄젠트 쌍곡함수값의 근사치인 1.52226 을 반환합니다.

ASIN

숫자의 역삼각 사인을 구합니다.

구문

ASIN(Number)

이 함수는 주어진 Number의 역사인 값을 계산합니다. 즉 결과값은 해당Number를 사인값으로 가지는 각도의 라디안 값이며, 그 범위는 -PI/2 이상 PI/2 이하입니다.

도 단위 각도 값을 구하려면 DEGREES 함수를 사용합니다.

예제

=ASIN(0)는 0을 반환합니다.

=ASIN(1)는 1.5707963267949(PI/2 라디안)를 반환합니다.

=DEGREES(ASIN(0.5))은 30을 반환합니다. 30도의 사인 값은 0.5입니다.

ASINH

숫자의 역 쌍곡선 사인을 구합니다.

구문

ASINH(Number)

이 함수는 주어진 Number의 역 쌍곡 사인 값을 구합니다. 이는 결과 값의 쌍곡 사인 값이 Number가 되는 수치를 말합니다.

예제

=ASINH(-90)는 약 -5.1929877을 반환합니다.

=ASINH(SINH(4))는 4를 반환합니다.

ATAN

숫자의 역삼각 탄젠트를 구합니다.

구문

ATAN(Number)

이 함수는 주어진 Number의 라디안 역탄젠트 값을 반환합니다. 즉, 결과값은 해당하는 값을 가지는 라디안(호각) 각도가 되며, 결과값의 범위는 -PI/2초과 PI/2 미만이 됩니다.

도 단위 각도 값을 구하려면 DEGREES 함수를 사용합니다.

예제

=ATAN(1)는 0.785398163397448(PI/4 라디안)의 값을 반환합니다.

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

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)


구문

ATAN2(수X; 수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)

예제

=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

ATANH

숫자의 역 쌍곡선 탄젠트를 구합니다.

구문

ATANH(Number)

이 함수는 주어진 Number의 역 쌍곡 탄젠트 값을 구합니다. 이는 결과 값의 쌍곡 탄젠트 값이 Number가 되는 수치를 말합니다.

수는 반드시 -1 초과 1 미만(-1<수<1)의 조건을 만족해야 합니다.

예제

=ATANH(0)는 0을 반환합니다.

COMBIN

요소의 부분집합에 대한 조합의 수를 중복없이 구합니다.

구문

COMBIN(갯수1; Count2)

갯수1는 집합에 속하는 원소의 갯수입니다.

Count2는 집합에서 선택할 원소의 갯수입니다.

COMBIN은 해당 항목을 선택할 수 있는 방법의 수를 구합니다. 예를 들어, 한 집합에 A, B, C의 3가지 항목이 있는 경우 3가지의 다른 방법으로 2개 항목을 선택할 수 있습니다(AB, AC, BC).

COMBIN 함수는 다음 수식과 같은 연산을 수행합니다. Count1!/(Count2!*(Count1-Count2)!)

예제

=COMBIN(3;2)은 3을 반환합니다.

COMBINA

항목의 부분집합에 대한 조합의 수를 중복하여 구합니다.

구문

COMBINA(경우1; 경우2)

갯수1는 집합에 속하는 원소의 갯수입니다.

Count2는 집합에서 선택할 원소의 갯수입니다.

COMBINA는 선택 순서가 무관하고 항목의 반복이 허용되는 상황에서 이러한 항목을 고르는 고유한 방식의 수를 반환합니다. 예를 들어, 집합에 A, B, C 세 개의 항목이 있으면 AA, AB, AC, BB, BC, CC와 같이 6개의 다른 방식으로 2개의 항목을 고를 수 있습니다.

COMBIN 함수는 다음 수식과 같은 연산을 구현합니다. (Count1+Count2-1)! / (Count2!(Count1-1)!)

예제

=COMBINA(3;2)는 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.


구문

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

Value는 변환할 통화의 양입니다.

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.

tip

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


COS

해당 각도(라디안)에 대한 코사인 값을 구합니다.

구문

COS(Number)

숫자(라디안 단위의 각도)에 대한 (삼각) 코사인 값을 구합니다.

도 단위 각도의 코사인 값을 구하려면 RADIANS 함수를 사용합니다.

예제

=COS(PI()/2)는 PI/2 라디안의 코사인값인 0을 반환합니다.

=COS(RADIANS(60))는 60도의 코사인 값인 0.5를 반환합니다.

COSH

숫자의 쌍곡선 코사인을 구합니다.

구문

COSH(Number)

숫자에 대한 쌍곡선 코사인 값을 구합니다.

예제

=COSH(0) 0의 쌍곡 코사인 값인 1을 반환합니다.

COT

해당 각도(라디안)에 대한 코탄젠트 값을 구합니다.

구문

COT(Number)

숫자(라디안 단위의 각도)에 대한 (삼각) 코탄젠트 값을 구합니다.

도 단위 각도의 코탄젠트 값을 구하려면 RADIANS 함수를 사용합니다.

각도의 코탄젠트 값은 1을 해당 각도의 탄젠트 값으로 나눈 것과 같습니다.

예:

=COT(PI()/4)는 PI/4 라디안의 코탄젠트값인 1을 반환할 것입니다.

=COT(RADIANS(45))는 45도의 코탄젠트 값인 1을 반환합니다.

COTH

주어진 숫자(각도)의 역 쌍곡선 코탄젠트를 구합니다.

구문

COTH(Number)

Number에 대한 쌍곡 코탄젠트 값을 구합니다.

예제

=COTH(1) 1의 쌍곡 코탄젠트 값의 근사치인 1.3130을 반환합니다.

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.


구문

COSH(Number)

숫자(라디안 단위의 각도)에 대한 (삼각) 코사인 값을 구합니다.

도 단위 각도의 코사인 값을 구하려면 RADIANS 함수를 사용합니다.

예제

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

=COS(RADIANS(60))는 60도의 코사인 값인 0.5를 반환합니다.

CSCH

숫자의 쌍곡선 코사인을 구합니다.

tip

This function is available since LibreOffice 3.5.


구문

COSH(Number)

숫자에 대한 쌍곡선 코사인 값을 구합니다.

예제

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

DEGREES

라디안을 도로 변환합니다.

구문

DEGREES(숫자)

숫자는 각도 단위로 변환하려는 라디안 단위의 각도입니다.

예제

=DEGREES(PI())는 180도를 반환합니다.

EUROCONVERT

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

구문

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

Value는 변환할 통화의 양입니다.

From_currency는 변환할 통화, To_currency는 변환될 통화입니다. 값은 텍스트이어야하며 "EUR" 등의 공식적인 약칭과 환율은 유럽위원회(European Commision)이 정한 값에 따릅니다.

끝수 표기는 선택 사항입니다. 만약 생략하거나 비활성화하면 통화에 따라 끝자리를 반올림합니다. 활성화했을 때, 결과에 끝수가 반영됩니다.

삼각 표기는 선택 사항입니다. 만약 삼각 표기가 주어졌거나 >=3일 때, (currency1,EUR,currency2)의 삼각 치환에 의한 중간 결과에 반올림 처리가 이루어집니다. 삼각 표기가 생략되었을 경우, 중간 결과는 반올림되지 않습니다. 또한, 통화가 "EUR(유로)"라면, 삼각 표기는 삼각 측량이 필요하고 EUR(유로)에서 EUR(유로)로 변환한 것처럼 적용됩니다.

=EUROCONVERT(100;"ATS";"EUR")는 100 오스트리아 실링을 유로로 변환합니다.

=EUROCONVERT(100;"EUR";"DEM")는 100 유로를 독일 마르크로 변환합니다.

EVEN

양수는 가장 가까운 짝수인 정수로 올림하고 음수는 가장 가까운 짝수인 정수로 버림합니다.

구문

EVEN(Number)

주어진 Number가 0에서 멀어지도록 가까운 짝수 정수로 올림값을 계산합니다.

예제

=EVEN(2.3)는 4를 반환합니다.

=EVEN(2)은 2를 반환합니다.

=EVEN(0)은 0을 반환합니다.

=EVEN(-0.5)는 -2를 반환합니다.

EXP

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

구문

EXP(Number)

Number는 e를 제곱하는 지수입니다.

예제

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

FACT

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)는 6을 반환합니다.

=FACT(3.8) returns 6.

=FACT(0)는 1을 반환합니다.

GCD

둘 이상 정수의 최대 공약수를 구합니다.

최대 공약수는 제공된 각 정수를 나머지 없이 나눌 수 있는 가장 큰 양의 정수입니다.

구문

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.


예제

=GCD(16;32;24)는 주어진 숫자들의 공약수인 8, 16, 24, 32 중 최대공약수인 8을 결과로 반환합니다.

B1, B2, B3가 각각 9, 12, 9의 값을 가진다면 =GCD(B1:B3)는 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.


구문

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.

예제

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

INT

가장 가까운 정수로 반버림합니다.

구문

INT(Number)

주어진 Number를 가장 가까운 정수로 내림한 값을 반환합니다.

음수의 경우에는 낮은 정수로 버림됩니다.

예제

=INT(5.7)는 5를 반환합니다.

=INT(-1.3)는 -2를 반환합니다.

LCM

하나 이상 정수의 최소 공배수를 구합니다.

구문

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.


예제

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.


구문

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.

예제

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

LN

숫자의 상수 e를 기준으로 자연 로그를 구합니다. 상수 e의 값은 약 2.71828182845904입니다.

구문

LN(Number)

숫자는 자연 로그를 계산할 값입니다.

예제

=LN(3)는 3의 자연로그 값(약 1.0986)을 반환합니다.

=LN(EXP(321))는 321을 반환합니다.

LOG

지정한 밑에 대한 로그를 구합니다.

구문

LOG(Number [; Base])

Number는 로그가 계산될 값입니다.

Base(선택 사항)는 로그 계산을 위한 밑입니다. 무시할 때엔 10이 배정됩니다.

예제

=LOG(10;3)는 10의 밑을 3으로 하는 로그값(약 2.0959)을 반환합니다.

=LOG(7^4;7)는 4를 반환합니다.

LOG10

숫자의 밑수가 10인 로그를 구합니다.

구문

LOG10(Number)

주어진 Number의 상용로그(10을 밑으로 하는 로그) 값을 구합니다.

예제

=LOG10(5)는 5의 10을 밑으로 하는 상용로그값(약 0.69897)을 반환합니다.

MOD

한 정수를 다른 정수로 나눈 나머지를 구합니다.

구문

MOD(Dividend; Divisor)

변수가 정수일 때 이 함수는 피제수제수로 나누어지고 남은 나머지를 반환합니다.

이 함수는 피제수 - 제수 * INT(피제수/제Number)로 표현되며 이 수식은 변수가 정수가 아닐 때에도 원하는 결과를 얻을 수 있습니다.

예제

=MOD(22;3)는 22를 3으로 나누고 남은 나머지인 1을 반환합니다.

=MOD(11.25;2.5)은 1.25를 반환합니다.

MROUND

지정된 숫자를 다른 숫자의 가장 가까운 배수로 반올림합니다.

구문

MROUND(Number; Multiple)

지정한 배수에 대한 배수값 중 가장 가까운 값으로 숫자를 반올림합니다.

다른 구현 방법으로 배수 * ROUND(숫자/배Number)를 사용할 수 있습니다.

예제

=MROUND(15.5;3)일 때, 15.5는 3*6인 18보다 3*5인 15에 가깝기 때문에 결과값으로는 15가 반환됩니다.

=MROUND(1.4;0.5)는 1.5( = 0.5*3)를 반환합니다.

MULTINOMIAL

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

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.


예제

만일 F11부터 H11까지의 셀이 각각 2, 3, 4라면 =MULTINOMIAL(F11:H11)는 =(2+3+4)! / (2!*3!*4!)를 계산한 값인 1260을 반환합니다.

ODD

양수는 가장 가까운 홀수인 정수로 반올림하고 음수는 가장 가까운 홀수인 정수로 반버림합니다.

구문

ODD(Number)

Number를 0에서 먼 방향으로 가장 가까운 홀수 정수로 근사시킨 값을 반환합니다.

예제

=ODD(1.2)는 3을 반환합니다.

=ODD(0)은 1을 반환합니다.

=ODD(0)은 1을 반환합니다.

=ODD(-3.1)는 -5를 반환합니다.

PI

상수 PI의 값을 14번째 소수점 이하 자릿수까지 표시하여 3.14159265358979를 반환합니다.

구문

PI()

예제

=PI()는 3.14159265358979을 반환합니다.

POWER

다른 수로 제곱되는 수를 반환합니다.

구문

POWER(Base; Exponent)

BaseExponent로 제곱한 값을 반환합니다.

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

note

=POWER(0,0) returns 1; =POWER(0,X) reports the #NUM! error when exponent X is negative.


warning

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

PRODUCT

인수로 제공된 모든 숫자를 곱하고 곱을 계산합니다.

구문

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.


예제

=PRODUCT(2;3;4)는 24를 반환합니다.

QUOTIENT

나눗셈 연산의 정수 부분을 반환합니다.

구문

QUOTIENT(피연산자; 연산자)

분자분모로 나누어 그 몫을 반환합니다.

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)는 3을 반환합니다. 나머지값인 2는 버려집니다.

RADIANS

도를 라디안으로 변환합니다.

구문

RADIANS(Number)

Number는 라디안 값으로 변환하려는 각도입니다.

예제

=RADIANS(90)는 PI/2에 대한 Calc의 정의에 따라 1.5707963267949를 반환합니다.

RAND

0에서 1 사이의 난수를 구합니다.

This function is always recalculated whenever a recalculation occurs.

구문

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:

예제

=RAND()는 0과 1 사이의 수를 무작위로 반환합니다.

RAND.NV

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 Recalculate Hard command (Shift++F9). The function is recalculated when opening the file.

예제

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

구문

RANDBETWEEN(시작 숫자; 끝 숫자)

첫수이상 끝수이하의 범위에서 무작위의 정수를 반환합니다.

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

난수 값을 생성한 후 그 값 그대로를 복사해 붙여넣기 위해서는 이 함수를 이용해 난수를 생성한후 해당 셀을 복사해 편집 - 선택하여 붙여넣기에서 모두 붙여넣기수식을 체크 해제하고 숫자를 체크한 상태에서 붙여넣으시면 됩니다.

예제

=RANDBETWEEN(20;30)는 20이상 30이하의 정수 중 하나를 무작위로 반환합니다.

RANDBETWEEN.NV

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 Recalculate Hard command (Shift++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.

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

숫자를 특정 소수점 이하 자릿수로 반올림합니다.

구문

ROUND(Number [; Count])

Number를 소수 자릿수에서 반올림한 값을 반환합니다. 자릿수를 생략하거나 0으로 입력한 경우, 함수는 소수점 아래를 전부 버리고 정수 형태로 만듭니다. 자릿수를 음수로 입력한 경우, 해당하는 십진 자리수까지의 버림수를 출력합니다.

이 함수는 가장 가까운 숫자로 반올림합니다. 다른 방법으로는 ROUNDDOWN과 ROUNDUP이 있습니다.

예제

=ROUND(2.348;2)는 2.35를 반환합니다.

=ROUND(-32.4834;3)는 -32.483를 반환합니다. 셀 서식을 바꾸어서 모든 자리수를 확인할 수 있습니다.

=ROUND(2.348;0)은 2를 반환합니다.

=ROUND(2.5)는 3을 반환합니다.

=ROUND(987.65;-2)는 1000을 반환합니다.

ROUNDDOWN

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

ROUNDUP

숫자를 특정 자릿수로 올림합니다.

구문

ROUNDUP(Number [; Count])

입력된 Number를 10의 자릿수 제곱한 자리에서 0에서 먼 정수로 근사한 값을 반환합니다. 자리수를 생략하거나 0으로 입력한 경우 소수점 아래를 전부 버리고 정수 형태로 만듭니다. 자리수를 음수로 입력한 경우, 해당하는 10의 제곱 자리수까지의 버림수를 출력합니다.

이 함수는 숫자를 올림합니다. 다른 방법으로는 ROUNDDOWN과 ROUND가 있습니다.

예제

=ROUNDUP(1.1111;2)는 1.12를 반환합니다.

=ROUNDUP(1.2345;1)는 1.3을 결과값으로 반환합니다.

=ROUNDUP(45.67;0)은 46을 반환합니다.

=ROUNDUP(-45.67)는 -46을 반환합니다.

=ROUNDUP(987.65;-2)는 1000을 반환합니다.

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.


구문

SIN(Number)

Number의 사인 값을 반환합니다. 각도는 라디안으로 계산됩니다.

도 단위 각도의 사인 값을 구하려면 RADIANS 함수를 사용합니다.

예제

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

=COS(RADIANS(60))는 60도의 코사인 값인 0.5를 반환합니다.

SECH

숫자의 쌍곡선 사인을 구합니다.

tip

This function is available since LibreOffice 3.5.


구문

SINH(Number)

Number에 대한 쌍곡 사인 값을 구합니다.

예제

=SINH(0)는 0의 쌍곡 사인 값인 0을 반환합니다.

SERIESSUM

멱급수의 1차 항에 대한 총계를 구합니다.

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

구문

SERIESSUM(X; N; M; 계Number)

X는 주어진 급수 배열의 입력 값입니다.

N는 초기 제곱수입니다.

M는 N의 증분입니다.

Coefficients는 배열 급수입니다. 각각의 배열에 대해 한 급씩 증가합니다.

예제

=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

숫자의 기호를 구합니다. 숫자가 양수이면 1을, 음수이면 -1을, 0이면 0을 반환합니다.

구문

SIGN(Number)

Number는 부호가 지정되어야 하는 수입니다.

예제

=SIGN(3.4)는 1을 반환합니다.

=SIGN(-4.5)는 -1을 반환합니다.

SIN

해당 각도(라디안)에 대한 사인 값을 구합니다.

구문

SIN(Number)

Number의 사인 값을 반환합니다. 각도는 라디안으로 계산됩니다.

도 단위 각도의 사인 값을 구하려면 RADIANS 함수를 사용합니다.

예제

=SIN(PI()/2)는 PI/2 라디안의 사인값인 1을 반환합니다.

=SIN(RADIANS(30))은 30도의 사인 값인 0.5를 반환합니다.

SINH

숫자의 쌍곡선 사인을 구합니다.

구문

SINH(Number)

Number에 대한 쌍곡 사인 값을 구합니다.

예제

=SINH(0)는 0의 쌍곡 사인 값인 0을 반환합니다.

SQRT

숫자에 대한 양의 제곱근을 구합니다.

구문

SQRT(Number)

주어진 Number의 양수 제곱근 값을 반환합니다.

수는 양수여야만 합니다.

예제

=SQRT(16)는 4를 반환합니다.

=SQRT(-16)불능조건 오류를 반환합니다.

SQRTPI

(PI x 숫자)의 제곱근을 구합니다.

구문

SQRTPI(Number)

양수 제곱근 값을(파이(PI)의 정수배) 반환합니다.

이것은 SQRT(PI()*Number) 수식을 직접 입력하는 것과 같은 연산을 수행합니다.

예제

=SQRTPI(2)는 2PI의 제곱근 값인 약 2.506628을 반환합니다.

SUBTOTAL

부분합을 계산합니다. 범위에 이미 포함된 부분합은 추가 계산에 사용되지 않습니다. 필터링된 레코드만 고려하려면 이 함수와 함께 자동 필터를 사용합니다.

구문

SUBTOTAL(함수; 범위)

함수는 다음 함수 중 하나를 나타내는 번호입니다.

함수 색인

(includes hidden values)

함수 색인

(ignores hidden values)

함수

1

101

AVERAGE

2

102

COUNT

3

103

COUNTA

4

104

최대값

5

105

최소값

6

106

PRODUCT

7

107

STDEV

8

108

STDEVP

9

109

SUM

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.


예제

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

연필

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.

SUMSQ

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

구문

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.


예제

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

TAN

해당 각도(라디안)에 대한 탄젠트 값을 구합니다.

구문

TAN(Number)

주어진 Number의 탄젠트 값을 구합니다. 각도는 라디안으로 계산됩니다.

도 단위 각도의 탄젠트 값을 구하려면 RADIANS 함수를 사용합니다.

예제

=TAN(PI()/4) 는 PI/4 라디안의 탄젠트 값인 1을 반환합니다.

=TAN(RADIANS(45))는 45도의 탄젠트 값인 1을 반환합니다.

TANH

숫자의 쌍곡선 탄젠트를 구합니다.

구문

TANH(Number)

Number에 대한 쌍곡 탄젠트 값을 구합니다.

예제

=TANH(0)는 0의 쌍곡 탄젠트 값인 0을 반환합니다.

TRUNC

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