JPH045757A - Table calculating formula automatic discriminating system - Google Patents

Table calculating formula automatic discriminating system

Info

Publication number
JPH045757A
JPH045757A JP2108262A JP10826290A JPH045757A JP H045757 A JPH045757 A JP H045757A JP 2108262 A JP2108262 A JP 2108262A JP 10826290 A JP10826290 A JP 10826290A JP H045757 A JPH045757 A JP H045757A
Authority
JP
Japan
Prior art keywords
calculation
coordinates
copying
regularity
function
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.)
Granted
Application number
JP2108262A
Other languages
Japanese (ja)
Other versions
JPH0743751B2 (en
Inventor
Nobuaki Shinoki
篠木 信昭
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.)
KANSAI PANAFUAKOMU KK
PFU Ltd
Original Assignee
KANSAI PANAFUAKOMU KK
PFU 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 KANSAI PANAFUAKOMU KK, PFU Ltd filed Critical KANSAI PANAFUAKOMU KK
Priority to JP2108262A priority Critical patent/JPH0743751B2/en
Publication of JPH045757A publication Critical patent/JPH045757A/en
Publication of JPH0743751B2 publication Critical patent/JPH0743751B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain the high speed of a calculating processing by assigning plural formulas as functions as a copying source and using a result to analyze the regularity of the plural calculating formulas for the calculation processing of other coordinates. CONSTITUTION:When a copying indication is inputted to a processor 10, a copy processing part 11 and a calculating formula copying means 110 are actuated. When the means 110 receives a regularity function including the coordinates of plural calculating formulas in which the calculating formulas are stored in advance as the input of a copying source, it stores the function in the assigned copying source with the calculating formula of a table 12. When copying is finished, an analyzing means 111 is started, the calculating formula stored in the plural coordinates included in the regularity function to represent the regularity of the copying source is taken out from the table 12 and the regularity including relation with a coordinate value is led from the plural calculating formulas. A calculating means 113 calculates the coordinates of the copying source based on the regularity and stores a calculated result in the table 12.

Description

【発明の詳細な説明】 [概要] 情報処理装置における表計算式自動判別方式に関し 計算式の複写の際に使用者に対し補正のための入力を必
要としない表計算式自動判別方式を提供することを目的
とし 表計算用の複数ひパラメータ値が格納された座標と計算
式及び計算結果を格納する座標が設けられたテーブルを
備え、計算式の複写元となる座標位置に複数の計算式の
座標値を含む関数を予め格納し、複写開始指示により起
動する複写処理部は。
[Detailed Description of the Invention] [Summary] To provide an automatic spreadsheet discrimination method in an information processing device that does not require a user to input for correction when copying a calculation formula. The purpose is to provide a table with coordinates for storing multiple parameter values for spreadsheet calculations, calculation formulas, and coordinates for storing calculation results. The copy processing unit stores functions including coordinate values in advance and is activated upon receiving a copy start instruction.

複写元として上記関数が格納された座標が指示されると
、複写元から上記関数を取り出し、複写先の指示入力に
より指示された各複写先の座標に該関数を複写する計算
式複写手段と、関数に含まれた複数の座標の計算式に対
して座標補正の要否を解析する解析手段と、解析手段の
結果に基づいて座標値を含まない一般式を生成する計算
式生成手段と、生成された一般式に基づいて上記各複写
先に複写された各計算式の計算を実行する計1手段とを
備えるよう構成する。
calculation formula copying means that, when the coordinates where the function is stored as a copy source is specified, extracts the function from the copy source and copies the function to the coordinates of each copy destination specified by inputting a copy destination instruction; an analysis means that analyzes whether or not coordinate correction is necessary for a plurality of coordinate calculation formulas included in the function; a calculation formula generation means that generates a general formula that does not include coordinate values based on the results of the analysis means; and a total of one means for executing calculations of each calculation formula copied to each copy destination based on the general formula obtained.

[産業上の利用分野] 本発明は情報処理装置における表計算式自動判別方式に
関する。
[Industrial Field of Application] The present invention relates to a spreadsheet automatic discrimination method in an information processing device.

近年、パーソナルコンピュータ等の小型の情報処理装置
において表計算が広く行われている。そこで、規則的な
計算式を他の場所でも使用する場合、既に登録されてい
る計算式を複写するという手法が用いられる。
In recent years, spreadsheet calculations have been widely used in small-sized information processing devices such as personal computers. Therefore, when using regular calculation formulas in other places, a method is used in which a calculation formula that has already been registered is copied.

ところが、実際に参照する変数が格納されている座標の
補正を行うか否かを利用者に指定させるために操作が複
雑になっていた。
However, the operation becomes complicated because the user is required to specify whether or not to correct the coordinates where the variables to be actually referenced are stored.

[従来の技術] 従来例の表計算における計算式の複写機能を説明する。[Conventional technology] The function of copying calculation formulas in conventional spreadsheet calculations will be explained.

第5図は従来例の説明図、第6図は従来例の処理フロー
を示す。
FIG. 5 is an explanatory diagram of a conventional example, and FIG. 6 shows a processing flow of the conventional example.

第5図の表には、A−Eの各列に対し、1〜51(00
01〜0051で表示)の各行に数値または文字が図の
ように格納されている(一部だけ示す)。図においてA
列の2行(座標A2という)には基準額の数値、座標C
4(C列4行)〜座標C50には単価の数値、座標D4
〜座標D50には個数の数値がそれぞれ格納されている
In the table of Figure 5, 1 to 51 (00
Numerical values or characters are stored in each line (displayed as 01 to 0051) as shown in the figure (only some are shown). In the diagram A
The second row of the column (referred to as coordinate A2) contains the numerical value of the standard amount, and the coordinate C
4 (column C, row 4) ~ Coordinate C50 is the unit price value, coordinate D4
~Coordinates D50 each store a numerical value of the number of objects.

最後の列Eには図の例では座標E4に図のようにA2+
 (C4水D4)という他の座標に格納されている値を
変数として参照している計算式が格納され1他の行E5
.E6・・には計算式が格納されていないものとする。
In the example shown in the figure, the last column E has coordinates E4 and A2+ as shown in the figure.
A calculation formula that refers to the value stored in another coordinate called (C4 water D4) as a variable is stored in 1 other row E5
.. It is assumed that no calculation formula is stored in E6.

なお、この列Eには計算式を格納する領域と後で実行さ
れる計算の結果を格納する領域が設けられている。
Note that this column E is provided with an area for storing calculation formulas and an area for storing the results of calculations to be executed later.

第5図の表に対してE5以下の計算式の複写機能と計算
の処理フローを第6図により説明する。
The copying function and calculation process flow for calculation formulas of E5 and below will be explained with reference to FIG. 6 for the table shown in FIG.

第6図において、Mlは計算式格納部、M2は計算結果
格納部であり、現在既に計算式格納部M1の一部に格納
されている計算式を他の座標へ複写するために、複写機
能が複写キー操作により開始される。最初に複写元指定
が行われる(第6図70)、第6図の例では複写元とし
て座@E4が指定される。
In FIG. 6, Ml is a calculation formula storage unit, M2 is a calculation result storage unit, and a copy function is used to copy the calculation formula currently stored in a part of the calculation formula storage unit M1 to other coordinates. is started by operating the copy key. First, the copy source is designated (FIG. 6, 70). In the example of FIG. 6, the location @E4 is designated as the copy source.

次に計算式取出しが行われ、複写元として指定された座
標の計算式(A式)を計算式格納部M1から取出す(同
71)。次に計算式の複写先を使用者に指定させる処理
が行われる(同72)、第6図の例では、複写先として
E5〜E50(例えば、rE5:E50jというキー人
力により行う)が人力される。
Next, calculation formula retrieval is performed, and the calculation formula (formula A) for the coordinates designated as the copy source is retrieved from the calculation formula storage section M1 (71). Next, a process is performed in which the user specifies the copy destination of the calculation formula (72). In the example of FIG. Ru.

この複写先指定が行われると1次に複写元から取出した
計算式は、他の座標に格納されている債を参照している
ので、その座標に対して補正が必要か否かを使用者に指
定させて座標補正指定が行ねれる(同73)。この処理
を第6図の例により説明すると、複写元の(A式)はA
2+C4XD4であり、この複写元の式に含まれる各座
標A2C4,D4の値が1表示装置(デイスプレィ)に
表示される。これらの各座標値に対して、使用者は、各
複写先毎に補正の要否2及び補正する必要があることを
指定する。
When this copy destination is specified, the calculation formula retrieved from the copy source first refers to bonds stored at other coordinates, so the user must check whether or not correction is necessary for that coordinate. Coordinate correction can be specified by specifying (73). To explain this process using the example of FIG. 6, the copy source (formula A) is A
2+C4XD4, and the values of each coordinate A2C4 and D4 included in this copy source formula are displayed on one display. For each of these coordinate values, the user specifies for each copy destination whether correction is necessary or not and whether correction is necessary.

例えば、複写先がE5の場合、A2は、補正する必要が
ないことを表す入力をし、C4,D4は補正する必要が
あることを表す入力をする。
For example, when the copy destination is E5, A2 makes an input indicating that no correction is necessary, and C4 and D4 make inputs indicating that correction is necessary.

この座標補正入力に対応する補正処理が行われてC4→
C5,D4→D5という座標補正が行われる(同74)
、この補正が行われた(8式)が得られると計算式格納
部M1に格納される(同75)。以下、他の各複写先E
6〜E50についても同様に補正入力による座標補正と
、補正された式の格納が行われる。
Correction processing corresponding to this coordinate correction input is performed and C4→
Coordinate correction of C5, D4 → D5 is performed (74)
When the corrected formula (8) is obtained, it is stored in the calculation formula storage section M1 (75). Below, each other copy destination E
Similarly, for coordinates 6 to E50, the coordinates are corrected by correction input and the corrected equations are stored.

計算式の複写が終了すると1次に各計算式による計算が
実行される(同76)、この計算は計算式により指定さ
れた座標の数値を取り出して式に従った計算を行うもの
である。計算結果は計算結果格納部M2に格納する(同
77)。この計算結果は表示装置により表示する処理が
行われ(同78)2終了する。
When the copying of the calculation formulas is completed, calculations using each calculation formula are executed first (see 76). This calculation involves taking out numerical values at the coordinates designated by the calculation formulas and performing calculations according to the formulas. The calculation result is stored in the calculation result storage section M2 (77). The calculation result is displayed on the display device (step 78) and the process ends.

[発明が解決しようとする課R1 上記した従来の方式によると、使用者に対し座標補正指
定を入力させる必要がある。すなわち複写元の式で参照
している他の座標(A2.C4゜D4等)の補正を行う
必要があるか否かを使用者が判断しなければならないが
、この時の「補正」の意味が使用者が理解してない場合
も含め、操作が非常に繁雑であるという問題があった。
[Problem R1 to be Solved by the Invention According to the above-described conventional method, it is necessary for the user to input coordinate correction designation. In other words, the user must judge whether or not it is necessary to correct other coordinates (A2, C4, D4, etc.) referenced in the copy source formula, but the meaning of "correction" in this case is However, there was a problem in that the operation was extremely complicated, even in cases where the user did not understand.

本発明は上記の問題を解決するために計算式の複写の際
に使用者に対し補正のための入力を必要としない表計算
式自動判別方式を提供することを目的とする。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, it is an object of the present invention to provide an automatic spreadsheet formula discrimination method that does not require the user to input correction information when copying a calculation formula.

[課題を解決するための手段] 第1図は本発明の原理的構成図である。[Means to solve the problem] FIG. 1 is a diagram showing the basic configuration of the present invention.

第1図において、10は処理装置、11は複写指示の入
力により起動する複写処理部、110は指示された複写
元から指示された複写先へ計算式を複写する計算式複写
手段、111は複写元の関数を解析する解析手段、11
2は解析結果により補正を要する(変数)項と補正を要
しない唄を含む計算式を生成する計算式生成手段、11
3は複写元及び複写先の各計算式の数値計算を実行する
計算手段、12ば表計算のための文字及び数値が各座標
に対応して格納されたパラメータ用領域各計算式を格納
する領域及び計算結果が格納される領域で構成されたテ
ーブル(メモリ)である。
In FIG. 1, 10 is a processing device, 11 is a copying processing unit that is activated upon input of a copying instruction, 110 is a calculation formula copying means for copying a calculation formula from a designated copying source to a designated copying destination, and 111 is a copying unit. Analysis means for analyzing the original function, 11
2 is a calculation formula generating means for generating a calculation formula including a (variable) term that requires correction and a song that does not require correction based on the analysis result; 11
3 is a calculation means for executing numerical calculations for each calculation formula of the copy source and copy destination; 12 is a parameter area in which characters and numbers for spreadsheet calculation are stored corresponding to each coordinate; an area for storing each calculation formula; This is a table (memory) consisting of an area where calculation results are stored.

本発明は複写元として複数の計算式を関数として指定し
、それらの複数の計算式の規則性を解析し、その結果を
他の座標の計算処理で使用できるようにしたものである
The present invention specifies a plurality of calculation formulas as functions as copy sources, analyzes the regularity of the plurality of calculation formulas, and makes it possible to use the results in other coordinate calculation processes.

[作用] 第1図において、処理装置IOに対し複写指示が入力さ
れると、?j[耳処理部11が起動する。起動すると計
算式複写手段110が動作する。計算式複写手段110
は、複写元の入力として予め計算式が格納された複数の
計算式の座標を含む規則性関数を受は取るとその関数を
、テーブル12の計算式の指定された複写元に格納する
[Operation] In FIG. 1, when a copy instruction is input to the processing device IO, ? j[Ear processing section 11 starts up. When activated, the calculation formula copying means 110 operates. Calculation formula copying means 110
receives a regularity function including the coordinates of a plurality of calculation formulas whose calculation formulas are stored in advance as an input to a copy source, and stores the function in the copy source designated by the calculation formula in table 12.

この規則性関数は、計算式に変換することができ、この
関数を含む計算式が格納されている座標によって変換結
果が異なる関数であり、計算手段によって参照する座標
が決定される。使用方法は次のとおりである。
This regularity function is a function that can be converted into a calculation formula, and the conversion result differs depending on the coordinates where the calculation formula including this function is stored, and the coordinates to be referred to are determined by the calculation means. The method of use is as follows.

規則性関数(座標a、座標b [、・・・座標n])に
続いて、複写先が指定されると、各複写先に前記複写元
に格納した規則性関数をそのまま順次各複写先に格納(
複写)する。
When a copy destination is specified following a regularity function (coordinate a, coordinate b [, ... coordinate n]), the regularity function stored in the copy source is sequentially transferred to each copy destination as is. Store(
Copy).

複写が終了すると、解析手段111が起動され前記複写
元の規則性を表す規則性関数に含まれた複数の座標に格
納された計算式をテーブル12がら取り出し、複数の計
算式から座標値との関係を含む規則性を導き出す。すな
わち、計算式内の数値が座標により変化する数値(座標
に応じて補正を要する数値)か、座標に関係な(一定の
数値(座標に応じて補正を要しない数値)かを解析する
When the copying is completed, the analysis means 111 is activated, retrieves from the table 12 the calculation formulas stored in the plurality of coordinates included in the regularity function representing the regularity of the copy source, and calculates the relationship between the coordinate values and the plurality of calculation formulas. Deriving regularities including relationships. That is, it is analyzed whether the numerical value in the calculation formula changes depending on the coordinates (a numerical value that requires correction according to the coordinates) or is unrelated to the coordinates (a constant numerical value (a numerical value that does not require correction according to the coordinates).

この解析により、複数の計算式から規則性がわかると次
に計算式生成手段112は、規則性を表す計算式を生成
する。計算式生成手段112により得られた計算式は9
次に計算手段113に入力されて半速計算が実行される
。その場合、まず規則性計算式を用いて、複写元の座標
の計算を実行する。すなわち5当該複写元の複数の座標
の各変数がテーブル12の対応する座標から取り出され
て計算が実行され、テーブル12の計算結果の座標に格
納され、計算結果が表示部(図示されない)に表示され
る。
Through this analysis, if regularity is found from a plurality of calculation formulas, then calculation formula generation means 112 generates a calculation formula representing the regularity. The calculation formula obtained by the calculation formula generation means 112 is 9
Next, it is input to calculation means 113 and a half-speed calculation is executed. In that case, first, the coordinates of the copy source are calculated using a regularity calculation formula. In other words, 5 each variable of the plurality of coordinates of the copy source is extracted from the corresponding coordinate in the table 12, calculation is performed, stored in the coordinate of the calculation result in the table 12, and the calculation result is displayed on the display unit (not shown). be done.

[実施例] 第2図は実施例の処理フロー図、第3図は規則性解析処
理の詳細なフロー、第4図は具体例における動作例、お
よび計算結果の表示例である。
[Example] Fig. 2 is a processing flow diagram of an embodiment, Fig. 3 is a detailed flow of regularity analysis processing, and Fig. 4 is an example of operation in a specific example and a display example of calculation results.

第2図において、表計算で1例えば[複写キーJの操作
により複写が開始されると、最初に複写元の指定人力が
行われる。この場合、使用者がキー操作により複写元と
して、規則性関数が格納された座標を指定する(第2図
20)、この場合、規則性関数としては5それぞれ計算
式を格納した座標を複数個で構成する関数である0次に
この複写元の関数が計算式取出し処理において計算式格
納部m1から取出される(同21)、更に、使用者が計
算式の複写先をキー操作により指定入力すると(同22
)、その関数は計算式格納処理により複写先の各座標の
計算式格納部m1に順次格納される(同23)。
In FIG. 2, in a spreadsheet, for example, when copying is started by operating the copy key J, the designated manual input of the copying source is first performed. In this case, the user specifies the coordinates where the regularity function is stored as the copy source by key operation (Fig. 2, 20). This copy source function of order 0, which is a function consisting of Then (same 22
), the function is sequentially stored in the calculation formula storage section m1 of each coordinate of the copy destination by the calculation formula storage process (23).

これまでのフローを第4図に示す具体例により説明する
と、第4図に示す表において、予め座標E4 (E列に
は計算式と計算結果が格納される)に計算式として、A
2+ (C4*D4)が格納され、座標E5にA2+ 
(C5*D5)が格納されており、この複数の計算式が
格納された座標E4とE5を含む規則性関数として、 
 rRULE(E4.E5)」という関数(名前)を座
標E6に格納しておく。
To explain the flow up to now using a specific example shown in Fig. 4, in the table shown in Fig. 4, A
2+ (C4*D4) is stored, and A2+ is stored at the coordinate E5.
(C5*D5) is stored, and as a regularity function including coordinates E4 and E5 where these multiple calculation formulas are stored,
A function (name) "rRULE(E4.E5)" is stored at the coordinate E6.

二の状態で、複写元としてE6を指定する入力を行うと
、E6の関数が取出されて、複写先としてE7〜E50
が指定されると、その関数rl?ULE(E4、E5)
 Jが、各座標E7〜E50の計算式格納部に格納され
る。
In the second state, if you input to specify E6 as the copy source, the function of E6 will be extracted and the function will be assigned to E7 to E5 as the copy destination.
is specified, the function rl? ULE (E4, E5)
J is stored in the formula storage section for each coordinate E7 to E50.

次に第2図において1計算式格納処理が終了すると、格
納された計算式が、規則性関数であるか否かを判断する
(第2図24)。規則性関数である場合は、その規則性
を解析し、どの項目が座標に関係するか、どの項目が座
標に関係しない(定数)かについて解析を行う(同25
)、この解析の結果を得られると、計算式生成処理を行
う(同26)、この計算式生成処理は、規則性解析処理
の結果により、計算式の座標に応じてパラメータの債を
表す項目の座標が変化するかしないかを判別し、変化し
ない項目についてはその固定した値が格納された座標を
使用し、変化する項目についてはその変化を一般式の形
として表現した式を生成する。
Next, when the one calculation formula storage process is completed in FIG. 2, it is determined whether the stored calculation formula is a regularity function or not (FIG. 2 24). If it is a regularity function, analyze its regularity and determine which items are related to the coordinates and which items are not related to the coordinates (constants).
), once the results of this analysis are obtained, a calculation formula generation process is performed (26). This calculation formula generation process generates items representing the bonds of parameters according to the coordinates of the calculation formula, based on the results of the regularity analysis process. For items that do not change, the coordinates in which the fixed values are stored are used, and for items that change, an expression is generated that expresses the change in the form of a general expression.

この第2図のステップ25における規則性解析処理の詳
細を第3図に示し、以下に説明する。
The details of the regularity analysis process in step 25 in FIG. 2 are shown in FIG. 3 and will be described below.

最初に特定のレジスタ1に1を設定する(第3図30)
0次に規則性関数により指定された複数の計算式の、1
番目の項目を取り出しく同31)その項目の便について
Aが成立するか判断する(同32)。このAは、第3図
の下段に示されており、i番目の項目が定数値であるか
、または第1参照座標に格納されている計算式のi番目
の項目と第2参照座標に格納されている計算式の1番目
の項目が同一であるかの判断である。もし、成立する場
合は、補正なしとして処理する(定数であるから)。も
し成立しない場合(no)、次のステップ33において
、Bの判断を行う、このBでは9図に示すように1.第
1参照座標の行番号と第1参照座標に格納されている計
算式の1番目の項目の行番号が一致すると同時に、第2
参照座標の行番号と第2参照座標に格納されている計算
式のi番目の項目の行番号が一致するかを判断する。
First, set 1 to specific register 1 (Figure 3, 30)
1 of multiple calculation formulas specified by the 0th order regularity function
31) Determine whether A holds true for the item (32). This A is shown in the lower part of Figure 3, and the i-th item is a constant value, or the i-th item of the calculation formula stored in the first reference coordinate and the second reference coordinate are stored. This is to determine whether the first item of the calculation formulas are the same. If it holds true, it is treated as no correction (because it is a constant). If it does not hold true (no), then in the next step 33, determination of B is made. In this B, as shown in FIG. 9, 1. At the same time that the row number of the first reference coordinate and the row number of the first item of the calculation formula stored in the first reference coordinate match, the second
It is determined whether the row number of the reference coordinates and the row number of the i-th item of the calculation formula stored in the second reference coordinates match.

これが成立する場合、1番目の項目は行補正(表の行番
号に対応する補正)を行うものとして処理する。このス
テップ33の判断が成立しない場合(noの場合)は1
次にステップ34においてCの判断が行われる。
If this is true, the first item is processed as a row correction (correction corresponding to the row number of the table). If the judgment in step 33 is not established (in case of no), 1
Next, in step 34, a determination of C is made.

このステップ34におけるCの判断は1図に示すように
第1参照座標の列番号が、第1参照座標に格納されてい
る計算式の1番目項目の列番号と−敗し、同時に第2参
照座標の列番号が1第2参照座標に格納されている計算
式の1番目項目の列番号と一致するかを判断する。これ
が、成立する場合は、1番目の項目は列補正(表の列番
号に対応する補正)を行うものとして処理する。
As shown in Figure 1, the judgment of C in this step 34 is that the column number of the first reference coordinate is different from the column number of the first item of the calculation formula stored in the first reference coordinate, and at the same time the second reference coordinate is It is determined whether the column number of the coordinates matches the column number of the first item of the calculation formula stored in the first and second reference coordinates. If this is true, the first item is processed as column correction (correction corresponding to the column number of the table).

ステ、プ35では、iを+1して次の項目についてステ
ップ31以下の処理を繰り返す。
In step 35, i is incremented by 1 and the processing from step 31 onward is repeated for the next item.

この第3図の処理を第4図に示す具体例に適用すると、
2つの関数はE4.E5であり、それぞれの計算式の、
最初の項目A2は、上記の第3図のステップ31で1−
1の時(最初の項目)に対応し ステップ32のAの判
断において1第1参照座標E4に格納されている計算式
の1番目と第2参照座標E5に格納されている計算式の
1番目が同し「A2」であるから、補正なしの項目とし
て処理される。次に1−2の時、第1参照座標E4の行
番号(−4)と第1参照座標に格納されている計算式の
第2番目の項目(C4)の行番号(−4)が一致し、第
2参照座標E5の行番号(=5)と第2参照座標(E5
)に格納されている計算式の2番目の項目(C5)の行
番号(−5)が一致するので1行補正をする必要がある
ものとして処理される。以下、1−3の場合、第3の項
目D4.D5についても同じように判断されて3行補正
をするものとして処理される。
Applying the process shown in FIG. 3 to the specific example shown in FIG.
The two functions are E4. E5, and each calculation formula is
The first item A2 is 1-
1 (first item), the first of the calculation formulas stored in the first reference coordinate E4 and the first of the calculation formulas stored in the second reference coordinate E5 in the judgment of A in step 32. Since both are "A2", it is processed as an item without correction. Next, in the case of 1-2, the line number (-4) of the first reference coordinate E4 and the line number (-4) of the second item (C4) of the calculation formula stored in the first reference coordinate are the same. Then, the row number (=5) of the second reference coordinate E5 and the second reference coordinate (E5
), the line number (-5) of the second item (C5) of the formula stored in the formula matches the line number (-5), so it is processed as requiring one line correction. Hereinafter, in the case of 1-3, the third item D4. D5 is also judged in the same way and processed as a 3-line correction.

このように解析が行われた場合、計算式生成処理(第2
図の26)において、一般式として次のような計算式が
生成される。
When analysis is performed in this way, calculation formula generation processing (second
In 26) of the figure, the following calculation formula is generated as a general formula.

En=A2+ (Cn*Dn) 第2回に戻って説明すると、計算式生成処理により計算
式が生成されると1次に計算処理が実行される。この計
算処理は、複写元の計算式の座標及び複写先の計算式の
座標に格納された計算式に従って、各項目の座標の数値
データをテーブル(第4図参照)の対応座標位置から取
り出して計算が行われる(第2図27)。
En=A2+ (Cn*Dn) Returning to the second part, when a calculation formula is generated by the calculation formula generation process, the primary calculation process is executed. This calculation process extracts the numerical data of the coordinates of each item from the corresponding coordinate position in the table (see Figure 4) according to the calculation formulas stored in the coordinates of the calculation formula of the copy source and the coordinates of the calculation formula of the copy destination. Calculations are made (Figure 2, 27).

第4図の例について説明すると、複写元の座標E6の場
合、  rRULE(E4.E5) Jという関数がr
A2+ (C6*D6)Jという式に変換され計算処理
により、各座標A2.C6,D6の座標の値がテーブル
から取り出されr5000+(3000XIO)Jを計
算して、結果を計算結果格納部に格納する。また、各複
写先であるE7〜E50についても、各計算式格納部に
格納されたrRULE(E4.E5) Jによる計算を
上記の一般式を用いてそれぞれ実行し、計算結果を対応
する計算結果格納部m2に格納する。計算が終了すると
結果を表示して(同29)終了する。
To explain the example in Figure 4, in the case of the copy source coordinate E6, the function rRULE(E4.E5) J is r
Each coordinate A2. The coordinate values of C6 and D6 are taken out from the table, r5000+(3000XIO)J is calculated, and the result is stored in the calculation result storage section. Also, for each copy destination E7 to E50, calculations using rRULE(E4.E5)J stored in each calculation formula storage section are executed using the above general formula, and the calculation results are converted to It is stored in the storage section m2. When the calculation is completed, the result is displayed (29) and the process ends.

[発明の効果] 本発明によれば従来使用者が指定していた座標補正の指
示入力を行うことなく自動的に判別することができると
ともに表計算を高速化することができる。
[Effects of the Invention] According to the present invention, it is possible to automatically determine coordinate correction without inputting an instruction for coordinate correction, which was conventionally specified by a user, and to speed up spreadsheet calculation.

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

第1回は本発明の原理的構成図、第2図は実施例の処理
フロー図、第3図は規則性解析処理の詳細なフロー、第
4図は具体例による動作例および計算結果の表示例、第
5図は従来例の説明図、第6同は従来例の処理フローで
ある。 第1図中 10:処理装置 11:複写処理部 110:1夏式複写手段 111:解析手段 112:計算式生成手段 113:計算手段 12:テーブル 特許出■人 株式会社ビーエフニー(外1名)復代理人
弁理士   穂坂 和雄 実施例の処理フロー図 第2図 具体例による動作例および計算結果の表示例筒 図 従 来 例 の 説 明 図 第 図 判断B 判断C 規則性解析処理の詳細なフロー 従来例の処理フロー 第6区
Part 1 is a diagram of the principle configuration of the present invention, Figure 2 is a processing flow diagram of an embodiment, Figure 3 is a detailed flow of regularity analysis processing, and Figure 4 is a table of operation examples and calculation results based on specific examples. As an example, FIG. 5 is an explanatory diagram of a conventional example, and FIG. 6 is a processing flow of the conventional example. 10 in Figure 1: Processing device 11: Copy processing section 110: 1 Summer type copying means 111: Analysis means 112: Calculation formula generation means 113: Calculation means 12: Table Patent creator: Bfn Co., Ltd. (one other person) Representative Patent Attorney Kazuo Hosaka Fig. 2 Processing flow diagram of the embodiment Example of operation and display of calculation results in a concrete example Tube diagram Explanation diagram of the conventional example Fig. Judgment B Judgment C Detailed flow of regularity analysis processing of the conventional example Processing flow section 6

Claims (1)

【特許請求の範囲】  情報処理装置における表計算式自動判別方式であって
、 表計算用の複数のパラメータ値が格納された座標と計算
式及び計算結果を格納する座標が設けられたテーブル(
12)を備え、 該計算式の複写元となる座標位置に複数の計算式の座標
値を含む関数を予め格納し、 複写開始指示により起動する複写処理部(11)は、複
写元として上記関数が格納された座標が指示されると、
複写元から上記関数を取り出し、複写先の指示入力によ
り指示された各複写先の座標に該関数を複写する計算式
複写手段(110)と、前記関数に含まれた複数の座標
の計算式に対して座標補正の要否を解析する解析手段(
111)と、前記解析手段の結果に基づいて座標値を含
まない一般式を生成する計算式生成手段(112)と、
該生成された一般式に基づいて上記各複写先に複写され
た各計算式の計算を実行する計算手段(113)とを備
えることを特徴とする表計算式自動判別方式。
[Scope of Claim] A spreadsheet automatic discrimination method in an information processing device, comprising a table (with coordinates storing a plurality of parameter values for spreadsheets, calculation formulas, and coordinates storing calculation results).
12), a copy processing unit (11) which stores in advance a function including the coordinate values of a plurality of calculation formulas at a coordinate position from which the calculation formulas are to be copied, and which is activated by a copy start instruction, uses the above-mentioned function as a copy source. When the coordinates where are stored are specified,
calculation formula copying means (110) for extracting the function from the copy source and copying the function to the coordinates of each copy destination designated by inputting a copy destination instruction; Analysis means (
111), calculation formula generation means (112) for generating a general formula that does not include coordinate values based on the results of the analysis means;
1. A spreadsheet automatic discrimination method, comprising: calculation means (113) for calculating each calculation formula copied to each copy destination based on the generated general formula.
JP2108262A 1990-04-24 1990-04-24 Spreadsheet automatic identification method Expired - Lifetime JPH0743751B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2108262A JPH0743751B2 (en) 1990-04-24 1990-04-24 Spreadsheet automatic identification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2108262A JPH0743751B2 (en) 1990-04-24 1990-04-24 Spreadsheet automatic identification method

Publications (2)

Publication Number Publication Date
JPH045757A true JPH045757A (en) 1992-01-09
JPH0743751B2 JPH0743751B2 (en) 1995-05-15

Family

ID=14480196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2108262A Expired - Lifetime JPH0743751B2 (en) 1990-04-24 1990-04-24 Spreadsheet automatic identification method

Country Status (1)

Country Link
JP (1) JPH0743751B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4956423A (en) * 1985-10-29 1990-09-11 Occidental Chemical Corporation Hot-melt adhesives

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4956423A (en) * 1985-10-29 1990-09-11 Occidental Chemical Corporation Hot-melt adhesives

Also Published As

Publication number Publication date
JPH0743751B2 (en) 1995-05-15

Similar Documents

Publication Publication Date Title
JP2006053894A (en) Support of spread sheet function specified by user
US5170349A (en) Text processing apparatus using modification relation analysis
JPH0743751B2 (en) Spreadsheet automatic identification method
JP2605402B2 (en) Data derivation method in dictionary system
JP3283055B2 (en) Program editing device
JPH0581316A (en) Method and device extracting semantics of natural language sentence
US20210200791A1 (en) Data content governance for presentation layer synchronization for a version controlled underlying data model
JP2714940B2 (en) Text search device
JPH0462410A (en) Measurement assisting device
JPH0337721A (en) Attribute borrowing system for dictionary system
JPH01108670A (en) Mathematical formula input and edit system
JPH0721802B2 (en) Formula editing device
JPH0816382A (en) Erroneously corrected line retrieving device
JPH07281879A (en) Application program editing device
JPH05197538A (en) Exception generation line number display system of precompiler system
JPH06332719A (en) Compiler code generating device
JP3097225B2 (en) Kana-Kanji conversion device
CN115392226A (en) Retrieval method, retrieval device and storage medium
JP3143910B2 (en) File processing device
JPH05150970A (en) Program generation supporting device
JPH036622A (en) Compile list output device
JPH0477956A (en) Term explanation generation system
JPH0619964A (en) Machine translation device
JPH01258047A (en) Data reinput system
JPH03180942A (en) Master file forming device for document data base