Contents

# Formula

Opens a submenu, from which you can insert a formula into the cell of a table. Place the cursor in a cell in the table or at the position in the document where you want the result to appear. Click the Formula icon and choose the desired formula from the submenu.

The formula appears in the input line. To specify a range of cells in a table, select the desired cells with the mouse. The corresponding cell references also appear in the input line. Enter additional parameters, as necessary, and click Apply to confirm your entry. You can also enter the formula directly if you know the appropriate syntax. This is necessary, for example, in the Insert Fields and Edit Fields dialogs.

To access this command...

Go to Table - Edit Formula.

In the Table toolbar, press the Insert or Edit Formula icon.

In a text document, press F2.

Formula

## Opcionet e formulës: Parametrat

### Paraqit Funksionet e Vizatimit

Operation | Emri | Shembull
--- | --- | ---
Mbledhja + | + | Gjerësi Totale Example: <A1> + 8
Zbritja - | - | Calculates the difference. Example: 10 - <B5>
Shumëzimi (x) | OSE logjike | Duke regjistruar produktin Example: 7 MUL 9 displays 63
Pjesëtim (÷) | OSE logjike | Calculates the quotient. Example: 100 DIV 15 displays 6.67

### Basic Functions in the Submenu

Funksioni | Emri | Shembull
--- | --- | ---
Shuma | SUM | Calculates the sum of the selected cells. Example: SUM <A2:C2> displays the sum of the values in cells A2 to C2
Rrumbullakët | ROUND | Rounds a number to the specified decimal places. Example: 15.678 ROUND 2 displays 15.68
Përqindja | PHD | Calculates a percentage. Example: 10 + 15 PHD displays 10.15
Rrënjë katrore | SQRT | Calculates the square root. Example: SQRT 25 displays 5
Fuqi | POW | Calculates the power of a number. Example: 2 POW 8 displays 256

### Operatorët

You can insert various operators in your formula. Choose from the following functions:

Operator | Emri | Shembull
--- | --- | ---
Ndarësi i listës | | | Separates the elements in a list. Zgjedhni listën e adresave MIN 10|20|50|<C6>|<A2:B6>|20
Baraz | OSE logjike | Checks if selected values are equal. If they are unequal, the result is zero, otherwise 1 (true) appears. Example: <A1> EQ 2 displays 1, if the content of A1 equals 2
Jo e barabartë | OSE logjike | Tests for inequality between selected values. Example: <A1> NEQ 2 displays 0 (wrong), if the content of A1 equals 2
Më e vogël ose e barabartë | LEQ | Tests for values less than or equal to a specified value. Example: <A1> LEQ 2 displays 1 (true), if the content of A1 is less than or equal to 2
Më e madhe se apo e barabartë | GEQ | Tests for values greater than or equal to a specified value. Example: <A1> GEQ 2 displays 1 (true), if the content of A1 is greater than or equal to 2
Më i vogël | L | Tests for values less than a specified value. Example: <A1> L 2 displays 1 (true), if the content of A1 is less than 2
Më i madh | G | Tests for values greater than a specified value. Example: <A1> G 2 displays 1 (true), if the content of A1 is greater than 2
OSE logjike | OR | Tests for values matching the Boolean OR. Example: 0 OR 0 displays 0 (false), anything else results in 1 (true)
OSE logjike | XOR | Tests for values matching the Boolean exclusive OR. Example: 1 XOR 0 displays 1 (true)
DHE logjike | AND | Tests for values matching the Boolean AND. Example: 1 AND 2 displays 1 (true)
JO logjike | NOT | Tests for values matching the Boolean NOT. Example: NOT 1 (true) displays 0 (false)

### Funksionet statistikore

You can choose from the following statistical functions:

Funksioni | Emri | Shembull
--- | --- | ---
I dobët | MEAN | Calculates the arithmetic mean of the values in an area or a list. Example: MEAN 10|30|20 displays 20
Vlerë absolute | MIN | Calculates the minimum value in an area or a list. Example: MIN 10|30|20 displays 10
Vlerë absolute | MAX | Calculates the maximum value in an area or a list. Example: MAX 10|30|20 displays 30
Produkti | PRODUCT | Calculates the product of the selected cells. Example: PRODUCT <A2:C2> displays the product of the values in cells A2 to C2
Numëro | COUNT | Counts the number of non empty cells. Example: COUNT <A2:C2> displays the number of non empty cells in A2 to C2

### Funksionet

You can choose from the following functions:

Funksioni | Emri | Shembull
--- | --- | ---
Sinus | SIN | Calculates the sine in radians. Example: SIN (PI/2) displays 1
Kosinus | COS | Calculates the cosine in radians. Example: COS 1 displays 0.54
Tangjent | TAN | Calculates the tangent in radians. Example: TAN <A1>
Sinus hiperbolik | ASIN | Calculates the arc sine in radians. Example: ASIN 1
Kosinus hiperbolik | ACOS | Calculates the arc cosine in radians. Example: ACOS 1
Tangjentë hiperbolike | ATAN | Calculates the arc tangent in radians. Example: ATAN 1
Absolute value | ABS | Returns the absolute value of the number. Example: ABS -34 returns 34
Sign | SIGN | Returns the algebraic sign of the number. Example: SIGN -23 returns -1

### Shfrytëzo të dhënat për vetitë e dokumentit

The following document properties are also found under File - Properties - Statistics.

Emri | Përshkrimi
--- | ---
CHAR | Shkronjë e pavlefshme në numër
WORD | Shkronjë e pavlefshme në numër
PARA | Shkronjë e pavlefshme në numër
GRAPH | Shkronjë e pavlefshme në numër
TABLES | Shkronjë e pavlefshme në numër
OLE | Shkronjë e pavlefshme në numër
PAGE | Total number of pages in the document

### Ndrysho vlerat standarde

Përshkrimi | Emri | Vlerë
--- | --- | ---
PI | PI | 3.1415...
Vlerë konstante | E | 2.71828...
Saktë | TRUE | not equal to 0
Pasaktë | FALSE | 0