数式

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.

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

このコマンドの見つけ方

Go to Table - Edit Formula.

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

In a text document, press F2.

Formula icon in Table toolbar

数式


数式要素の表

基本的な計算の種類

Operation

Name

Example

加算

+

合計を計算します。

例 : <A1> + 8

減算

-

Calculates the difference.

例 : 10 - <B5>

乗算

MUL または *

積を計算します。

Example: 7 MUL 9 displays 63

除算

DIV または /

Calculates the quotient.

Example: 100 DIV 15 displays 6.67


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

Function

Name

Example

オート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.

Example: SQRT 25 displays 5

累乗

POW

Calculates the power of a number.

Example: 2 POW 8 displays 256


演算子

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

Operator

Name

Example

リストの区切り記号

|

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.

Example: <A1> EQ 2 displays 1, if the content of A1 equals 2

等しくない

NEQ または !=

Tests for inequality between selected values.

Example: <A1> NEQ 2 displays 0 (wrong), if the content of A1 equals 2

以下(小なりイコール)

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

以上(大なりイコール)

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

より小さい(未満)

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

より大きい(超える)

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

論理和

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:

Function

Name

Example

平均値

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.

Example: MAX 10|30|20 displays 30

Product

PRODUCT

Calculates the product of the selected cells.

Example: PRODUCT <A2:C2> displays the product of the values in cells A2 to C2

Count

COUNT

Counts the number of non empty cells.

Example: COUNT <A2:C2> displays the number of non empty cells in A2 to C2


Functions

You can choose from the following functions:

Function

Name

Example

サイン

SIN

Calculates the sine in radians.

Example: SIN (PI/2) displays 1

コサイン

COS

Calculates the cosine in radians.

Example: COS 1 displays 0.54

タンジェント

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

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


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

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

Name

Description

CHAR

ドキュメント内の文字数

WORD

ドキュメント内の単語数

PARA

ドキュメント内の段落数

GRAPH

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

TABLES

ドキュメント内の表数

OLE

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

PAGE

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


その他の定数

Description

Name

Value

円周率

PI

3.1415...

自然対数の底

E

2.71828...

TRUE

0 に等しくない

FALSE

0


ご支援をお願いします!