Add-in Functions

The following describes and lists some of the available add-in functions.

Add-in κ°œλ…

You will also find a description of the LibreOffice Calc add-in interface in the Help. In addition, important functions and their parameters are described in the Help for the .

제곡된 μΆ”κ°€

LibreOfficeμ—λŠ” LibreOffice Calc의 Add-In μΈν„°νŽ˜μ΄μŠ€μ— λŒ€ν•œ μ˜ˆκ°€ ν¬ν•¨λ˜μ–΄ μžˆμŠ΅λ‹ˆλ‹€.

뢄석 ν•¨μˆ˜ 1μž₯

뢄석 ν•¨μˆ˜ 2μž₯

DAYSINMONTH

μž…λ ₯된 λ‚ μ§œμ™€ κ΄€λ ¨λœ λ‹¬μ˜ λ‚ μ§œ 수λ₯Ό κ³„μ‚°ν•©λ‹ˆλ‹€.

Syntax

DAYSINYEAR(λ‚ μ§œ)

λ‚ μ§œλŠ” μ›ν•˜λŠ” λ…„λ„μ˜ 각 μ›”μ˜ λ‚ μž…λ‹ˆλ‹€. λ‚ μ§œ 맀개 λ³€μˆ˜λŠ” LibreOffice 의 λ‘œμΌ€μΌ 섀정에 λ§žλŠ” λ‚ μ§œ ν˜•μ‹μ΄μ–΄μ•Ό ν•©λ‹ˆλ‹€.

Example

A1 에 1968-02-17 이 있으면, =DAYSINMONTH(A1) 은 1968λ…„ 2μ›”μ˜ λ‚ μ§œμΈ 29일을 λ°˜ν™˜ν•©λ‹ˆλ‹€.

Technical information

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.OPENOFFICE.DAYSINMONTH

tip

DAYSINYEAR

μž…λ ₯된 λ‚ μ§œμ™€ κ΄€λ ¨λœ ν•΄μ˜ λ‚ μ§œ 수λ₯Ό κ³„μ‚°ν•©λ‹ˆλ‹€.

Syntax

DAYSINYEAR(λ‚ μ§œ)

λ‚ μ§œλŠ” 각 λ…„λ„μ˜ νŠΉμ • μΌμž…λ‹ˆλ‹€. λ‚ μ§œ 맀개 λ³€μˆ˜λŠ” LibreOffice 의 λ‘œμΌ€μΌ 섀정에 λΆ€ν•©λ˜λŠ” ν˜•μ‹μ΄μ–΄μ•Ό ν•©λ‹ˆλ‹€.

Example

A1 에 1968-02-29 κ°€ 있으면, =DAYSINYEAR(A1) 은 1968λ…„μ˜ λ‚ μ§œμΈ 366일을 κ°’μœΌλ‘œ λ°˜ν™˜ν•©λ‹ˆλ‹€.

Technical information

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.OPENOFFICE.DAYSINYEAR

tip

ISLEAPYEAR

연도가 μœ€λ…„μΈμ§€λ₯Ό κ²°μ •ν•©λ‹ˆλ‹€. μœ€λ…„μ΄λ©΄ κ°’ 1(TRUE)을 κ΅¬ν•˜κ³  μ•„λ‹ˆλ©΄ 0(FALSE)을 κ΅¬ν•©λ‹ˆλ‹€.

Syntax

ISLEAPYEAR("λ‚ μ§œ")

Date specifies whether a given date falls within a leap year. The Date parameter must be a valid date.

warning

Microsoft Excel wrongly assumes year 1900 to be a leap year and considers the inexistent day of 1900-02-29 as valid in date calculations. Dates prior to 1900-03-01 are therefore different in Excel and Calc.


Example

A1 에 1968-02-29이 μžˆμ„ 경우, =ISLEAPYEAR(A1)은 λ‘œμΌ€μΌ 섀정상 1968λ…„ 2μ›” 29일에 λ§žμ€ 날을 λ°˜ν™˜ν•©λ‹ˆλ‹€.

You may also use =ISLEAPYEAR(DATE(1968;2;29)) or =ISLEAPYEAR("1968-02-29") giving the date string in the ISO 8601 notation.

=ISLEAPYEAR(2/29/68)λŠ” μ‚¬μš©ν•˜μ§€ λ§ˆμ‹­μ‹œμ˜€. μ΄λŠ” μš°μ„  2 λ‚˜λˆ„κΈ° 29 λ‚˜λˆ„κΈ° 68 둜 μΈμ‹λœ λ‹€μŒ 이 μ†Œμˆ˜μ—μ„œ ISLEAPYEAR ν•¨μˆ˜λ₯Ό 연속 λ‚ μ§œλ‘œ κ³„μ‚°ν•©λ‹ˆλ‹€.

Technical information

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.OPENOFFICE.ISLEAPYEAR

tip

MONTHS

두 λ‚ μ§œμ˜ μ›” 차이λ₯Ό κ³„μ‚°ν•©λ‹ˆλ‹€.

Syntax

MONTHS(μ‹œμž‘ λ‚ μ§œ; 끝 λ‚ μ§œ; μœ ν˜•)

μ‹œμž‘λ‚ μ§œλŠ” 첫번째 λ‚ μ§œλ₯Ό κ°€λ¦¬ν‚΅λ‹ˆλ‹€.

μ’…λ£Œλ‚ μ§œλŠ” λ‘λ²ˆμ§Έ λ‚ μ§œλ₯Ό κ°€λ¦¬ν‚΅λ‹ˆλ‹€.

Type은 차이점의 μœ ν˜•μ„ κ³„μ‚°ν•©λ‹ˆλ‹€. 0(λ‚΄λΆ€)와 1(달λ ₯의 μ›”)을 ν¬ν•¨ν•œ 값이 될 수 μžˆμŠ΅λ‹ˆλ‹€.

Technical information

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.OPENOFFICE.MONTHS

tip

ROT13

μ•ŒνŒŒλ²³μ—μ„œ 문자λ₯Ό 13μžμ”© μ΄λ™ν•˜μ—¬ λ¬Έμžμ—΄μ„ μ•”ν˜Έν™”ν•©λ‹ˆλ‹€. 문자 Zκ°€ μ§€λ‚˜λ©΄ μ•ŒνŒŒλ²³μ„ λ‹€μ‹œ μ‹œμž‘ν•©λ‹ˆλ‹€(νšŒμ „). κ²°κ³Ό μ½”λ“œμ— μ•”ν˜Έν™” ν•¨μˆ˜λ₯Ό λ‹€μ‹œ μ μš©ν•˜μ—¬ ν…μŠ€νŠΈλ₯Ό μ•”ν˜Έ 해독할 수 μžˆμŠ΅λ‹ˆλ‹€.

Syntax

RED13(ν…μŠ€νŠΈ)

Type은 μ•”ν˜Έν™”λœ λ¬Έμžμ—΄μž…λ‹ˆλ‹€. ROT13(ROT13(Text))λŠ” μ½”λ“œλ₯Ό λ³΅ν˜Έν™”ν•©λ‹ˆλ‹€.

Example

=ROT13("Gur Qbphzrag Sbhaqngvba jnf sbhaqrq va Frcgrzore 2010.") returns the string "The Document Foundation was founded in September 2010.". Notice how spaces, digits, and full stops are unaffected by ROT13.

Technical information

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.OPENOFFICE.ROT13

tip

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


WEEKS

두 λ‚ μ§œμ˜ μ£Ό 차이λ₯Ό κ³„μ‚°ν•©λ‹ˆλ‹€.

Syntax

WEEKS(μ‹œμž‘ λ‚ μ§œ; 끝 λ‚ μ§œ; μœ ν˜•)

StartDate is the start date in the interval.

EndDate is the end date in the interval. The end date must be greater than the start date, or else an error is returned.

Type specifies the type of difference to be calculated. Possible values are 0 (time interval) or 1 (calendar weeks).

If Type = 0 the function will assume that 7 days is equivalent to one week without considering any specific day to mark the beginning of a week.

If Type = 1 the function will consider Monday to be the first day of the week. Therefore, except for the start date, each occurrence of a Monday in the interval is counted as an additional week.

note

This function considers Monday to be the first day of the week regardless of the current locale settings.


Example

In the following examples, dates are passed as strings. However, they can also be stored in separate cells and be passed as references.

=WEEKS("01/12/2022","01/17/2022",0) returns 0 because Type was set to 0 and there are only 5 days in the interval.

=WEEKS("01/12/2022","01/19/2022",0) returns 1 because Type was set to 0 and there are 7 days in the interval.

=WEEKS("01/12/2022","01/17/2022",1) returns 1 because Type was set to 1 and the interval contains a Monday, since 01/12/2022 is a Wednesday and 01/17/2022 is a Monday.

=WEEKS("01/10/2022","01/15/2022",1) returns 0 because Type was set to 1 and the interval does not contain any Mondays, except for the start date.

Technical information

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.OPENOFFICE.WEEKS

tip

WEEKSINYEAR

μž…λ ₯된 λ‚ μ§œμ™€ κ΄€λ ¨λœ ν•΄μ˜ μ£Ό 수λ₯Ό λ°˜ν™˜ν•©λ‹ˆ λ‹€. 연도가 λ°”λ€ŒλŠ” 주의 κ²½μš°μ—λŠ” 더 λ§Žμ€ 날이 ν¬ν•¨λœ 연도에 ν•΄λ‹Ή μ£Όλ₯Ό ν¬ν•¨μ‹œν‚€λŠ” λ°©μ‹μœΌλ‘œ μ£Ό 수λ₯Ό κ³„μ‚°ν•©λ‹ˆλ‹€.

Syntax

WEEKSINYAER(λ‚ μ§œ)

λ‚ μ§œλŠ” 각 λ…„λ„μ˜ νŠΉμ • μΌμž…λ‹ˆλ‹€. λ‚ μ§œ 맀개 λ³€μˆ˜λŠ” LibreOffice 의 λ‘œμΌ€μΌ 섀정에 λΆ€ν•©λ˜λŠ” ν˜•μ‹μ΄μ–΄μ•Ό ν•©λ‹ˆλ‹€.

Example

A1에 1970-02-17κ°€ μžˆμ„ 경우, WEEKSINYEAR(A1)λŠ” 1970λ…„μ˜ λ‚ μ§œμΈ 53을 κ°’μœΌλ‘œ λ°˜ν™˜ν•©λ‹ˆλ‹€.

Technical information

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.OPENOFFICE.WEEKSINYEAR

tip

YEARS

두 λ‚ μ§œμ˜ 연도 차이λ₯Ό κ³„μ‚°ν•©λ‹ˆλ‹€.

Syntax

YEARS(μ‹œμž‘λ‚ μ§œ; μ’…λ£Œλ‚ μ§œ; μœ ν˜•)

μ‹œμž‘λ‚ μ§œλŠ” 첫번째 λ‚ μ§œλ₯Ό κ°€λ¦¬ν‚΅λ‹ˆλ‹€.

μ’…λ£Œλ‚ μ§œλŠ” λ‘λ²ˆμ§Έ λ‚ μ§œλ₯Ό κ°€λ¦¬ν‚΅λ‹ˆλ‹€.

Type은 차이점의 μœ ν˜•μ„ κ³„μ‚°ν•©λ‹ˆλ‹€. 0(λ‚΄λΆ€)와 1(달λ ₯의 μ›”)이 값이 될 수 μžˆμŠ΅λ‹ˆλ‹€.

Technical information

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.OPENOFFICE.YEARS

tip

LibreOffice APIλ₯Ό ν†΅ν•œ Add-in

Add-ins can also be implemented through the LibreOffice API.

Please support us!