計算

Defines the calculation settings for spreadsheets. Defines the behavior of spreadsheets with iterative references, the date settings, the number of decimal places, and if capitalization or lower cases are to be considered when searching within sheets.

若要使用此指令...

Open a spreadsheet document, choose - LibreOffice Calc - Calculate.


反覆式參照

在此區域中,您可以限定迭代計算期間所執行的近似迭代步數。此外,您還可以指定計算結果的精確度。

循環

指定帶有反覆式參照的公式 (即需要不斷重複計算才能得到結果的公式),在進行了特定次數的重複計算後是否繼續。如果未標記 [循環] 方塊,則表格中的反覆式參照將導致一則錯誤訊息。

範例:計算不含增值稅的項目成本。

  1. 在儲存格 A5、A6 和 A7 中分別鍵入文字「Selling price」、「Net」和「Value-added tax」。

  2. 現在在儲存格 B5 中鍵入一個銷售價 (如 100)。淨價應當顯示在儲存格 B6 中,而增值稅應當顯示在儲存格 B7 中。

  3. 您知道增值稅由「淨價乘以 15%」計算而來,而淨價由銷售價減去增值稅得出。在 B6 中鍵入公式 =B5-B7 以計算淨價,而在儲存格 B7 中鍵入公式 =B6*0.15 以計算增值稅。

  4. 啟動循環以正確計算公式,否則[狀態列]中會顯示「循環參照」錯誤訊息。

A

B

5

VK

100

6

Netto

=B5-B7

7

MwSt

=B6*0.15


步驟

設定最大迭代步數。

最小偏差值

指定兩個連續循環步驟結果的差值。如果循環的結果小於最小變更值,則循環將停止。

日期

選取在內部將日期轉換成數字所使用的起始日期。

30.12.1899 (預設)

將 12/30/1899 設定為初始日期。

01.01.1900 (StarCalc 1.0)

將 1/1/1900 設定為初始日期。對於含有日期條目的 StarCalc 1.0 試算表,請使用此設定。

01.01.1904

將 1/1/1904 設定為初始日期。對於以外來格式匯入的試算表,請使用此設定。

區分大小寫字母

指定在比較儲存格內容時是否區分文字中字母的大小寫。

範例:在儲存格 A1 中輸入文字「Test」;在儲存格 B1 中輸入文字「test」。然後在儲存格 C1 中輸入公式「=A1=B1」。如果標記了 [區分字母大小寫] 方塊,儲存格中會顯示 FALSE;否則儲存格中會顯示 TRUE。

評註圖示

文字功能 EXACT 總是會顧及到大小寫,不受這個對話方塊中的設定影響。


警告圖示

Disable case sensitivity for spreadsheets that need to be interoperable with Microsoft Excel.


顯示的精確度

指定是否使用試算表中所顯示的四捨五入值進行計算。顯示圖表時將採用顯示的數值。如果未標記 [顯示的精確度] 選項,則以四捨五入的數值顯示數字,但在進行內部計算時會使用未經四捨五入的數字。

搜尋條件 = 和 <> 必須為整個儲存格

指定您為 Calc 資料庫功能所設定的搜尋條件必須完全符合整個儲存格。若標記了 [搜尋範圍 = 和 <> 必須適用全部的儲存格] 方塊,LibreOffice Calc 在資料庫功能中搜尋儲存格時的運作方式會與 MS Excel 完全相同。

.* 下一個位置:

對搜尋的影響:

win

尋找 win,但不是 win95、os2win 或是 gewinde

win.*

尋找 win 和 win95,但不是 os2win 或是 gewinde

.*win

尋找 win 和 os2win,但不是 win95 或是 gewinde

win.*

尋找 win、win95、os2win 和 gewinde


如果未啟用 [搜尋範圍 = 和 <> 必須適用全部的儲存格],則 "win" 的搜尋模式與 ".*win.*" 相同。使用 Calc 資料庫函式進行搜尋時,此搜尋模式可以位於儲存格中的任意位置。

警告圖示

Enable whole cell match for spreadsheets that need to be interoperable with Microsoft Excel.


Enable wildcards in formulas

Specifies that wildcards are enabled when searching and also for character string comparisons.

警告圖示

Enable wildcards in formulas for spreadsheets that need to be interoperable with Microsoft Excel.


以公式進行規則計算

Specifies that regular expressions instead of simple wildcards are enabled when searching and also for character string comparisons.

警告圖示

Do not enable regular expressions in formulas for spreadsheets that need to be interoperable with Microsoft Excel.


No wildcards or regular expressions in formulas

Specifies that only literal strings are used when searching and also for character string comparisons.

警告圖示

Do not disable wildcards in formulas for spreadsheets that need to be interoperable with Microsoft Excel.


自動搜尋欄/列標題

指定您可以使用任意儲存格中的文字作為該文字下方的欄或文字右側列的標籤。該文字至少要含有一個字,並且不能包含任何運算子。

範例:儲存格 E5 包含文字「Europe」。下方儲存格 E6 中的值是 100,儲存格 E7 中的值是 200。若標記了 [自動尋找列/欄標題] 方塊,則您可以在儲存格 A1 中寫入以下公式:=SUM(Europe)。

Limit decimals for general number format

You can specify the maximum number of decimal places that are shown by default for cells with General number format. If not enabled, cells with General number format show as many decimal places as the column width allows.

小數點位數

Defines the number of decimals to be displayed for numbers with the General number format. The numbers are displayed as rounded numbers, but are not saved as rounded numbers.