JPH0786889B2 - Table processor - Google Patents

Table processor

Info

Publication number
JPH0786889B2
JPH0786889B2 JP59260145A JP26014584A JPH0786889B2 JP H0786889 B2 JPH0786889 B2 JP H0786889B2 JP 59260145 A JP59260145 A JP 59260145A JP 26014584 A JP26014584 A JP 26014584A JP H0786889 B2 JPH0786889 B2 JP H0786889B2
Authority
JP
Japan
Prior art keywords
formula
spreadsheet
calculation
data
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP59260145A
Other languages
Japanese (ja)
Other versions
JPS61138369A (en
Inventor
啓義 木内
敏男 乙幡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP59260145A priority Critical patent/JPH0786889B2/en
Publication of JPS61138369A publication Critical patent/JPS61138369A/en
Publication of JPH0786889B2 publication Critical patent/JPH0786889B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、表項目が複数行複数列に配列された表デー
タに対する表計算を行なう表処理装置に関する。
Description: TECHNICAL FIELD The present invention relates to a table processing device for performing table calculation on table data in which table items are arranged in a plurality of rows and a plurality of columns.

[従来の技術] 従来、作表機能を有する電子機器の表処理装置にいて、
表示画面上に表を作成して集計処理を行なう場合、まず
表の行、即ちレコードの数と、列、即ちアイテムの数及
びこのレコードとアイテムにより規定される各項目エリ
アの桁数を指定することにより表を作成し、その後に表
に集計を行なうようになったいた。
[Prior Art] Conventionally, in a table processing device of an electronic device having a tabulation function,
When creating a table on the display screen and performing totalization processing, first specify the number of rows in the table, that is, the number of records, the number of columns, that is, the number of items, and the number of digits in each item area defined by this record and item. As a result, a table was created, and then the table was tabulated.

即ち、この種の表処理装置では、作成した表の項目名を
用いた計算式を入力することにより、その計算式に従っ
て表の項目データを計算することもできるようになって
いた。
That is, in the table processing apparatus of this type, by inputting the calculation formula using the item name of the created table, the item data of the table can be calculated according to the calculation formula.

[発明が解決しようとする課題] しかしながら上記のような表処理装置にあっては、計算
に使用される表計算式は各使用者の業務内容に応じて定
まっている場合が多く、多数の表計算式を用いて表計算
を行なう場合は、その表計算式をその都度入力しなけれ
ばならず、非常に面倒であった。
[Problems to be Solved by the Invention] However, in the above-described table processing device, the spreadsheet formula used for the calculation is often determined according to the work content of each user, and a large number of tables are required. When a spreadsheet is calculated using a formula, the spreadsheet formula must be entered each time, which is very troublesome.

また、表計算式として関数による計算式を簡易に設定で
きるようにしたもののあるが、ここで自動入力できるの
は関数コマンド(@AVE、@SUM等)のみに限定されてお
り、従って、表データにおける個々の表項目を指定する
ための変数名が各種の四則演算子で結合される表計算
式、例えば、「C20+D20」のような表計算式や、「A1+
@SUM(B1:D2)」のように、式形態をした表計算式を入
力するためには、変数名はもちろんのこと、「+」、
「−」、「/」、「*」等の各種四則演算子も全て手入
力する必要があった。
Also, there is a table calculation formula that allows you to easily set a calculation formula using a function, but only the function commands (@AVE, @SUM, etc.) can be automatically input here, so the table data A spreadsheet formula in which variable names for specifying individual table items in are combined by various arithmetic operators, for example, a spreadsheet formula such as "C20 + D20" or "A1 +
In order to input a spreadsheet formula in the form of a formula, such as @SUM (B1: D2) ”, not only the variable name, but also“ + ”,
It was necessary to manually input all four arithmetic operators such as "-", "/", and "*".

また、上記関数による計算式を簡易設定できるようにし
たものにおいては、その関数コマンドの後に入力すべき
パラメータ(変数名)として、そのパラメータをどのよ
うに入力すれば良いのか、また幾つ入力すれば良いの
か、といったパラメータ入力のための特有のルール(例
えば、“@SUM"の関数コマンドの場合は、「A1からG1ま
での合計をとる」としたい場合には、上記関数コマンド
の直後に“(A1:G1)”と入力する必要がある、といっ
たルール)をオペレータは全て事前に把握していなけれ
ばならなかった。
Also, in the case where the calculation formula by the above function can be set easily, how to input the parameter (variable name) as the parameter (variable name) to be input after the function command, and how many Is it okay? A specific rule for parameter input (For example, in the case of a function command of "@SUM", if you want to "take the total from A1 to G1", immediately after the above function command, "( The operator had to know in advance all the rules such as "A1: G1)".

本発明の課題は、変数名と四則演算子とにより予め記憶
されている式形態の表計算式の内容を確認した上で、そ
の表計算式を利用した新たな計算式設定を簡易に行なえ
るようにすることである。
An object of the present invention is to confirm the contents of a spreadsheet formula that is stored in advance by a variable name and four arithmetic operators and then easily set a new formula using the spreadsheet formula. To do so.

[課題を解決するための手段] 本発明の手段は次の通りである。[Means for Solving the Problems] Means of the present invention are as follows.

表項目が複数行複数列に配列された表データを表示画面
上に表示する表示手段と、上記表データにおける各表項
目を個別に1対1で対応させて指定するための変数名を
有し、これら個々の変数名が各種の四則演算子で適宜結
合されて設定された式形態の表計算式を記憶する記憶手
段と、所定の操作に応じて、上記記憶手段に記憶された
表計算式を読み出し、その表計算式の式形態がわかるよ
うに、上記表計算式に含まれる個々の変数名及び個々の
四則演算子を、上記設定の結合状態でガイダンス表示す
る式ガイダンス表示手段と、上記表データに含まれる各
表項目の中で、上記表計算式に従った演算結果を表示す
べき表項目を指定する指定手段と、上記表計算式に含ま
れる各変数名を、個々の変数名毎に、上記表データにお
ける演算対象の数値データを記憶した個々の表項目に1
対1で対応付ける対応付け手段と、上記表計算式に従っ
た演算の実行の際に、上記表データの中で、上記対応付
け手段で対応付けられた表項目における数値データを読
み込み、この数値データを上記表計算式に含まれる変数
名に対応するデータとして、上記表計算式における式形
態に従った演算を実行する演算手段と、この演算手段に
よる演算結果を、上記指定手段で指定された任意の表項
目に対応するデータとして上記表示画面上に表示するよ
う制御する表示制御手段と、を具備する。
Display means for displaying table data in which table items are arranged in a plurality of rows and a plurality of columns on a display screen, and a variable name for designating each table item in the above table data in a one-to-one correspondence , Storage means for storing a spreadsheet formula in a form of expression in which these individual variable names are appropriately combined by various four arithmetic operators, and a spreadsheet formula stored in the storage device according to a predetermined operation. So that the formula form of the spreadsheet formula can be understood, an expression guidance display means for displaying guidance for each variable name and each of the four arithmetic operators included in the spreadsheet formula in the combined state of the above settings, and In each table item included in the table data, the designation means for specifying the table item that should display the calculation result according to the above table calculation formula, and each variable name included in the above table calculation formula, the individual variable name For each, the number of calculation objects in the above table data Data on the individual table entry that stores 1
When executing the calculation according to the above-mentioned spreadsheet and the associating means associated with one-to-one correspondence, the numerical data in the table items associated by the above-mentioned associating means are read in the above-mentioned table data, and the numerical data Is used as data corresponding to a variable name included in the spreadsheet formula, and a computing means for performing a computation in accordance with the formula form in the spreadsheet formula, and a computation result by the computing means are arbitrarily designated by the designating means. And display control means for controlling the data to be displayed on the display screen as data corresponding to the table item.

[作用] 本発明の手段の作用は次の通りである。[Operation] The operation of the means of the present invention is as follows.

式ガイダンス表示手段は、所定の操作に応じて記憶手段
に記憶された表計算式を読み出し、その表計算式の式形
態がわかるように上記表計算式に含まれる個々の変数名
及び個々の四則演算子を、上記設定の結合状態でガイダ
ンス表示する。そして、演算手段は上記表計算式に従っ
た演算の実行の際に、上記表データの中で上記表計算式
の各変数に対応付けられた表項目における数値データを
読み込み、この数値データを上記表計算式に含まれる変
数名に対応するデータとして、上記表計算式における式
形態に従った演算を実行する。そしてこの演算結果は指
定手段で指定された任意の表項目に対応するデータとし
て表示画面上に表示される。
The formula guidance display means reads out the spreadsheet formula stored in the storage means in response to a predetermined operation, and the individual variable names and individual four rules included in the spreadsheet formula are identified so that the formula form of the spreadsheet formula can be understood. Guidance is displayed for the operator in the combined state of the above settings. Then, the calculation means, when executing the calculation according to the above spreadsheet formula, reads the numerical data in the table item associated with each variable of the above spreadsheet formula in the above spreadsheet data, and reads this numerical data as described above. As the data corresponding to the variable name included in the spreadsheet formula, the operation according to the formula form in the above spreadsheet formula is executed. Then, the calculation result is displayed on the display screen as data corresponding to the arbitrary table item designated by the designating means.

従って、予め記憶されている式形態の表計算式(即ち、
表データにおける個々の表項目を別個に指定するための
変数名が各種の四即演算子で結合されて設定された表計
算式)の内容をガイダンス表示で確認した上で、その式
形態の表計算式をそのまま利用して上記表データに対し
て新たな表計算式を簡易に設定でき、またこの簡易設定
に基づいた表計算を直ちに行なうことができ、またその
計算結果を、上記設定に従った演算結果表示対象の表項
目位置に表示させることができる。
Therefore, a pre-stored formula-based spreadsheet (ie,
After confirming the contents of the table calculation formula, which is set by combining the variable names for individually specifying the individual table items in the table data with various quaternary operators, on the guidance display, display the table of the formula form. You can easily set a new spreadsheet formula for the above table data using the formula as it is, and you can immediately perform the spreadsheet calculation based on this simple setting. The calculation result display target can be displayed at the position of the table item.

[実施例] 以下図面を参照してこの発明の一実施例を説明する。第
1図はこの発明の表処理装置の回路構成を示すもので、
1はキー入力部である。このキー入力部1には各種のキ
ーを有したキーボードが備えられており、この各種キー
を操作すると、そのキー操作信号は制御部2に入力され
る。制御部2は、キー入力部1からの信号によってこの
装置の制御動作を行なうもので、その内部に作表部3、
代入部4、計算部5及び検索部6が設けられる。作表部
3は、表メモリ7に表作成のためのデータを書込むもの
で、表メモリ7は作表部3によって、例えば第2図
(A)に示すような構成の表データを記憶する。計算部
5は、変数メモリ8より適宜変数データを読出して計算
を行ない、その計算結果データを上記表メモリ7及び変
数メモリ8に送出する。上記検索部6は、第3図にその
構成を示すような多数の公式データを記憶する公式辞書
メモリ9から適時公式データを検索して読出すもので、
読出された公式データは、公式バッファ10に送られる。
公式バッファ10は、検索部6からの公式データを記憶保
持すると共に、この公式データを上記変数メモリ8、計
算部5及び表示制御部11にも出力する。変数メモリ8
は、第8図にその構成を示すように多数の変数データを
記憶するもので、上記代入部4から入力される信号によ
って変数データの入力設定が行なわれる。上記表示制御
部11は、キー入力部1と制御部2からの入力信号によっ
て動作制御され、表メモリ7に記憶される表データ及び
公式バッファ10に記憶される公式データを表示部12に表
示駆動するようになるものである。
[Embodiment] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a circuit configuration of the table processing device of the present invention.
Reference numeral 1 is a key input unit. The key input unit 1 is provided with a keyboard having various keys. When the various keys are operated, the key operation signals are input to the control unit 2. The control section 2 controls the apparatus by a signal from the key input section 1, and has a table section 3,
An assignment unit 4, a calculation unit 5, and a search unit 6 are provided. The tabulation unit 3 writes data for creating a table in the table memory 7, and the table memory 7 stores the tabular data having a structure as shown in FIG. . The calculation unit 5 appropriately reads out variable data from the variable memory 8 to perform calculation, and sends the calculation result data to the table memory 7 and the variable memory 8. The retrieval unit 6 retrieves and reads the official data from the official dictionary memory 9 storing a large number of official data as shown in FIG.
The read official data is sent to the official buffer 10.
The formula buffer 10 stores and holds the formula data from the search unit 6, and also outputs the formula data to the variable memory 8, the calculation unit 5, and the display control unit 11. Variable memory 8
8 stores a large number of variable data as shown in FIG. 8, and the variable data is input and set by the signal input from the substituting unit 4. The display control unit 11 is operation-controlled by input signals from the key input unit 1 and the control unit 2, and drives the display unit 12 to display the table data stored in the table memory 7 and the official data stored in the official buffer 10. It is something you will come to do.

次に上記実施例の動作を説明する。第2図は表処理全体
の動作を示すフローチャートであり、動作当初には、ま
ずステップA01に示すように表を作成する。この表作成
は、作表部3によって行なわれるもので、例えば第3図
(A)に示すような作表するものであるが、その技術は
公知であるので、その説明は省略する。第3図(A)
は、レコード(図中では「RC」と称す)の数が3、アイ
テム(図中では「IT」と称す)の数が10からなる表であ
る。レコード1〜3は、それぞれA社、B社、C社を表
わし、これに対応するアイテム1〜10は、それぞれ経常
(利益)、資本金、総資本、自己資本、資本金利益率と
その評価、自己資本利益率とその評価、総資本利益率と
その評価を表わすようになる。これら表データは、表メ
モリ7に記憶される。
Next, the operation of the above embodiment will be described. FIG. 2 is a flow chart showing the operation of the entire table processing. At the beginning of the operation, first, a table is created as shown in step A01. This table creation is performed by the table creation unit 3, for example, as shown in FIG. 3 (A), but since the technique is known, the description thereof is omitted. Figure 3 (A)
Is a table in which the number of records (called “RC” in the figure) is 3 and the number of items (called “IT” in the figure) is 10. Records 1 to 3 represent company A, company B, and company C, respectively, and items 1 to 10 corresponding thereto are ordinary (profit), capital, total capital, equity capital, return on capital, and their evaluation, respectively. , Return on equity and its evaluation, return on total capital and its evaluation. These table data are stored in the table memory 7.

表作成が終了すると、次はステップA02に示すように公
式検索が行なわれる。これは、キー入力部1の検索キー
及びセットキーを操作することにより、検索部6が公式
辞書メモリ9から適宜公式データを検索し、公式バッフ
ァ10に入力設定するものである。公式辞書メモリ9は第
4図に示すように、9A,9B,9Cの3つのエリアから構成さ
れ、エリア9Aには公式が、エリア9Bには変数メモリ8の
記憶内容に対応する計算式が書込まれ、エリア9Cには評
価を行なう場合の基準値とその上下判断コードが書込ま
れる。これは、例えば「30↑」というデータが書込まれ
ている場合に、基準値「30」以上であれば、評価が
「○」となることを示す。また、上下判断コードが
「↓」であった場合は、基準値未満となった場合に評価
が「○」となるものである。第5図はこの公式検索の詳
細な動作処理を示すもので、まずステップB01に示すよ
うに検査キーが操作されると、続くステップB02におい
て、公式辞書メモリ9の先頭アドレスが指定される。次
にステップB03に示すように指定された先頭アドレスに
ある公式データ、 例えば シホンリエキリツ=(ケイツネ/シホン)×100 が読出され、公式バッファ10に入力される。次のステッ
プB04においては、表示制御部11により公式バッファ10
に入力された公式が表示部12の表示画面の表下部に表示
される。表示部12に公式が表示されると、使用者は、続
くステップB05においてキー入力部1の検索キーまたは
セットキーを操作する。これは、表示された公式が所望
の公式であった場合にセットキーを、また所望の公式で
なかった場合に検索キーを操作するものである。セット
キーが操作された場合は、それで公式検索の処理を終了
する。また、検索キーが操作された場合は、次にステッ
プB06に進み、公式辞書メモリ9の指定アドレスを更新
した後に、上記ステップB03からの動作を繰返し、他の
公式を検索する。
When the table creation is completed, an official search is next performed as shown in step A02. In this, by operating the search key and the set key of the key input unit 1, the search unit 6 appropriately searches the official dictionary memory 9 for official data, and inputs and sets it in the official buffer 10. As shown in FIG. 4, the official dictionary memory 9 is composed of three areas 9A, 9B and 9C. The area 9A contains the formula and the area 9B contains the formula corresponding to the stored contents of the variable memory 8. In the area 9C, a reference value for evaluation and its up / down judgment code are written. This indicates that, for example, when the data “30 ↑” is written, if the reference value is “30” or more, the evaluation is “◯”. In addition, when the up / down determination code is “↓”, the evaluation is “◯” when it is less than the reference value. FIG. 5 shows the detailed operation processing of this official search. First, when the check key is operated as shown in step B01, the leading address of the official dictionary memory 9 is designated in the following step B02. Next, as shown in step B03, the official data at the designated start address, for example, Sihon Rieki Kiritsu = (Katsune / Sihon) × 100, is read out and input to the official buffer 10. In the next step B04, the display control unit 11 causes the official buffer 10
The formula entered in is displayed at the bottom of the table on the display screen of the display unit 12. When the formula is displayed on the display unit 12, the user operates the search key or the set key of the key input unit 1 in the following step B05. This is to operate the set key when the displayed formula is the desired formula and to operate the search key when the displayed formula is not the desired formula. When the set key is operated, the official search process ends therewith. If the search key is operated, the process proceeds to step B06, the designated address of the official dictionary memory 9 is updated, and then the operation from step B03 is repeated to search for another formula.

公式検索が終了すると、次にステップA03に進み、各項
目の代入が行なわれる。第6図はその項目代入の詳細な
動作処理を示すフローチャートで、その動作制御は代入
部4が行なう。動作当初にはまずステップC01に示すよ
うに公式の第1番目の変数、例えば「シホンリエキリ
ツ」が表示部12で反転表示される。次いで、ステップC0
2で反転表示された変数に対応する項目、例えば「IT5」
を入力するとその項目を示すデータは、次のステップC0
3において変数メモリ8に入力される。この場合、表示
部12においては、第7図に示すように表の下部に表示さ
れた公式の第1の変数の「シホンリエキリツ」及びこれ
に対応して項目入力した「IT5」がともに反転表示され
るようになるものである。
When the official search is completed, the process proceeds to step A03, and each item is substituted. FIG. 6 is a flow chart showing the detailed operation processing of the item substitution, and the operation control is performed by the substitution unit 4. At the beginning of the operation, first, as shown in step C01, the first official variable, for example, "Shonri Ekiritsu" is highlighted on the display unit 12. Then step C0
The item corresponding to the variable highlighted in 2, eg "IT5"
If you enter, the data indicating the item will be displayed in the next step C0.
It is input to the variable memory 8 at 3. In this case, in the display unit 12, as shown in FIG. 7, both the official first variable “Sihon Riekitsu” displayed at the bottom of the table and the corresponding “IT5” entered in the item are highlighted. It comes to be.

項目が入力される変数メモリ8は、第8図に示すように
8Aと8Bの2つのエリアから構成され、エリア8Aに上記公
式辞書メモリ9のエリア9Bに用いられるM1,M2,M3…に対
応する変数の数値データが入力され、エリア8Bにエリア
8Aの変数データに対応する表の項目を示すデータが入力
されるようになっており、上記項目入力された「IT5」
は、エリア8BのM1相当位置に記憶される。次いでステッ
プC04において、公式の第2の変数以下についても上記
ステップC01〜C03と同様にして変数メモリ8に項目を代
入する。そして、各変数に対する項目入力が終了する
と、次にステップC05において、上記公式の計算結果に
対する評価を行なう項目の入力を促すために、表示部12
に「評価?」という表示がなされる。これに対して評価
を行なう項目を次のステップC06で入力すると、この入
力データは、続くステップC07で変数メモリ8のエリア8
BのM8に相当する位置に書込まれ、以上で公式の項目入
力を終了する。
The variable memory 8 into which items are input is as shown in FIG.
It is composed of two areas, 8A and 8B. Numerical data of variables corresponding to M 1 , M 2 , M 3 ... used in area 9B of the official dictionary memory 9 is input to area 8A, and area 8B is filled with numerical data.
Data indicating the items in the table corresponding to the variable data of 8A is input, and "IT5" entered in the above item
Is stored in a position corresponding to M 1 in area 8B. Next, in step C04, items for the second and following official variables are substituted into the variable memory 8 in the same manner as in steps C01 to C03. Then, when the item input for each variable is completed, in step C05, the display unit 12 is prompted in order to prompt the user to input the item for evaluating the formula calculation result.
Is displayed on the screen. On the other hand, if the item to be evaluated is input in the next step C06, this input data will be stored in the area 8 of the variable memory 8 in the following step C07.
It is written in the position corresponding to M 8 of B, and the official item input is completed.

上記のような項目入力の処理が終了すると、次のステッ
プA04に示すように表の計算が行なわれる。この計算の
詳細な動作について第9図を、またその際の変数メモリ
8の状態について第10図をそれぞれ参照する。第10図
(A)は上記項目代入が終了した後の変数メモリ8の記
憶状態を示すもので、上記第4図で示した「シホンリエ
キリツ」の計算のために、M1位置に「IT5」が、M2位置
に「IT1」が、M3位置に「IT2」が、そしてM8位置に「IT
6」が設定されている。ここで、第9図のステップD01に
示すように公式バッファ10から計算式 M1=(M2/M3)×100 が読出され、計算部5に書込まれる。計算部5では、こ
の計算式により、次のステップD02で変数メモリ8からM
1,M2,M3の位置にある項目「IT5」「IT1」「IT2」を読出
し、計算式と項目との対応関係を設定する。すなわち、 IT5=(IT1/IT2)×100 となるもので、これにより、表のアイテム1の経常(利
益)とアイテム2の資本金の数値データによってアイテ
ム5の資本金利益率が算出されることとなる。続くステ
ップD03において、まず表のレコード1が指定される。
この指定されたレコード1に従い、次のステップD04に
おいて表メモリ7からレコード1の各項目「IT1」、「I
T2」から数値データが読出され、計算がなされる。この
場合、変数メモリ8においては、第10図(B)に示すよ
うに、M2,M3の位置に「IT1」「IT2」の数値データとし
て例えば「60」「200」が入力され、またM8の位置に
は、「IT6」の基準値として数値データ「50」が入力さ
れる。計算が終了すると、その計算結果「30」は、第10
図(C)に示すように変数メモリ8のM1位置に入力され
る。この後、ステップD05において、今度は計算結果と
変数メモリ8のM8位置にある基準値との比較が行なわれ
る。そして、その比較結果に応じて、次のステップD06
に示すように、「○」または「×」の記号コードが、変
数メモリ8のM8の指定する項目「IT6」に従って、表メ
モリ7の「IT6」に入力設定されるとともに表示部12に
表示される。この場合は、計算結果が「30」、基準値は
「30↑」であるので、「○」となる。以上でこの公式の
レコード1における表計算が終了したこととなり、次の
ステップD07において、レコード2以下についても上記
ステップD01〜D06と同様の処理を行なう。そして、レコ
ード2、レコード3についての表計算が終わった時点
で、第10図(D)に示すように変数メモリ8に次の公式
による表計算を行なうために、新たに項目を設定し、以
下同様にして表計算及びその結果に対する評価を終了す
ると、表示部12には第2図(B)に示すような表が完成
する。
When the above item input processing is completed, the table is calculated as shown in the next step A04. Refer to FIG. 9 for the detailed operation of this calculation and FIG. 10 for the state of the variable memory 8 at that time. FIG. 10 (A) shows the storage state of the variable memory 8 after the above item substitution is completed. For the calculation of “Siphonry Ekiritsu” shown in FIG. 4, “IT5” is added to the M 1 position. , IT 2 in the M 2 position, IT 2 in the M 3 position and IT in the M 8 position.
6 ”is set. Here, as shown in step D01 of FIG. 9, the formula M 1 = (M 2 / M 3 ) × 100 is read from the formula buffer 10 and written in the calculator 5. According to this calculation formula, the calculation unit 5 stores M in the variable memory 8 in the next step D02.
Read the items "IT5", "IT1", and "IT2" at the positions of 1 , M 2 , M 3 and set the correspondence between the calculation formula and the items. That is, IT5 = (IT1 / IT2) × 100, which allows the return on capital of item 5 to be calculated from the numerical data of the ordinary (profit) of item 1 and the capital of item 2 in the table. Becomes In the following step D03, first, record 1 in the table is designated.
According to the designated record 1, in the next step D04, the items “IT1” and “I
Numerical data is read from "T2" and calculation is performed. In this case, in the variable memory 8, as shown in FIG. 10 (B), for example, “60” and “200” are input as the numerical data of “IT1” and “IT2” at the positions of M 2 and M 3 , and Numerical data “50” is input to the position of M 8 as a reference value of “IT 6”. When the calculation is completed, the calculation result "30" is
It is input to the M 1 position of the variable memory 8 as shown in FIG. Thereafter, in step D05, in turn compared with a reference value in the M 8 position of the calculation result and the variable memory 8 is performed. Then, depending on the comparison result, the next step D06
As shown in, the symbol code of “○” or “×” is input and set in “IT6” of the table memory 7 and displayed on the display unit 12 according to the item “IT6” specified by M 8 of the variable memory 8. To be done. In this case, the calculation result is "30" and the reference value is "30 ↑", so "○" is obtained. With the above, the table calculation in the record 1 of this formula is completed, and in the next step D07, the same processing as the above steps D01 to D06 is performed for the records 2 and below. Then, at the time when the table calculation for the record 2 and the record 3 is finished, a new item is set in the variable memory 8 to perform the table calculation by the following formula as shown in FIG. Similarly, when the table calculation and the evaluation of the result are completed, the table as shown in FIG. 2B is completed on the display unit 12.

なお、上記実施例では1レコード内のアイテムに関する
計算を行なったが、1アイテム内のレコードに関する計
算を行なってもよい。
In addition, in the above embodiment, the calculation is performed for the item in one record, but the calculation for the record in one item may be performed.

〔発明の効果〕〔The invention's effect〕

本発明よれば、表データに対して新規の表計算式を設定
する際に、予め記憶されている複数の表計算式の中から
所望する1つの表計算式を、その表計算式の内容を確認
しながら適宜切り換えることで指定でき、また、その指
定した表計算式を表示画面上で確認しながら、その表計
算式に含まれる各変数名と上記表データの所望する各表
項目との対応づけを指定することで、上記表計算式の各
変数名と上記表データの表項目との対応関係を新規に記
憶設定することができる。
According to the present invention, when setting a new spreadsheet formula for spreadsheet data, one desired spreadsheet formula is selected from a plurality of pre-stored spreadsheet formulas and the contents of the spreadsheet formula are set. It can be specified by switching as appropriate while checking, and while checking the specified spreadsheet formula on the display screen, correspondence between each variable name included in the spreadsheet formula and each desired table item of the above table data By specifying the suffix, it is possible to newly store and set the correspondence relationship between each variable name in the spreadsheet formula and the table item of the table data.

そしてその新規に記憶設定した表計算式に従った表計算
処理を直ちに実行することができる。
Then, the spreadsheet calculation process according to the newly stored spreadsheet formula can be immediately executed.

【図面の簡単な説明】[Brief description of drawings]

図面はこの発明の一実施例を示すもので、第1図は回路
構成を示すブロック図、第2図は全体の動作内容を示す
フローチャート、第3図は表メモリの記憶内容を示す
図、第4図は公式辞書メモリの内容を示す図、第5図は
公式検索の動作内容を示すフローチャート、第6図は項
目代入の動作内容を示すフローチャート、第7図は項目
代入時の表示部の表示状態を示す図、第8図は変数メモ
リの構成を示す図、第9図は計算の動作内容を示すフロ
ーチャート、第10図は表計算に対する変数メモリの内容
の変化を示す図である。 1……キー入力部、2……制御部、3……作表部、4…
…代入部、5……計算部、6……検索部、7……表メモ
リ、8……変数メモリ、9……公式辞書メモリ、10……
公式バッファ、11……表示制御部、12……表示部。
The drawings show one embodiment of the present invention. FIG. 1 is a block diagram showing a circuit configuration, FIG. 2 is a flow chart showing the operation contents of the whole, and FIG. 3 is a diagram showing the storage contents of a table memory. FIG. 4 is a diagram showing the contents of the official dictionary memory, FIG. 5 is a flowchart showing the operation contents of the official search, FIG. 6 is a flowchart showing the operation contents of the item substitution, and FIG. 7 is the display of the display section at the time of the item substitution. FIG. 8 is a diagram showing a state, FIG. 8 is a diagram showing a configuration of a variable memory, FIG. 9 is a flowchart showing operation contents of calculation, and FIG. 10 is a diagram showing changes in contents of the variable memory with respect to table calculation. 1 ... key input section, 2 ... control section, 3 ... table creation section, 4 ...
... Substitution unit, 5 ... Calculation unit, 6 ... Search unit, 7 ... Table memory, 8 ... Variable memory, 9 ... Official dictionary memory, 10 ...
Official buffer, 11 …… Display control section, 12 …… Display section.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−155468(JP,A) 特開 昭58−66150(JP,A) 「EPOCALC−J 使用者の手引き (V2)」(昭和57年)パナファコム株式 会社 P.91〜P.92 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-58-155468 (JP, A) JP-A-58-66150 (JP, A) "EPOCALC-J User's Guide (V2)" (1982) ) Panafacom Co., Ltd. P. 91-P. 92

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】表項目が複数行複数列に配列された表デー
タを表示画面上に表示する表示手段と、 上記表データにおける各表項目を個別に1対1で対応さ
せて指定するための変数名を有し、これら個々の変数名
が各種の四則演算子で適宜結合されて設定された表計算
式を、複数記憶する記憶手段と、 上記記憶手段に記憶された複数の表計算式のうちの読み
出し対象の1つの表計算式の指定、及び読み出し対象の
表計算式の切り換えを指定する表計算式指定手段と、 上記表計算式指定手段により1つの表計算式が指定され
た際、その指定された表計算式を上記記憶手段から読み
出し、その表計算式の式形態がわかるように、上記表計
算式に含まれる個々の変数名及び個々の四則演算子を、
上記設定の結合状態で上記表示画面上に表示し、また、
上記表計算式指定手段により読み出し対象の表計算式の
切り換え指定がなされる毎に、その切り換え後に指定さ
れた表計算式を上記記憶手段から読み出し、その読み出
された表計算式を、その切り換え前に上記表示画面上に
表示されていた表計算式に代わって、上記表示画面上に
表示する式表示手段と、 設定対象の表計算式の確定が指定された際に、その時上
記表示画面上に表示されている表計算式を設定対象の表
計算式として確定する確定手段と、 上記確定手段で確定された上記表計算式が上記表示画面
上に表示されている状態にあって、演算結果に対応する
変数名を上記表計算式上で指定して、その変数名が上記
表データに含まれる各表項目の中でどの表項目に相当す
るものであるかを任意に指定する演算結果表項目指定手
段と、 上記確定手段で確定された上記表計算式が上記表示画面
上に表示されている状態にあって、演算対象となる各変
数名を上記表計算式上で順次指定して、その個々の変数
名が上記表データに含まれる各表項目の中で、夫々どの
表項目に相当するものであるかを任意に指定する演算対
象表項目指定手段と、 上記演算結果表項目指定手段、演算対象表項目指定手段
で指定された各変数名と各表項目との対応関係を記憶す
る対応関係記憶手段と、 上記確定された表計算式に従った演算の実行の際に、上
記表データの中で、上記演算対象表項目指定手段で対応
付けられた表項目における数値データを読み込み、この
数値データを上記設定の表計算式に含まれる変数名に対
応するデータとして置換して、上記設定の表計算式にお
ける式形態に従った演算を実行する演算手段と、 この演算手段による演算結果を、上記演算結果表項目指
定手段で対応付けられた表項目に対応するデータとして
上記表示画面上に表示するよう制御する表示制御手段
と、 を具備したことを特徴とする表処理装置。
1. A display means for displaying table data in which table items are arranged in a plurality of rows and a plurality of columns on a display screen, and for specifying each table item in the table data individually in a one-to-one correspondence. A storage means for storing a plurality of table calculation formulas having variable names, which are set by appropriately combining these individual variable names by various arithmetic operators, and a plurality of table calculation formulas stored in the storage means. Of these, one table calculation formula to be read, and a spreadsheet calculation designating means for designating switching of the spreadsheet calculation formula to be read, and when one spreadsheet calculation formula is designated by the spreadsheet calculation formula designating means, The specified spreadsheet formula is read from the storage means, and the individual variable names and individual arithmetic operators included in the spreadsheet formula are read so that the formula form of the spreadsheet formula can be understood.
Displayed on the above display screen in the combined state of the above settings,
Every time the spreadsheet calculation formula designating means designates switching of the spreadsheet formula to be read, the spreadsheet formula designated after the switching is read from the storage means, and the read spreadsheet formula is switched. In place of the spreadsheet formula previously displayed on the above display screen, when the formula display means to be displayed on the above display screen and the confirmation of the spreadsheet formula to be set are specified, then on the above display screen at that time. Confirming means for confirming the spreadsheet calculation formula displayed in the table as the setting target spreadsheet formula, and the spreadsheet calculation formula confirmed by the confirming device are displayed on the display screen. Calculation result table that specifies the variable name corresponding to the above in the table calculation formula and arbitrarily specifies which table item among the table items included in the above table data the variable name corresponds to Item designation means, above In the state where the spreadsheet formula confirmed by the fixed means is displayed on the display screen, each variable name to be calculated is sequentially specified on the spreadsheet formula, and the individual variable names are Calculation target table item specifying means for arbitrarily specifying which table item corresponds to each table item included in the above table data, and the above calculation result table item specifying means, calculation target table item specification The correspondence relation storing means for storing the correspondence relation between each variable name designated by the means and each table item, and the above-mentioned table data among The numerical data in the table items associated by the calculation target table item specifying means is read, and this numerical data is replaced as the data corresponding to the variable name included in the spreadsheet formula of the above setting, and in the spreadsheet formula of the above setting. Performs operations according to formula form And a display control means for controlling to display the calculation result by the calculation means on the display screen as data corresponding to the table item associated by the calculation result table item designating means. A table processing device characterized by the above.
JP59260145A 1984-12-10 1984-12-10 Table processor Expired - Fee Related JPH0786889B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59260145A JPH0786889B2 (en) 1984-12-10 1984-12-10 Table processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59260145A JPH0786889B2 (en) 1984-12-10 1984-12-10 Table processor

Related Child Applications (4)

Application Number Title Priority Date Filing Date
JP3309038A Division JPH0512315A (en) 1991-11-25 1991-11-25 Table processor
JP5086258A Division JPH0612430A (en) 1993-04-13 1993-04-13 Table processor
JP5086257A Division JPH0668111A (en) 1993-04-13 1993-04-13 Spreadsheet processing unit
JP5241066A Division JPH06195359A (en) 1993-09-01 1993-09-28 Table processor

Publications (2)

Publication Number Publication Date
JPS61138369A JPS61138369A (en) 1986-06-25
JPH0786889B2 true JPH0786889B2 (en) 1995-09-20

Family

ID=17343930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59260145A Expired - Fee Related JPH0786889B2 (en) 1984-12-10 1984-12-10 Table processor

Country Status (1)

Country Link
JP (1) JPH0786889B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58155468A (en) * 1982-03-10 1983-09-16 Casio Comput Co Ltd Electronic formula dictionary

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
「EPOCALC−J使用者の手引き(V2)」(昭和57年)パナファコム株式会社P.91〜P.92

Also Published As

Publication number Publication date
JPS61138369A (en) 1986-06-25

Similar Documents

Publication Publication Date Title
US4896306A (en) Electronic scheduler capable of searching schedule data based on time
JPH0786889B2 (en) Table processor
JPS59180603A (en) Data setting method of numerical control device
JPH06195359A (en) Table processor
JPH0512315A (en) Table processor
JPS61114831A (en) System of storing and displaying data on mold of injection molding machine
JPH0612430A (en) Table processor
JPH0668111A (en) Spreadsheet processing unit
JPH08179749A (en) Graph display device
JPH01184505A (en) Numerical controller
JPS58163036A (en) Automatic numbering device
JP2615552B2 (en) Data storage device
JP2831505B2 (en) Molding machine controller
JPS62281014A (en) Display system for descriptive data in numerical controller
JP3021766B2 (en) Drawing creation equipment
JPH0425553B2 (en)
JPH05274012A (en) Input/output allocation variable programmable controller
JPH08129595A (en) Device and method for salary management
JPH0146899B2 (en)
JPS6031675A (en) Table control system in simplified tabulation device
JPS5846426A (en) Code input equipment
JPH02189582A (en) Cursor control system for display screen
JPS61138370A (en) Table processing device
JPS61138371A (en) Table processing device
JPH05324257A (en) Document processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees