メインコンテンツへスキップ

重複行をマージする Excel 使用 Zapier

行を結合する は Zapier アクション PDF4me 重複を統合する Excel 選択したキー列に基づいて行をグループ化します。顧客ごとに複数の注文行を結合したり、製品バリエーションを集計したり、カテゴリデータを自動的にロールアップしたりできます。キー以外の値はセミコロンで区切られて結合され、内部の重複は削除されます。その結果、手作業によるスプレッドシート作業なしで、クリーンで統合されたデータが得られます。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証方法 API リクエスト?​

アクセスするには PDF4me ウェブ API を通して Zapierすべてのリクエストには適切な認証情報を含める必要があります。認証により安全な通信が保証され、承認されたユーザーとしての身元が検証され、シームレスな統合が可能になります。 Zapier ワークフローと PDF4meの強力な Excel 行結合サービス。

PDF4me Excel 行結合 Zapier 設定 - ファイル、ファイル名、ワークシート番号 1,3、結合キー列 5、出力形式 XLSX
設定する Excel 行の結合アクション、ファイル入力、ワークシートの指定、結合キー、および出力形式。

見逃してはならない重要な事実​

必要なのはファイルのみです
スクリーンショットは、File がアスタリスクを持つ唯一のフィールドであることを示しています。 Zapier UIファイル名、ワークシート番号、結合キー列、出力形式はすべてオプションです。
これは Excelセル結合機能
このアクションは、重複する行をキー列の値でグループ化し、その他の値を統合しますが、隣接するセルを視覚的に結合するわけではありません。 Excelのネイティブのセル結合ボタンはそれを行います。
空のマージキー列は、完全に重複していることを意味します。
「結合キー列」を空白のままにすると、すべての列で同一の行のみが結合され、可能な限り狭い範囲でグループ化されます。

設定概要​

設定例 Zapier インターフェース

このスクリーンショットは、ワークシート1とワークシート3の行を結合する様子を示しています。結合キーとして列5を使用し、ファイルとファイル名は前の手順でマッピングされ、出力形式はXLSXに設定されています。

ファイル

add_header_sample_file.xlsx

ワークシート番号

1,3

キー列を結合する

5

出力形式

XLSX

パラメータ​

行の結合アクションのパラメーターの完全なリスト。パラメーター名は、 Zapier 構成 UI。

必須 Zapier UI: ファイルのみ。ファイル名、ワークシート番号、差し込みキー列、出力形式はすべてオプションです。ワークシート番号と列番号はどちらも1から始まるインデックスを使用します(1 = 最初のワークシート、1 = A列)。

パラメータ必須その機能例
FileRequiredExcel file content, mapped from a previous step using full file content.[2. File from Step 2]
File NameOptionalFilename with .xlsx or .xls extension, used for output naming.add_header_sample_file.xlsx
Worksheet NumbersOptionalComma-separated, 1-based worksheet numbers to process. 1 is the first worksheet.1,3
Merge Key ColumnsOptionalComma-separated, 1-based column numbers used to identify duplicate rows. Empty merges only exact duplicates across every column.5
Output FormatOptionalOutput file format: XLSX, XLS, XLSB, or CSV.XLSX

出力にはどのようなフィールドが含まれますか?​

このアクションは統合された Excel ファイルとトラッキングメタデータ。この出力形状は、行のマージ、行の追加、行の削除、およびその他の操作で共有されます。 PDF4me Excel ファイルを返すアクション。

分野タイプ内容物
jobIdTextID of the PDF4me job that processed the request.
traceIdTextTrace ID of the request, when PDF4me returns one. Give it to PDF4me support when reporting a problem.
documentIdTextID PDF4me gives the resulting document.
File NameTextName of the resulting file, without extension.
File ExtensionTextExtension of the resulting file, for example `.pdf`.
Full File NameTextName of the resulting file, with extension.
File UrlTextDownload link of the resulting file. Map it into any later step that needs the file, for example an upload to Google Drive, Dropbox or OneDrive.
Alternate File UrlTextAlternative download link of the resulting file, with the file name at the end of the URL.
File SizeNumberSize of the resulting file, as reported by PDF4me.

典型的な構成​

ワークフローの例Common Zapier workflow patterns using Merge Rows.
顧客ごとに複数の注文を統合する
  1. スケジュールされたトリガーによって、eコマースシステムからその日の注文データがエクスポートされます。
  2. 行の結合は、ワークシート番号を1、結合キー列をCustomerID列に設定して実行されるため、同じ顧客に対するすべての注文が、セミコロンで結合された注文詳細を含む1つの行になります。
  3. 統合されたファイルは、レビューのためにカスタマーサービス用のGoogleドライブフォルダにアップロードされます。
インポート時に完全に重複する行を削除する
  1. 新しいデータファイルがDropboxのインポートフォルダに届くと、Zapがトリガーされます。
  2. 「行の結合」は「結合キー列」を空欄のまま実行するため、すべての列で同一の行のみが結合され、標準的な重複削除と同等の結果となります。
  3. クリーンアップされたファイルは、下流システムで使用されるDropboxフォルダにアップロードされます。
商品データをカテゴリレベルまで集計する
  1. 週次トリガーは、以下の製品販売データを取得します。 SharePoint。
  2. 行の結合は、結合キー列がカテゴリ列とサブカテゴリ列に設定され、出力形式が設定されている状態で実行されます。 CSV各カテゴリ内のすべての製品を1行にまとめて、データベースにインポートします。
  3. 集計結果は、カテゴリー別の業績概要としてマーケティングチームにメールで送信されます。

実践的なヒント​

Map full file content, not a reference
If File shows "Exists but not shown", pick the mapping option that provides full file content, or the action returns a File Is Empty error.
Merge Key Columns controls the grouping granularity
A single key column groups broadly (all rows sharing that value), while multiple key columns require an exact match across all of them before rows are merged.
Non-key values are semicolon-joined, not summed
Numeric columns outside the key are combined as text with a semicolon separator, not added together. Do downstream math separately if you need totals.
Worksheet Numbers accepts multiple sheets at once
List several 1-based worksheet numbers, such as 1,3, to run the merge across more than one sheet in a single action call.
This is not Excel's Merge Cells feature
It groups and consolidates duplicate rows, it does not visually join adjacent cells the way Excel's built-in Merge Cells button does.

チートシート​

分野価値
ActionMerge Rows
File[mapped from previous step, full content]
File Nameadd_header_sample_file.xlsx
Worksheet Numbers1,3
Merge Key Columns5
Output FormatXLSX

よくある質問​

How do I merge duplicate rows in Excel automatically in Zapier?+
Add the PDF4me Merge Rows action to a Zap, map File with full file content, set Worksheet Numbers and Merge Key Columns to identify the grouping, choose an Output Format, and run the Zap. See Microsoft's guide to merging and unmerging cells for how Excel's own, different, cell-merge feature works by comparison.
What happens to the non-key column values when rows are merged?+
Values from non-key columns are combined into a single cell separated by semicolons, and duplicate values within that merged cell are removed automatically, so you get one clean, consolidated value instead of a comma pile-up.
What if I leave Merge Key Columns empty?+
With no key columns specified, the action only merges rows that are exact duplicates across every column, which is the narrowest possible match, equivalent to standard duplicate-row removal.
Can I merge rows across more than one worksheet in a single run?+
Yes. Worksheet Numbers accepts a comma-separated list such as 1,3, and the merge runs on each listed worksheet within the same action call.
Is this the same as Excel's Merge Cells feature?+
No. Excel's native Merge Cells visually joins adjacent cells into one, it does not combine data from duplicate rows. This action instead groups rows that share the same key column values and consolidates their other column values into one row per group. See Ablebits' guide on merging rows without losing data for the manual approach this action automates.

関連アクション​

他のプラットフォームでの同じタスク​

業界におけるユースケースとアプリケーション​

  • 顧客注文の統合顧客ごとに複数の注文行を結合して、すべての注文を表示する単一のレコードを作成します。
  • 製品SKUの集約: 親SKUごとに製品バリエーションを統合し、すべてのバリエーションをまとめてグループ化します。
  • アカウントロールアップアカウントIDごとにアカウントアクティビティ行をマージし、すべてのトランザクションを結合します。
  • 領土統合地域別のグループ販売データ(地域ごとの営業担当者の活動をすべて統合)
  • チャネル集約チャネル別(直販、パートナー、オンライン)に売上を集計し、チャネルごとの全製品を表示します。

ヘルプが必要な場合​