Contents
Index 🔎︎
\<bookmark_value\>references; iterative (Calc)\</bookmark_value\>\<bookmark_value\>calculating;iterative references (Calc)\</bookmark_value\>\<bookmark_value\>iterative references in spreadsheets\</bookmark_value\>\<bookmark_value\>recursions in spreadsheets\</bookmark_value\>\<bookmark_value\>dates; default (Calc)\</bookmark_value\>\<bookmark_value\>dates; start 1900/01/01 (Calc)\</bookmark_value\>\<bookmark_value\>dates; start 1904/01/01 (Calc)\</bookmark_value\>\<bookmark_value\>cell contents; case sensitivity (Calc)\</bookmark_value\>\<bookmark_value\>numbers; decimal places (Calc)\</bookmark_value\>\<bookmark_value\>decimal places displayed (Calc)\</bookmark_value\>\<bookmark_value\>precision as shown (Calc)\</bookmark_value\>\<bookmark_value\>values; rounded as shown (Calc)\</bookmark_value\>\<bookmark_value\>rounding precision (Calc)\</bookmark_value\>\<bookmark_value\>search criteria for database functions in cells\</bookmark_value\>\<bookmark_value\>Excel; search criteria\</bookmark_value\>

# Calculate

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 - PreferencesTools - Options - LibreOffice Calc - Calculate.

## Iterative references

In this section you can delimit the number of approximation steps carried out during iterative calculations. In addition, you can specify the degree of precision of the answer.

### Iterations

Specifies whether formulas with iterative references (formulas that are continuously repeated until the problem is solved) are calculated after a specific number of repetitions. If the Iterations box is not marked, an iterative reference in the table will cause an error message.

\<emph\>Example:\</emph\> Calculating the cost of an item without the value-added-tax.

1. Type the text 'Selling price' in cell A5, the text 'Net' in cell A6, and the text 'Value-added tax' in cell A7.

2. Now type a selling price (for example, 100) in cell B5. The net price should be shown in cell B6 and the value-added tax should be shown in cell B7.

3. You know that the value-added tax is calculated as 'net price times 15%' and that you arrive at the net price by deducting the value-added tax from the selling price. Type the formula \<item type=\"literal\"\>=B5-B7\</item\> in B6 to calculate the net price, and type the formula \<item type=\"literal\"\>=B6*0.15\</item\> in cell B7 to calculate the value-added tax.

4. Switch on the iterations to correctly calculate the formulas, otherwise a 'Circular reference' error message appears in the \<emph\>Status\</emph\> Bar.

| A | B
5 | Selling Price | 100
6 | Net | =B5-B7
7 | Tax | =B6*0.15

### Steps

Sets the maximum number of iteration steps.

### Minimum Change

Specifies the difference between two consecutive iteration step results. If the result of the iteration is lower than the minimum change value, then the iteration will stop.

## Date

Select the start date for the internal conversion from days to numbers.

### 12/30/1899 (default)

Sets 12/30/1899 as day zero.

### 01/01/1900 (StarCalc 1.0)

Sets 1/1/1900 as day zero. Use this setting for StarCalc 1.0 spreadsheets containing date entries.

### 01/01/1904

Sets 1/1/1904 as day zero. Use this setting for spreadsheets that are imported in a foreign format.

## Case sensitive

Specifies whether to distinguish between upper and lower case in texts when comparing cell contents.

\<emph\>Example:\</emph\> Type the text 'Test' in cell A1; and the text 'test' in B1. Then type the formula "=A1=B1" in cell C1. If the \<emph\>Case sensitive\</emph\> box is marked, FALSE will appear in the cell; otherwise, TRUE will appear in the cell.

The EXACT text function is always case-sensitive, independent of the settings in this dialog.

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

## Precision as shown

Specifies whether to make calculations using the rounded values displayed in the sheet. Charts will be shown with the displayed values. If the Precision as shown option is not marked, the displayed numbers are rounded, but they are calculated internally using the non-rounded number.

## Search criteria = and <> must apply to whole cells

Specifies that the search criteria you set for the Calc database functions must match the whole cell exactly. When both, the Search criteria = and <> must apply to whole cells box and the Enable wildcards in formulas box are marked, LibreOffice Calc behaves exactly as Microsoft Excel when searching cells in the database functions.

.* in following position: | Search result:
--- | ---
win | Finds win, but not win95, os2win, or upwind
win.* | Finds win and win95, but not os2win or upwind
.*win | Finds win and os2win, but not win95 or upwind
win.* | Finds win, win95, os2win, and upwind

If \<emph\>Search criteria = and <> must apply to whole cells \</emph\>is not enabled, the "win" search pattern acts like ".*win.*". The search pattern can be at any position within the cell when searching with the Calc database functions.

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. This relates to the database functions, and to LOOKUP, VLOOKUP, HLOOKUP, MATCH, AVERAGEIF, AVERAGEIFS, COUNTIF, COUNTIFS, SUMIF, SUMIFS and SEARCH.

- ? (question mark) matches any single character

- * (asterisk) matches any sequence of characters, including an empty string

- ~ (tilde) escapes the special meaning of a question mark, asterisk or tilde character that follows immediately after the tilde character

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

## Enable regular expressions in formulas

Specifies that regular expressions instead of simple wildcards are enabled when searching and also for character string comparisons. This relates to the database functions, and to LOOKUP, VLOOKUP, HLOOKUP, MATCH, AVERAGEIF, AVERAGEIFS, COUNTIF, COUNTIFS, SUMIF, SUMIFS and SEARCH.

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. This relates to the database functions, and to LOOKUP, VLOOKUP, HLOOKUP, MATCH, AVERAGEIF, AVERAGEIFS, COUNTIF, COUNTIFS, SUMIF, SUMIFS and SEARCH.

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

## Automatically find column and row labels

Specifies that you can use the text in any cell as a label for the column below the text or the row to the right of the text. The text must consist of at least one word and must not contain any operators.

\<emph\>Example\</emph\>: Cell E5 contains the text "Europe". Below, in cell E6, is the value 100 and in cell E7 the value 200. If the \<emph\>Automatically find column and row labels\</emph\> box is marked, you can write the following formula in cell 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.

## Decimal places

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.