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

マージ Excel ファイル Make

マージ Excel ファイル 複数の操作を組み合わせた自動化された操作です Excel 複数のワークブックのワークシートを一定の順序で結合し、すべてのソースファイルからの数式、書式設定、データを保持することで、単一の統合ファイルにまとめます。 PDF4me 重複するシート名の解決を自動的に処理し、XLSX、XLS、 PDF、 そして CSV 単一の出力 Make モジュール呼び出し。参照については、以下を参照してください。 Excel Microsoft Learn でサポートされているファイル形式 そして Open XML SDK のドキュメント。

このモジュールの機能

PDF4me Excelファイルの結合 複数のものを自動的に組み合わせる Excel ワークブックを単一の統合ファイルに Make Power Query、VBA、手動コピー&ペーストを使わずに、シナリオを完結できます。各ソースファイルをファイル配列に追加し、出力ワークブックのタブ順序を制御するために並べ替え位置を割り当て、各ファイルから含めるワークシートを選択し、出力形式を選択します。重複するワークシート名は自動的に解決されます。結合されたワークブックは、アップロード、メール送信、または後続のモジュールへの転送が可能な状態で返されます。

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

認証 API リクエスト​

毎 PDF4me モジュール Make 有効な 繋がり. 作成または選択して、 PDF4me API シナリオがワークブックのマージ要求を安全に認証できるようにするためのキー。

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

ソート位置は出力のタブ順序を制御します
ファイルは、ソート位置の昇順でマージされます。つまり、番号が最も小さいファイルが最初にマージされます。シナリオを実行するたびに、出力ワークブックのワークシートの順序が一貫して予測可能になるように、1月に1、2月に2、3月に3、または1に北、2に南を割り当ててください。
結合するワークシートは、含まれるタブを制限します
配列内の各ファイルについて、取り込むワークシート名を指定できます。フィールドを空欄にすると、そのファイル内のすべてのシートが含まれます。ソースブックに生データや中間計算シートが含まれている場合、「概要」や「データ」など、必要なタブのみを選択すると、出力ファイルのサイズを大幅に削減できます。
重複するシート名は自動的に解決されます
2つのソースブックの両方に「Summary」という名前のワークシートが含まれている場合、モジュールは2番目のワークシートを「Summary_1」、3番目のワークシートを「Summary_2」、といったように名前を変更します。マージを実行する前に、ソースファイルのタブの名前を事前に変更する必要はありません。
PDF4me Excelファイル結合モジュールで、出力ファイル名、出力形式をXLSXに設定し、ファイル名、ファイルの内容、並べ替え位置、結合するワークシートのフィールドを含むファイル配列項目を表示するようにします。

出力ファイル名と出力形式は、先頭で設定します。Files配列の各項目は、ソート位置とオプションのワークシートフィルターを指定したソースワークブックを1つ提供します。

パラメータ​

必須: モジュールを実行するには、接続情報、出力ファイル名、出力形式、およびファイル名とファイル内容を含むFiles配列内の少なくとも1つの項目を指定する必要があります。

パラメータ必須その機能例
ConnectionYesPDF4me API connection. Click Add and paste your API key if connecting for the first time.Your PDF4me connection
Output File NameYesName for the merged output file without any extension. The correct extension is added automatically based on the OutputFormat you select.Q1_Consolidated
OutputFormatYesFormat for the merged output. XLSX works with all modern Excel versions. XLS supports legacy systems. PDF creates a read-only archive. CSV exports the first worksheet only as plain comma-separated text.XLSX
Files: File NameYesOriginal filename including extension for each source workbook item in the Files array.january_sales.xlsx
Files: FileYesBase64-encoded content of the source Excel file. Map from a Google Drive, Dropbox, or SharePoint download module, or from an HTTP request that returns the file.Base64-encoded file content
Files: Sort PositionNoMerge order for this file: lower numbers are placed first in the output. Assign 1 to January, 2 to February, and so on.1
Files: Worksheets To MergeNoList of specific worksheet names to include from this file. Leave empty to include all sheets. Naming specific tabs reduces output file size.Summary, Data

出力​

分野タイプ内容物
documentString (Base64)The merged workbook encoded in Base64. Decode and pipe into a Google Drive upload, SharePoint save, email attachment, or any downstream module that accepts a file buffer.

マージする方法 Excel ファイル Make​

  1. 追加 PDF4me Excel → ファイルの結合 あなたの Make シナリオ。
  2. 選択 繋がり (またはクリック) 追加 あなたと一緒に作成する API 鍵)。
  3. 入力 出力ファイル名 (拡張子なし)を選択し、 出力形式。
  4. クリック アイテムを追加 下 ファイル各ソースワークブックについて、 ファイル名 そして ファイル 以前のダウンロードモジュールからの内容を設定し、 ソート位置、オプションでリスト 結合するワークシート。
  5. クリック 保存 そして走る。 書類 出力には、マージされたワークブックが含まれています。 Base64: アップロードモジュールにパイプして保存します Google Drive、 Dropbox、 または SharePoint。

Mergeはいつ使用すべきですか? Excel ファイル?​

Excelファイルの結合はどのような場合に使用すべきですか?Common Make scenario patterns using Merge Excel Files.
月次部門別報告書の統合
  1. 毎月1日の午前8時に、スケジュールされたトリガーが実行されます。
  2. Google Drive 各部門の月次ダウンロード Excel レポート。各ファイルは、部門ごとの順序を統一するために、ソート位置1~10のFiles配列内の項目としてマッピングされます。
  3. ファイル結合機能は、すべてのレポートを1つの統合ワークブックにまとめ、ワークシートのタブとして部門名を使用します。
  4. 統合されたXLSXファイルは、経営陣にアップロードされます。 Google Drive フォルダに保存し、経営陣にメールで送信しました。
四半期ごとのアーカイブは読み取り専用です PDF
  1. 四半期末の翌日に、予定されたトリガーが作動します。
  2. SharePoint 1月、2月、3月のダウンロード数 Excel ファイル。ソート位置1、2、3は時系列タブ順を強制します。
  3. マージファイルは、出力形式が次のように設定されている状態で実行されます。 PDF結合されたワークブックは、編集不可能な四半期ごとのスナップショットとしてアーカイブされます。
  4. の PDF コンプライアンスストレージに保存され、コンプライアンスインデックスシートにエントリが記録されます。
地域別売上集計(選択シート付き)
  1. 週次トリガーにより、地域別売上レポートが取得されます。 Dropbox5つの地域につき5つのファイル。
  2. 各ファイル項目は、結合するワークシートを「概要」と「データ」のみに設定し、生の計算タブを除外することで、出力をコンパクトに保ちます。
  3. ソート位置は、一貫した地域順序(北=1、南=2、東=3、西=4、中央=5)を割り当てます。
  4. 統合されたXLSXファイルは、毎週月曜日の朝に営業担当副社長にメールで送信されます。

よくある質問​

How many Excel files can I merge in a single module call?+
There is no enforced limit on the number of items in the Files array. Add one item per source workbook and assign each a Sort Position. The module processes all of them in a single API call, making it practical for consolidating 10, 20, or more monthly or regional reports in one scenario run.
What happens when two source workbooks have a worksheet with the same name?+
Duplicate worksheet names are resolved automatically. The module appends a numeric suffix to later occurrences: so if two workbooks both have a "Summary" tab, the second becomes "Summary_1", the third "Summary_2", and so on. You never need to pre-rename tabs in your source files.
Can I include only specific worksheets from each file?+
Yes. In each Files array item, list the exact worksheet names you want in the Worksheets To Merge field. Leave the field empty to include every sheet from that file. Selecting only the sheets you need: for example "Summary" and "Data" : significantly reduces the output file size when source workbooks contain raw or intermediate calculation tabs.
When should I choose PDF or CSV output instead of XLSX?+
Choose PDF when the merged workbook is for distribution or compliance archiving: it preserves the visual layout and cannot be accidentally edited. Choose CSV when the consolidated data needs to go directly into a database or another system that reads plain text. Note that CSV output contains only the first worksheet of the merged result.
Does the merged output preserve formulas and formatting from the source files?+
Yes. Worksheet content and cell formatting from each source file are preserved in the output. Formulas are included as-is when outputting to XLSX or XLS. If you need the merged file to contain only static values for a clean data handoff, consider passing the output through a subsequent Excel processing module before distribution.

関連モジュール​

ヘルプが必要な場合​