記事一覧
Analytics

ExcelのHRデータ整形にClaudeとGeminiを使う5つのプロンプト

ATSの出力データを1列ずつ整形し、AIには読めない値を推測させずフラグ付けさせ、AIのラベルではなく元の日付で確認する方法。

  • Saves time
  • Consistent decisions

2026/10/30 · 6 分で読了

プロンプトは英語です。どのAIツールでも英語が最も精度高く機能するためです。

私たちが作った架空のデータでは、20件中6件の日付が2通りに読めました。「04/03/2025」は、テルアビブでは3月4日、シカゴでは4月3日です。ツールが黙ってどちらかに決めてしまうと、採用リードタイム(time-to-hire)のレポートで候補者の数字がずれます。

結論から: AIに「このスプレッドシートをきれいにして」と頼むのはやめましょう。整形したい列だけを行番号つきで貼り付け、何を統合してよいか、何は分けたままにするか、そして推測せずに NEEDS REVIEW と書くことを、短いプロンプトで指示します。私たちのテストでは、Claude Opus と Gemini 3.8 Flash はどちらも職種名と勤務地をすべて正しく統一し、あいまいな6件の日付もすべてフラグ付けしました。ただしGeminiは、そのうち2件に日/月の読み方のラベルを誤って付けていました。見るべきはラベルではなく、元の値です。

どの乱れにどのプロンプトを使うか

出力データで見かけるもの 使うもの
「Sr. SWE」「Senior Software Engineer」「Snr Software Eng.」 プロンプト1:職種名
「TLV」「Tel-Aviv」「Tel Aviv-Yafo」「remote」 プロンプト2:勤務地
同じ列に 2025-03-04、04/03/2025、45720、「4 Mar 2025」が混在 プロンプト3:日付
「Rejected」「Reject - withdrew」「No show」、空欄 プロンプト4:ステータス
プロンプト1〜4が終わった プロンプト5:件数チェック

ルールが矛盾しているとツールに指摘されたら、プロンプトを直して再実行してください。何も指摘されなくても、ルールに問題がないとは限りません(プロンプト2の下のボックスを参照)。

貼り付ける前に、その修正に不要な列(氏名、メールアドレス、備考)はすべて削除してください。職種名の列が、候補者の氏名と一緒に送られる理由はありません。

5つのプロンプト

プロンプト1、職種名。 同じ職種が5通りの表記になっているときに使います。どちらも「Software Engineer II」をSeniorと分けたまま維持し、「PM」が何を指すかは推測しませんでした。シニア職の呼び方は両者で異なったので、社内の標準職種名リストがあれば追加してください。

You are helping me clean a job title column from an applicant tracking system export.
Task: map every raw title below to one standard title.
Rules:
- Merge only titles that mean the same job at the same level. Spelling, abbreviations and case differences can merge.
- Never merge across levels (for example "II" and "Senior" stay different) or across different jobs that share words (for example "Product" and "Project").
- If a raw title is too vague or could mean two jobs, do not guess. Put "NEEDS REVIEW" and say why.
- Do not invent titles that are not in the data.
Format: a table with columns: row | raw title | standard title | changed? (yes/no) | note. Then a short list of the standard titles you used.
Data (row, job_title):
[paste]

プロンプト2、勤務地。 都市名の表記がいくつもあるときに使います。

You are helping me clean a location column from an applicant tracking system export.
Task: map every raw location below to one standard form: "City, Country" or "Remote, Country".
Rules:
- Default country: [your country]. Add it to any value that names a city in [your country].
- Merge spelling variants, abbreviations, hyphens, case and extra spaces of the same place.
- Keep a neighborhood or district under its city only if you are sure it belongs to that city.
- If a value names no place at all (for example only "remote"), or could be two places, do not guess. Put "NEEDS REVIEW" and say why.
- Do not invent places that are not in the data.
Format: a table with columns: row | raw location | standard location | changed? (yes/no) | note.
Data (row, location):
[paste]

あやうく載せるところだった一文。 最初の草稿には「イスラエルとみなす」とあり、その2行あとに「国が欠けている値はフラグ付けする」とありました。Claudeはこの矛盾を指摘しました。文字どおりに従うと、20行中18行にフラグが付いてしまいます。Geminiは黙ってどちらか一方の解釈を選びました。上のバージョンはケースごとにルールを1つにしてあり、どちらのツールも問題なく実行できました。

プロンプト3、日付。 複数のシステムからのデータを統合したファイルに使います。

You are helping me clean an application date column from an applicant tracking system export. The file was merged from more than one old system, so the date formats are mixed.
Task: convert every raw date below to ISO format (YYYY-MM-DD).
Rules:
- A 5-digit number is an Excel serial date. Convert it and show the date.
- When day and month could be swapped (both numbers are 12 or less) and nothing in the value itself tells you which is which, do not guess. Put "AMBIGUOUS" and give both possible dates.
- Do not assume one convention for the whole file. Look at each value on its own.
- Do not change any value you cannot read. Put "NEEDS REVIEW".
Format: a table with columns: row | raw date | ISO date | note. Then one line: how many dates you converted, how many are ambiguous, how many need review.
Data (row, applied_date):
[paste]

どちらのツールも、Excelのシリアル値を含む読める14件の日付を変換し、同じ6件にフラグを付けました。スクリプトで「could be X (DD/MM)」というメモをすべて検証したところ、Claudeはすべて正解でした。Geminiは「04/03/2025」と「03/04/2025」のメモで読み方が入れ替わっており、そのメモを見て「DD/MM」を選ぶと日付を取り違えます。注意点:比較したのは上位のClaudeモデルと軽量のGeminiモデルで、各ブランド全体の優劣ではありません。

あいまいな日付:読み方のラベルは正しいか
Claude OpusClaude Opus, run 1: ラベルが正しいClaude Opus, run 2: ラベルが正しいClaude Opus, run 3: ラベルが正しいClaude Opus, run 4: ラベルが正しいClaude Opus, run 5: ラベルが正しいClaude Opus, run 6: ラベルが正しい6 of 6Gemini 3.8 FlashGemini 3.8 Flash, run 1: ラベルが正しいGemini 3.8 Flash, run 2: ラベルが正しいGemini 3.8 Flash, run 3: ラベルが正しいGemini 3.8 Flash, run 4: ラベルが正しいGemini 3.8 Flash, run 5: ラベルが逆Gemini 3.8 Flash, run 6: ラベルが逆4 of 6ラベルが正しいラベルが逆

Source: 当社のテスト、架空の20行、スクリプトで検証

Show the data
ラベルが正しいTotal
Claude Opus66
Gemini 3.8 Flash46

プロンプト4、ステータス。 ステータス列にもう1つ別の情報が隠れているときに使います。架空の20行で、どちらもステータスと理由の食い違い3件をすべて見つけました。Geminiは「Reject - withdrew」を黙って Withdrew に分類しましたが、Claudeはフラグ付けしました。

Map each raw status below to one of these: [your list, for example Applied, Screening, Interview, Offer, Hired, Rejected by us, Withdrew].
If the raw status and the reason text disagree (for example status "Rejected" but reason "candidate withdrew"), put "NEEDS REVIEW" and write the row number in a list called CONFLICTS.
If a status fits none of the list, put "NEEDS REVIEW". Never leave a row out.
Format: row | raw status | standard status | note.
[paste row, status, reason]

プロンプト5、件数チェック。 各工程のあとに使います。1行が欠け、1行が重複していて、合計は20のままという結果を両方に渡したところ、どちらも該当の2行を特定できました。それでもフラグの数はCOUNTIFで自分で数えてください。Claudeはプロンプト4のまとめで9件と書きながら、一覧には8件しか挙げていませんでした。

Here are the column before and after cleaning. List: how many rows went in, how many came out, every row number that is missing or duplicated, and every row marked NEEDS REVIEW or AMBIGUOUS. Do not fix anything. Only report.
BEFORE: [paste]
AFTER: [paste]

きれいに見えるシートでも誤りが残るとき

フラグは失敗ではなく、やるべき作業です。あいまいな6件の日付は、どのシステムが書いたものかを知っている人に確認してもらう必要があります。また、整形後の職種名で人に関する判断を下してはいけません。誤って統合された「Analyst」のせいで、候補者が検索結果から静かに消えることがあります。

次のステップ: 列の整形が終わったら、乱れたATSデータでの比較テストの質問を試すか、週次の採用パイプラインレポートにまとめてみてください。

This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.

続きを読む