数式

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.

数式は数式入力ボックスに表示されます。表のセルを範囲で指定するには、希望のセル範囲をマウスで選択します。対応するセル参照が数式入力ボックスに表示されます。必要なパラメータを入力して、適用 アイコンをクリックし、数式の入力を終了します。正しい文法を知っている場合、数式入力ボックスに直接数式を入力してもかまいません。この方法は、挿入 → フィールド ダイアログや フィールドの編集 ダイアログで必要です。

Icon

数式

数式要素の表

基本的な計算の種類

加算

+

合計を計算します。

例 : <A1> + 8

減算

-

数値の差を計算します。

例 : 10 - <B5>

乗算

MUL または *

積を計算します。

例 : 7 MUL 9

除算

DIV または /

商を計算します。

例:100 DIV 15


サブメニュー内の基本機能

オートSum

SUM

Calculates the sum of the selected cells.

例 : SUM <A2:C2> はセル A2 から C2 までの値の合計を出します。

四捨五入

ROUND

Rounds a number to the specified decimal places.

例 : 15.678 ROUND 2 は 15.68 を返します。

パーセント

PHD

Calculates a percentage

例:10 + 15 PHD は 10.15 を表示します。

平方根

SQRT

Calculates the square root.

例 : SQRT 25 は、5.00 を返します。

累乗

POW

Calculates the power of a number.

例: 2 POW 8 は、256.00 を返します。


演算子

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

リストの区切り記号

|

Separates the elements in a list.

一覧を使用した例:

MIN 10|20|50|<C6>|<A2:B6>|20

等しい

EQ または ==

Checks if selected values are equal. If they are unequal, the result is zero, otherwise 1 (true) appears.

例 : <A1> EQ 2 は、A1 の内容が 2 に等しいとき、は 1 を返します。

等しくない

NEQ または !=

Tests for inequality between selected values.

例 : <A1> NEQ 2 は、A1 の内容が 2 に等しいと、0(FALSE)を返します。

以下(小なりイコール)

LEQ

Tests for values less than or equal to a specified value.

例 : <A1> LEQ 2 は、A1 の内容が 2 以下のときに 1(TRUE)を返します。

以上(大なりイコール)

GEQ

Tests for values greater than or equal to a specified value

例 : <A1> GEQ 2 は、A1 の内容が 2 以上のときに 1(TRUE)を返します。

より小さい(未満)

L

Tests for values less than a specified value

例 : <A1> L2 は、A1 の内容が 2 未満のとき、1(TRUE)を返します。

より大きい(超える)

G

Tests for values greater than a specified value

例 : <A1> G 2 は、A1 の内容が 2 を超えるとき 1(TRUE)を返します。

論理和

OR

Tests for values matching the Boolean OR

例 : 0 OR 0 は 0(FALSE) を返し、その他の場合は 1(TRUE) を返します。

排他的論理和

XOR

Tests for values matching the Boolean exclusive OR

例 : 1 XOR 0 は 1(TRUE) を返します。

論理積

AND

Tests for values matching the Boolean AND

例 : 1 AND 2 は 1(TRUE) を返します。

論理演算子 NOT

NOT

Tests for values matching the Boolean NOT

例 : NOT 1(TRUE) は 0(FALSE) を返します。


統計関数

You can choose from the following statistical functions:

平均値

MEAN

Calculates the arithmetic mean of the values in an area or a list.

例 : MEAN 10|30|20 は、20.00 を返します。

最小値

MIN

Calculates the minimum value in an area or a list.

例 : MIN 10|30|20 は、10.00 を返します。

最大値

MAX

Calculates the maximum value in an area or a list.

例 : MAX 10|30|20 は、30.00 を返します。


三角関数

You can choose from the following trigonometric functions:

サイン

SIN

Calculates the sine in radians

例 : SIN (PI/2)

コサイン

COS

Calculates the cosine in radians.

例 : COS 1

タンジェント

TAN

Calculates the tangent in radians.

例 : TAN <A1>

アークサイン

ASIN

Calculates the arc sine in radians.

例 : ASIN 1

アークコサイン

ACOS

Calculates the arc cosine in radians.

例 : ACOS 1

アークタンジェント

ATAN

Calculates the arc tangent in radians.

例 : ATAN 1


ドキュメントの属性の変数

次のドキュメントの属性は、メニュー ファイル → プロパティ → 統計 タブにも表示されます。

CHAR

ドキュメント内の文字数

WORD

ドキュメント内の単語数

PARA

ドキュメント内の段落数

GRAF

ドキュメント内のグラフィック数

TABLES

ドキュメント内の表数

OLE

ドキュメント内の OLE オブジェクト数

PAGE

ドキュメントの総ページ数


その他の定数

PI

PI

3.1415...

自然対数の底

E

2.71828...

TRUE

0 に等しくない

FALSE

0