工程能力(Cpk)計算ツールの使い方
How to Use the Process Capability (Cpk) Calculator
工程能力指数(Cp・Cpk・Pp・Ppk等)の計算からデータの保存・再読み込みまでの操作方法をまとめています。
This page explains how to calculate process capability indices and how to save or reload your data.
① 入力方式と測定データ入力 ② 規格値とタイトル ③ 群の大きさ ④ 基準線と統計量の枠 ⑤ 「計算する」を押す ⑥ 変更したら再計算 ⑦ 結果の見方 ⑧ 計算式 ⑨ 結果を保存 ⑩ Excel/CSV読み込み ⑪ クリアボタン ⑫ データの取り扱い
① Input Mode & Data ② Limits & Title ③ Subgroup Size ④ Ref. Lines & Statistics Box ⑤ Click Calculate ⑥ Recalculate After Edits ⑦ Reading the Results ⑧ Formulas ⑨ Save Results ⑩ Import Excel/CSV ⑪ Clear Buttons ⑫ Data Handling
① 入力方式を選んで、測定データを入力する
① Choose an Input Mode and Enter the Data
「入力方式」で、記録の形に合うものを選び、「測定データ」欄に数値を入力します。最低2件以上のデータが必要です。データは10,000件まで入力できます。入力方式は「縦1列」「1行=1群」「1列=1群」の3つです。
Choose the input mode that matches how your data are recorded, then enter the values in the "Measurement Data" field. At least 2 data points are required. You can enter up to 10,000 values. There are three input modes: One column, One subgroup per line, and One subgroup per column.
- 縦1列:測定値を1列に並べます。区切りは、カンマ・改行・スペース(全角を含む)・タブのいずれでもかまいません(例: 10.2, 10.5, 9.8)。nan・inf など数値でない文字はエラーになります。群の大きさは③で指定します。
- 1行=1群:1行を1つの群として入力します。行の中の値は、空白(全角を含む)・タブ・カンマで区切ります。空行は読み飛ばし、行の途中の空のセルは詰めます。1行は1〜100個で、行ごとに個数が違ってもかまいません。Excelで「1行に1群、横に測定値」の範囲をコピーして、そのまま貼り付けられます。例(5個・5個・3個の3群):
10.1 10.3 9.8 10.0 10.4
10.2 10.0 9.9 10.1 10.5
9.9 10.3 10.0
1個だけの行は、群内の標準偏差の計算には使われません(平均と全体の標準偏差には含まれます)。すべての行が1個のときは、隣り合うデータの差(移動範囲)から求めます。行が1つだけのときは、群が1つだけなので Cp・Cpk は「-」になります(理由は⑦)。
- 1列=1群:Excel の記録表(縦に測定ポイント、横に日付)のように、1列を1つの群として入力します。下の表の例では、測定値の範囲 B3:D6 だけをコピーして貼り付けます。
- 測定できなかったセル(例では C5)は、空のままでかまいません。その群(列)の個数が減るだけです。
- 日付の見出し行(2行目)まで含めてコピーすると、数値でないエラーになります。
- A列の測定ポイントの番号(1, 2, 3, 4)まで含めてコピーすると、「1列目が 1, 2, 3 … の連番です」という通知が出ます。番号が1つの群として計算され、正しい結果にならないので、範囲を直して貼り直してください。
- 手で入力するときは、値をタブかカンマで区切ります。空白だけの区切りはエラーになります(欠けた値の位置が分からないためです)。
- 1列は1〜100個で、列ごとに個数が違ってもかまいません。全部空の列は無視します。1個だけの列・すべて1個・1列だけのときの扱いは、1行=1群と同じです。
- 測定順について:1行=1群・1列=1群では、群の中の並び順は結果に影響しません。ただし、すべての群が1個のとき(移動範囲で求めるとき)は、群が測定した順に並んでいることが前提です。
- 全角の数字・小数点・マイナス(12.5、−5など)も数値として読み取れます。
- 桁区切りのカンマ:「縦1列」「1行=1群」では、桁区切りのカンマ(1,234 など)は値の区切りとして読まれ、1 と 234 の2つの値になります(エラーにはなりません)。Excelで桁区切りの表示形式にしているセルをコピーすると、カンマも一緒に貼り付けられるので、表示形式を外してからコピーしてください。「1列=1群」では、Excelから貼り付けた形(タブ区切り)の桁区切りのカンマを含む値は、数値でないエラーになります(タブのない入力では、カンマが列の区切りになります)。
- One column: enter the values in a single column. Values can be separated by commas, line breaks, spaces (including full-width spaces), or tabs (for example 10.2, 10.5, 9.8). Non-numeric text such as nan and inf causes an error. Specify the subgroup size in ③.
- One subgroup per line: each line is one subgroup. Separate the values on a line with spaces (including full-width spaces), tabs, or commas. Blank lines are skipped, and empty cells in the middle of a line are closed up. A line has 1 to 100 values, and the number of values may differ between lines. You can copy a range from Excel with one subgroup per row and the values across, and paste it as it is. Example (3 subgroups of 5, 5, and 3 values):
10.1 10.3 9.8 10.0 10.4
10.2 10.0 9.9 10.1 10.5
9.9 10.3 10.0
A line with only one value is not used in the within-subgroup standard deviation (it is included in the mean and the overall standard deviation). If every line has only one value, the within-subgroup variation is estimated from the differences between adjacent values (moving range). If there is only one line, there is only one subgroup, so Cp and Cpk are shown as "-" (see ⑦ for the reason).
- One subgroup per column: each column is one subgroup, as in an Excel record sheet with the measurement points down and the dates across. In the example below, copy and paste only the range of measured values, B3:D6.
- A cell where no measurement could be taken (C5 in the example) can be left empty; that subgroup (column) simply has fewer values.
- If you also copy the heading row of dates (row 2), a non-numeric error is shown.
- If you also copy the measurement-point numbers in column A (1, 2, 3, 4), a notice "Column 1 is a sequence 1, 2, 3 …" is shown. The numbers would be calculated as one subgroup and the result would not be correct, so fix the range and paste again.
- When typing by hand, separate the values with tabs or commas. Separating only with spaces causes an error, because spaces cannot show where a value is missing.
- A column has 1 to 100 values, and the number of values may differ between columns. Completely empty columns are ignored. Columns with only one value, every column having one value, and a single column are handled in the same way as in One subgroup per line.
- About the order of the data: in One subgroup per line and One subgroup per column, the order of the values inside a subgroup does not affect the results. However, when every subgroup has only one value (estimated from the moving range), the subgroups must be in the order in which they were measured.
- Full-width digits, decimal points, and minus signs (such as 12.5 and −5) are also read as numbers.
- Thousands separators: in "One column" and "One subgroup per line", a thousands separator (such as in 1,234) is read as a separator between values, so it becomes two values, 1 and 234 (no error is shown). If you copy cells that use a thousands-separator number format in Excel, the commas are pasted too, so remove that format before copying. In "One subgroup per column", a value that contains a thousands separator in the form pasted from Excel (tab-separated) causes a not-a-number error (in input without tabs, the comma separates the columns).
② USL・LSL・目標値・タイトルを入力する
② Enter Spec Limits and Title
- USL(上限規格値)・LSL(下限規格値)は必須入力です。USLはLSLより大きい値にしてください。
- 目標値・グラフタイトルは任意です。目標値を入力するとCpm(目標値を考慮した工程能力指数)が計算されます。タイトルを空欄にすると既定名になります(既定は "Process Capability Index")。グラフタイトルは40文字までです。
- USL and LSL are required (USL must be greater than LSL).
- Target and Chart Title are optional — entering a target also calculates Cpm. Leaving the title blank uses the default name (default: "Process Capability Index"). The chart title is up to 40 characters.
③ 群の大きさを入力する(縦1列のとき)
③ Enter the Subgroup Size (One Column Mode)
入力方式が「縦1列」のときは、「群の大きさ」欄に、データを何個ずつのまとまり(群)とみなすかを、1〜100の整数で入力します。群の大きさは任意で、空欄のときは Pp・Ppk だけを計算します。入力すると、群内のばらつき(Cp・Cpk に使う標準偏差)を求めて、Cp・Cpk も計算します。(「1行=1群」「1列=1群」では、行・列が群になるので、この欄は使いません。)
When the input mode is "One column", enter in the "Subgroup Size" field how many values form one subgroup, as an integer from 1 to 100. The subgroup size is optional: if it is blank, only Pp and Ppk are calculated; if you enter it, the within-subgroup variation (the standard deviation behind Cp and Cpk) is estimated and Cp and Cpk are also calculated. (In "One subgroup per line" and "One subgroup per column", each line or column is a subgroup, so this field is not used.)
1のときは、隣り合うデータの差(移動範囲)から、群内のばらつきを求めます。2以上のときは、入力した順に、上から n 個ずつを1つの群とみなします(起点は最初のデータ)。最後の群だけは、n 個に満たなくても1つの群として使います。
With 1, the variation is estimated from the differences between adjacent values (moving range). With 2 or more, the data are split into subgroups of that size in the order entered, starting from the first value; the last subgroup is used even if it has fewer values.
- 縦1列に入力するときは、同じ群のデータを続けて、群の順に並べてください。
- 縦1列で対応していないデータ:途中の群だけ個数が少ない場合(例:5個、5個、5個、3個、5個)は、上から n 個ずつに区切るため群が正しく分かれず、縦1列では対応していません。個数が少なくてよいのは、最後の群だけです。このようなデータは、①の「1行=1群」または「1列=1群」を使うと、群ごとに個数が違っても計算できます。
- 群が1つだけのとき:群の大きさがデータ数と同じ(データがすべて1つの群になる)ときは、群内のばらつきと全体のばらつきを分けられないため、Cp・Cpk は「-」になります(Pp・Ppk は計算します。理由は⑦)。
- 群の大きさの決め方:同じ条件で続けて測ったまとまりに合わせて決めます(例:1時間ごとに5個ずつ抜き取ったなら5)。結果を見て変えるものではありません。1個ずつ測っているときは1です。
- 測定順の前提:Cp・Cpk は、データが測定した順に並んでいることを前提に計算します。並べ替えたデータでは正しい値になりません(Pp・Ppk は並び順に関係しません)。
- When entering data in one column, keep the values of each subgroup together, in subgroup order.
- Not supported in One column mode: data in which a subgroup other than the last one has fewer values (for example 5, 5, 5, 3, 5). Because the data are cut every n values from the top, the subgroups will not be separated correctly, so this is not supported in One column mode. Only the last subgroup may have fewer values. For such data, use "One subgroup per line" or "One subgroup per column" in ①, which can handle subgroups of different sizes.
- When there is only one subgroup: if the subgroup size equals the number of data points (all the data form a single subgroup), the within-subgroup variation cannot be separated from the overall variation, so Cp and Cpk are shown as "-" (Pp and Ppk are calculated; see ⑦ for the reason).
- Choosing the subgroup size: choose the size to match a set of values measured together under the same conditions (for example, 5 if you take 5 samples every hour); do not change it after seeing the results. Use 1 if you measure one value at a time.
- Order of the data: Cp and Cpk assume the data are in the order in which they were measured. Sorted or rearranged data will not give correct values (Pp and Ppk do not depend on the order).
④ グラフの基準線と統計量の枠の表示を切り替える(任意)
④ Toggle Reference Lines and the Statistics Box (optional)
「正規分布カーブ」「USL」「LSL」「目標値」はそれぞれ個別にチェックを外すことができます(既定はすべてオン)。オフにした線は、グラフ上の線と、線の上に表示されるラベル(名称のみ、例:「USL」)の両方が非表示になります。
「グラフの統計量の枠」では、グラフの右側(グラフの外)の枠に表示する項目を選べます。項目は、n・平均値・StDev(Overall)・StDev(Within)・Cp・Cpk・Pp・Ppk・Cpm です(Cp と Cpk、Pp と Ppk は、それぞれ2つで1つのチェック欄です)。既定は、平均値と Cpm 以外です。すべて外すと枠は表示されません。Cpm は、目標値が空欄のときは、選んでも表示されません。群の大きさが空欄のとき(縦1列)は、群内のばらつきを求めないため、StDev(Within)・Cp・Cpk の行は表示されません。群内の標準偏差が0のときと、群が1つだけのときは、StDev(Within)・Cp・Cpk は「-」と表示されます。この設定は画面のグラフ・グラフ画像の保存・Excel出力のすべてに反映されます。
"Normal Curve", "USL", "LSL", and "Target" can each be unchecked independently (all on by default). Turning one off hides both the line itself and its on-chart label (name only, e.g., "USL").
In "Statistics Box" you can choose which items are shown in the box at the right of the chart (outside the plot): n, Mean, StDev(Overall), StDev(Within), Cp/Cpk, Pp/Ppk, and Cpm (Cp and Cpk, and Pp and Ppk, are each one checkbox). The default is everything except Mean and Cpm. If all are unchecked, no box is shown. Cpm is not shown when the target is blank, even if checked. When the subgroup size is blank (One column mode), the within-subgroup variation is not estimated, so the StDev(Within), Cp, and Cpk lines are not shown. When StDev(Within) is 0, or when there is only one subgroup, StDev(Within), Cp, and Cpk are shown as "-". This applies to the on-screen chart, the saved image, and the Excel export.
⑤ 「計算する」を押す
⑤ Click "Calculate"
ヒストグラム(+基準線を表示する設定の場合は正規分布カーブ)と、群内(Cp・CPL・CPU・Cpk)・全体(Pp・PPL・PPU・Ppk・Cpm)の計算結果、期待PPMの合計が表示されます。グラフの右側には、選んだ統計量が枠付きで表示されます(非表示にもできます)。群の大きさが空欄のとき(縦1列)は、群内の結果は「-」になり、全体(Pp・Ppk など)だけが計算されます。
A histogram (with a normal distribution curve, if reference lines are enabled), the results for within (Cp, CPL, CPU, Cpk) and overall (Pp, PPL, PPU, Ppk, Cpm), and the expected total PPM are displayed. The statistics you selected are shown in a box at the right of the chart (it can be hidden). When the subgroup size is blank (One column mode), the within results are shown as "-" and only the overall results (Pp, Ppk, etc.) are calculated.
⑥ 内容を変更したら、必ず「計算する」を押し直してください
⑥ After Any Change, Click "Calculate" Again
このツールは自動更新されません。入力方式・測定データ・群の大きさ・USL/LSL・目標値・タイトル・基準線の表示・統計量の枠の項目のいずれを変更した場合も、下の「計算する」を押すまで結果には反映されません。データを直しただけの場合も、表示設定だけ変えた場合も同様です。
This tool does not update automatically. If you change any of the input mode, measurement data, subgroup size, USL/LSL, target, title, reference line display, or statistics box items, the results and chart on screen will not update until you press "Calculate" again — whether you only edited the data or only changed a display setting.
⑦ 結果の見方:Cp・Cpk と Pp・Ppk
⑦ Reading the Results: Cp/Cpk and Pp/Ppk
群内 / Within(Cp・CPL・CPU・Cpk):群内のばらつき、つまり短期的なばらつき(工程が本来持っている実力)から求めます。全体 / Overall(Pp・PPL・PPU・Ppk):データ全体のばらつきから求めます。
Within (Cp, CPL, CPU, Cpk) uses the within-subgroup, short-term variation (what the process is capable of). Overall (Pp, PPL, PPU, Ppk) uses the variation of the whole data set.
群が1つだけのとき(Cp・Cpk が「-」になる理由):群が1つだけ(1行=1群で行が1つ、1列=1群で列が1つ、縦1列で群の大きさがデータ数と同じ)だと、群内のばらつきと全体のばらつきを分けられません。そのため、Cp・Cpk は計算せず「-」にします(Pp・Ppk は計算します)。個別の測定値を測定順に並べたデータなら、縦1列で群の大きさを1にすると、隣り合うデータの差から Cp・Cpk を求められます。
When there is only one subgroup (why Cp and Cpk are "-"): with only one subgroup (one line in One subgroup per line, one column in One subgroup per column, or a subgroup size equal to the number of data points in One column), the within-subgroup variation cannot be separated from the overall variation. Cp and Cpk are therefore not calculated and are shown as "-" (Pp and Ppk are calculated). For individual measurements in the order they were taken, use One column with a subgroup size of 1 to get Cp and Cpk from the differences between adjacent values.
K(かたより度):平均値が規格の中心からどれだけずれているかを、規格幅の半分に対する割合で表します。0なら平均値が規格の中心、1なら規格の端、1を超えると平均値が規格の外です。Cpk = (1 − K) × Cp、Ppk = (1 − K) × Pp の関係があり、Cp(Pp)と Cpk(Ppk)の差は、かたよりによるものです。結果表には平均値の直後に表示されます(グラフの枠には表示されません)。
K (bias): shows how far the mean is from the center of the specification, as a fraction of half the specification width. 0 means the mean is at the center, 1 means it is at a limit, and above 1 it is outside the limits. Cpk = (1 − K) × Cp and Ppk = (1 − K) × Pp, so the difference between Cp (Pp) and Cpk (Ppk) comes from the bias. It is shown right after the mean in the results table (not in the box on the chart).
日本で一般に「Cpk」と呼ばれる値:現場や書籍によって指すものが異なります。管理図などの群内変動から求めた値を指す場合と、全データの標準偏差から求めた値を指す場合があります。このツールでは、前者が Cpk(群内)、後者が Ppk(全体)に当たります。取引先などが指定する定義を確認して、どちらを使うかを決めてください。
What is usually called "Cpk" in Japan: it depends on the workplace or book. It may mean a value calculated from the within-subgroup variation (for example, from a control chart), or a value calculated from the standard deviation of all the data. In this tool, the former is Cpk (Within) and the latter is Ppk (Overall). Check the definition specified by your customer or standard before choosing.
Cp と Pp の差の読み方:差が小さいときは、群の間の変動が小さいと考えられます(ただし、Cp・Pp がともに低ければ、工程能力は足りていません)。Cp が Pp より大きく開いているときは、群の間の変動(平均のずれ、工具の摩耗による少しずつの変化など)がある可能性があります。例えば、工具の摩耗で測定値が少しずつ増えていくデータでは、隣り合うデータの差は小さいので Cp は大きく、全体では値が広がるので Pp は小さくなります。データを大きさ順に並べ替えても、Cp が実際より大きく出ます(③の測定順の前提)。データ数が少ないと、推定の誤差で Cp が Pp をわずかに下回ることもあります。わずかな差であれば、計算の誤りではありません。
Reading the gap between Cp and Pp: when they are close, the variation between subgroups is likely small (but if both Cp and Pp are low, the process capability is still insufficient). When Cp is much larger than Pp, there may be variation between subgroups (shifts in the mean, gradual change due to tool wear, etc.). For example, if tool wear makes the measured values increase gradually, adjacent values differ little so Cp is large, while the data spread over a wide range overall so Pp is small. Sorting the data by size also makes Cp larger than it really is (see ③ on the order of the data). With a small amount of data, Cp can be slightly lower than Pp due to estimation error. A small difference like this is not a calculation error.
⑨ 結果を保存する
⑨ Save the Results
- グラフ画像を保存:表示中のグラフをPNG画像としてダウンロードします。
- Excel出力:入力データ・計算結果・グラフ画像を1つのExcelファイル(3シート構成)としてダウンロードします。「Results」シートには、実測・期待のPPM(全体・群内)も含まれます。
- 入力方式による出力の違い:「1行=1群」「1列=1群」では、入力データを「No. / 値1 / 値2 …」の形(1群を1行)で出力します(群の個数が違うときは、短い群の右側が空のセルになります)。「Results」シートの入力方式は、どちらも「1行=1群」と表示されます。群の大きさの行は、空欄にします(縦1列で群の大きさが空欄のときも空欄です)。
- Results の表示:K(かたより度)は、平均値のすぐ下に出力されます。計算できない値(群内の標準偏差・Cp系・群内の期待PPMなど。群の大きさが空欄のとき、群が1つだけのとき、群内の標準偏差が0のとき)は「-」で出力されます。
- CSV出力:入力データ・計算結果をCSVファイルとしてダウンロードします(グラフ画像は含まれません)。計算結果のうち、実測・期待のPPM(規格外の割合)はCSVには含まれません。PPMを含む結果は、Excel出力(.xlsx)の「Results」シートで確認してください。
- タイトルを入力している場合、グラフ画像(PNG)・Excel・CSVのファイル名はそのタイトル名になります(ファイル名に使えない記号は「_」に置き換わります)。空欄、または既定タイトル("Process Capability Index")と同じ場合は、Excel・CSVは "cpk_result"、PNGは "cpk_chart" になります。
- Save Chart Image downloads the graph as a PNG.
- Export Excel downloads the input data, results, and chart in one file (3 sheets). The "Results" sheet also includes the observed and expected PPM (overall and within).
- Output differences by input mode: for "One subgroup per line" and "One subgroup per column", the input data are written in the form "No. / Value 1 / Value 2 …" (one subgroup per row; where subgroups differ in size, the cells to the right of a shorter subgroup are empty). The input mode in the "Results" sheet is shown as "One subgroup per line" in both cases. The subgroup size row is left blank (it is also blank when the subgroup size is left blank in One column mode).
- Results sheet: K (bias) is written right below the mean. Values that cannot be calculated (the within-subgroup standard deviation, the Cp-family, the within expected PPM, etc.; when the subgroup size is blank, when there is only one subgroup, or when StDev(Within) is 0) are written as "-".
- Export CSV downloads the data and results without the chart image. The observed and expected PPM values are not included in the CSV; to get them, use the "Results" sheet of the exported Excel file (.xlsx).
- If a chart title is entered, it is used as the file name for the chart image (PNG), Excel, and CSV. (Characters not allowed in file names are replaced with "_".) If the title is blank or the same as the default title ("Process Capability Index"), the files are named "cpk_result" (Excel/CSV) and "cpk_chart" (PNG).
⑩ Excel/CSVから読み込む(インポート)
⑩ Import from Excel or CSV
本ツールから出力したExcel(.xlsx)またはCSV(.csv)ファイルをページ上部の「Excel / CSVから読み込む」から選択すると、測定データ・USL・LSL・目標値・グラフタイトル・群の大きさが復元され、計算結果とグラフが表示されます。グラフの表示設定(正規分布カーブ・USL・LSL・目標値の線、統計量の枠の項目)はファイルに保存されないため、読み込み後はすべて既定に戻ります。過去の測定結果を見返したいときや、他のPCで作業を続けたいときに便利です(アップロードは最大10MBまで)。データが10,000件を超えるファイルは読み込めません。
Select an .xlsx or .csv file previously exported from this tool under "Import from Excel or CSV" at the top of the page to restore its measurement data, USL, LSL, target, chart title, and subgroup size; the results and chart are then shown. The chart display settings (the normal curve, the USL/LSL/Target lines, and the items in the statistics box) are not saved in the file, so they all return to their defaults after importing (max upload size: 10MB). Files with more than 10,000 values cannot be imported.
- 読み込めるファイル:このツールで出力したExcel(.xlsx)・CSV(.csv)です。以前の形式(項目名が日本語だけ・英語だけのもの)も読み込めます。群の大きさの行がない以前のファイルは、群の大きさを指定なし(空欄)として読み込みます(お知らせは出ません)。行があって値が読めない(数値でない、整数でない、1〜100の範囲外)ときは、指定なしにしてお知らせします。
- 読み込むシート:シートの名前や順番は問いません。Excelファイルでは、ブックの中から、このツールの出力の形をしたシートを中身で探して読みます(シート名を変えたり、シートの順番を入れ替えたり、「Results」「Chart」シートを削除したりしても読み込めます)。同じ形のシートが複数あるときは、名前が「Input Data」(以前の出力は「入力データ」)のシートを、なければブックの並び順で最初のシートを読みます(お知らせは出ません)。
- 入力方式の判定:入力データの見出しの形で決まります。「測定データ」の見出しなら縦1列、「No. / 値1 …」の見出しなら1行=1群として読み込みます。「1列=1群」で出力したファイルも、1行=1群として戻ります(計算結果は同じです)。1行=1群のファイルでは、群の途中に空のセルがあると、行番号を示すエラーになります。
- 必須の項目:測定データ、USL(上限規格値)、LSL(下限規格値)です。USL・LSLの行がないか値が空欄のときは、ファイルの内容は読み込まれず、足りない項目の名前を示すエラーになります(画面でUSL・LSLを空欄のまま「計算する」を押したときも同じです)。目標値・グラフタイトルの行がない、または値が読めないときは、既定値(空欄)を使い、そのことを計算結果の上にお知らせします。これらの行は、1つずつでも、まとめてでも、すべて削除しても読み込めます(見つからなかった項目の名前は、お知らせにまとめて表示されます)。行があって値が空欄のときは、空欄として読み込みます(お知らせは出ません)。
- 項目名を書き換えたとき:項目名は「日本語 / English」の形で書かれています。日本語・英語の片方だけにしても読み込めます。かっこ・空白・「/」の全角と半角、大文字と小文字の違いは区別しません。行の順番を入れ替えても読み込めます(入力条件の行は「測定データ」の見出しより上に置いてください)。言い回しを変えた項目名は、その項目として読み込めません。同じ項目が2つ以上あるとエラーになります。知らない名前の行は読み飛ばします。
- 空のセルと数値でないデータ:測定データの空のセルは、データの終わりとして扱います。空のセルより後ろにまだデータがあるときと、数値でないデータ(文字・日付など)があるときは、行番号を示すエラーになります(最大5件まで表示)。
- Files you can import: .xlsx and .csv files exported from this tool. Files in earlier formats (item names in Japanese only or English only) can also be imported. Files from before the subgroup size was added (no subgroup size row) are imported with the subgroup size left blank (no notice is shown). If the row exists but its value cannot be read (not a number, not an integer, or outside 1 to 100), the subgroup size is left blank and a notice is shown.
- Which sheet is read: the sheet name and the sheet order do not matter. For an Excel file, the tool looks through the workbook and reads the sheet whose content has the format of this tool's export (it still imports if you rename the sheet, reorder the sheets, or delete the "Results" and "Chart" sheets). If several sheets have that format, the sheet named "Input Data" (in earlier exports, "入力データ") is read; if there is none, the first such sheet in the workbook order is read (no notice is shown).
- How the input mode is determined: it follows the heading in the input data. A "Measurement Data" heading is read as One column; a "No. / Value 1 …" heading is read as One subgroup per line. A file exported with "One subgroup per column" is restored as One subgroup per line (the results are the same). In a one-subgroup-per-line file, an empty cell in the middle of a subgroup causes an error that shows the line number.
- Required items: the measurement data, USL (Upper Spec Limit), and LSL (Lower Spec Limit). If the USL or LSL row is missing or its value is blank, nothing is imported and an error shows the names of the missing items (the same happens when you press "Calculate" with USL or LSL left blank on the screen). If the Target or Chart Title row is missing or its value cannot be read, the default (blank) is used and a notice is shown above the results. These rows can be deleted one at a time, several at once, or all together, and the file can still be imported (the names of the items that were not found are listed together in the notice). If the row is there but the value is blank, it is imported as blank (no notice).
- If you rename items: item names are written as "Japanese / English". Keeping only the Japanese or only the English part still works. Full-width and half-width parentheses, spaces, and slashes, and upper and lower case, are treated as the same. Rows can be reordered (keep the condition rows above the "Measurement Data" heading). An item name reworded in other ways is not recognized as that item. If the same item appears more than once, an error is shown. Rows with unknown names are skipped.
- Empty cells and non-numeric data: an empty cell in the measurement data is treated as the end of the data. If there is more data after an empty cell, or if there is non-numeric data (text, dates, etc.), an error shows the line numbers (up to 5 are listed).
出力したファイルを書き換えて読み込む:出力したファイルの「Input Data」シート(CSVでは、先頭から「計算結果 / Results」の行の手前まで)を書き換えてから読み込むと、書き換えた内容で計算し直します。例えば、測定データの追加・削除、USL・LSL・目標値・群の大きさの変更、グラフタイトルの変更ができます。
Editing an exported file before importing: you can edit the "Input Data" sheet of an exported file (in CSV, everything from the top down to just above the "計算結果 / Results" row) and then import it; the tool recalculates from the edited content. For example, you can add or delete measurement data, change USL, LSL, Target, or the subgroup size, or change the chart title.
- データを追加するときは、最後のデータのすぐ下に続けて入力してください。空の行を挟むとエラーになります。データを削除するときは、行ごと削除して詰めてください。
- データは10,000件までです。超えるとエラーになります。1行=1群のファイルで群を追加するときは、行を追加します(1行は100個までです)。
- 「Results」「Chart」シート(CSVでは「計算結果 / Results」から下の行)は、読み込みでは使いません。書き換えても反映されず、読み込んだあとに入力データから計算し直します。
- 項目名や見出し(「USL(上限規格値) / Upper Spec Limit」「測定データ / Measurement Data」など)は変えないでください。変えたときの扱いは、上の「項目名を書き換えたとき」をご覧ください。
- 出力したファイルをExcelで編集するときの注意:Excel出力(.xlsx)のファイルを開き、.xlsxのまま上書き保存することをおすすめします(値も名前も変わりません)。CSVをExcelで開いて保存し直すと、Excelが内容を書き換えることがあります。保存形式は「CSV UTF-8(コンマ区切り)」「CSV(コンマ区切り)」のどちらでも読み込めますが、次のように変わります。
- 数値は、画面に表示されている桁数で保存されます(例:10.123456789012344 → 10.12345679)。
- タイトル・名前・ラベル・項目名が、日付や数値に変わることがあります(例:「001」→「1」、「1-2」→「1月2日」、「3/4」→「3月4日」、「(1)」→「-1」)。
- 「CSV(コンマ区切り)」で保存すると、日本語の文字コード(Shift-JIS)で表せない文字(「é」「—」「½」、絵文字など)が「?」に置き換わります。「CSV UTF-8(コンマ区切り)」で保存すると、そのまま残ります。
- 「=」「+」「-」「@」で始まるタイトル・名前は、CSVでは先頭に「'」を付けて書き出されます。CSVのまま保存し直したときは読み込みで外れますが、CSVをExcelで開いて.xlsxで保存すると「'」が残ります。
- Excelで日付になる入力:Excelでセルに「1/1」「1-2」のように入力すると、Excelが日付に変えます(年を省くと、入力した年になります)。グラフタイトルにこうしたセルがあると、Excelファイル(.xlsx)では「2026-01-01」の形(時刻があるときは「2026-01-01 12:30」)で、ExcelからCSVで保存したファイルでは、Excelの画面の表示のまま(「1月1日」など)で読み込まれます。入力したとおりの文字にしたいときは、先頭に「'」を付けて「'1/1」のように入力してください(「'」は読み込まれません)。数値のデータの欄に日付のセルがあると、行番号を示すエラーになります。
- To add data, enter it directly below the last value. A blank row in between causes an error. To delete data, delete the whole rows so that no gaps remain.
- Up to 10,000 values can be imported; more causes an error. To add a subgroup to a one-subgroup-per-line file, add a row (up to 100 values per row).
- The "Results" and "Chart" sheets (in CSV, the rows from "計算結果 / Results" down) are not used for importing. Edits there are not reflected; the results are recalculated from the input data after importing.
- Do not change item names or headings (such as "USL(上限規格値) / Upper Spec Limit" or "測定データ / Measurement Data"). For what happens if you do, see "If you rename items" above.
- Notes on editing an exported file in Excel: we recommend opening the Excel export (.xlsx) and saving it as .xlsx again (values and names stay unchanged). If you open a CSV in Excel and save it again, Excel may rewrite its content. Files saved as either "CSV UTF-8 (Comma delimited)" or "CSV (Comma delimited)" can be imported, but they change as follows.
- Numbers are saved with the digits shown on screen (e.g. 10.123456789012344 → 10.12345679).
- Titles, names, labels, and item names may be turned into dates or numbers (e.g. "001" → "1", "1-2" → "1月2日" (Jan 2), "3/4" → "3月4日" (Mar 4), "(1)" → "-1").
- Saving as "CSV (Comma delimited)" replaces characters that cannot be represented in the Japanese encoding (Shift-JIS), such as "é", "—", "½", and emoji, with "?". Saving as "CSV UTF-8 (Comma delimited)" keeps them.
- A title or name starting with "=", "+", "-", or "@" is written in CSV with a leading "'". If you save the CSV again as CSV, the "'" is removed when importing; if you open the CSV in Excel and save it as .xlsx, the "'" stays.
- Entries that Excel turns into dates: when you type something like "1/1" or "1-2" into a cell, Excel changes it into a date (if you omit the year, the year when you typed it is used). If the chart title contains such a cell, it is imported in the form "2026-01-01" ("2026-01-01 12:30" if it has a time) from an Excel file (.xlsx), and as shown on the Excel screen (such as "1月1日") from a CSV saved in Excel. To keep exactly what you typed, put a "'" at the start, like "'1/1" (the "'" is not imported). A date cell in a numeric data column causes an error that shows the line number.
⑪ クリアボタン
⑪ Clear Buttons
- 測定データだけクリア:測定データ欄のみを空にします(USL/LSL/目標値/タイトルはそのまま)。
- 全体クリア:すべての入力内容をリセットします。
- Clear Data Only empties just the measurement data field (USL/LSL, target, and title are kept).
- Clear All resets every input.
⑫ データの取り扱いについて
⑫ Data Handling
入力・アップロードしたデータは、計算とグラフ作成のためにだけ処理され、サーバーに保存されません(通信はCloudflareを経由します。詳しくはプライバシーポリシーをご覧ください)。機密情報を含むデータは入力せず、品名・顧客名などは除くか記号に置き換えてご利用ください。
Data you enter or upload is processed only to perform calculations and create charts, and is not stored on the server (traffic passes through Cloudflare; see the Privacy Policy for details). Please do not enter confidential information; remove product or customer names or replace them with generic labels.