Skip to main content

Merge Rows in Excel - Data Consolidation for Zapier

PDF4me Merge Rows in Excel cleans up messy datasets by intelligently consolidating duplicate rows. Whether you have multiple customer orders that need combining, product variations to aggregate, or category data to group, this action identifies duplicates based on key columns and merges their values automatically. It combines non-key column data with semicolon-separated formatting while removing duplicate values within merged cells—so you get clean, consolidated data without manual processing. Perfect for organizing order data, cleaning up customer records, or preparing category-level summaries.

Authenticating Your API Request

To access the PDF4me Web API through Zapier, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Zapier workflows and PDF4me's powerful Excel row merging services.

Merge Rows Excel Zapier

Key Features

  • Intelligent Row Grouping: Group duplicate rows based on specified key columns
  • Value Consolidation: Merge values from non-key columns with "; " separator
  • Duplicate Detection: Automatically identify and consolidate duplicate records
  • Multiple Worksheet Support: Process multiple worksheets in single operation
  • Flexible Key Selection: Use specific columns as keys or all columns for exact duplicates
  • Multiple Output Formats: Save as XLSX, XLS, XLSB, or CSV

Parameters

Complete list of parameters for the Merge action. Configure these parameters to control row merging behavior.

Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly. Both worksheet and column numbers use 1-based indexing (1 = first worksheet, 1 = column A).

ParameterTypeDescriptionExample
File Name***StringExcel Document Name
• Filename with .xlsx or .xls extension
• Used for processing and output identification
• Supports dynamic naming from Zap variables
data.xlsx
Document***FileExcel File Content
• Map from previous step (Drive/Dropbox/HTTP)
• Binary Excel document for row merging
• Must be valid Excel format
[File]
Worksheet Numbers***StringComma-Separated Worksheet Numbers (1-based)
• List of worksheet numbers to process
• Format: "1,2,3" (1 = first worksheet)
• Required - at least one worksheet
• 1-based indexing
1,3,5
Merge Key ColumnsStringComma-Separated Key Column Numbers (1-based)
• Columns to use as merge keys (1 = A, 2 = B, etc.)
• Key columns identify duplicate rows
• Non-key columns get merged with "; " separator
Empty = all columns: Removes exact duplicates only
• Duplicate values automatically removed from merged results
• 1-based indexing
1,2
Output FormatStringOutput File Format
XLSX - Excel 2007+ (default)
XLS - Excel 97-2003
XLSB - Excel Binary (faster, smaller)
CSV - Comma-separated values
• Case-insensitive
XLSX

Output

The PDF4me Merge Rows in Excel action returns comprehensive output data for seamless Zapier workflow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
FileURLDirect URL to access the Excel with merged rows
File NameStringThe filename without extension
Full File NameStringComplete filename with .xlsx extension
File ExtensionStringFile extension (.xlsx, .xls, .xlsb, or .csv)

Scenario Examples

The PDF4me Merge Rows in Excel action in Zapier provides comprehensive scenario templates designed for real-world data consolidation needs:

Automated Customer Order Consolidation Workflow

Consolidate multiple order rows per customer into single customer records:

Complete Scenario Steps:

  1. Trigger: Daily order consolidation scheduled at midnight
  2. Get Order Export: Retrieve daily orders Excel from e-commerce system
  3. Merge by Customer: Set Worksheet Numbers = "1", Merge Key Columns = "1" (CustomerID column)
  4. Consolidate Orders: Non-key columns (OrderID, Product, Amount) merged with "; "
  5. Set Output Format: OutputFormat = "XLSX" for further processing
  6. Remove Duplicate Values: Automatic deduplication in merged cells
  7. Upload Consolidated: Save to Google Drive customer data folder
  8. Email Customer Service: Send consolidated view to customer service team
  9. Archive Source: Move original order export to archive folder
  10. Log Consolidation: Record consolidation event with row count reduction

Business Benefits:

  • Consolidates 1000+ order rows into 200 customer records daily
  • Customer service sees all orders per customer in single row
  • Reduces report row count by 80% improving readability
  • Eliminates manual customer order grouping saving 3 hours daily

Industry Use Cases & Applications

  • Customer Order Consolidation: Merge multiple order rows per customer into single record showing all orders
  • Product SKU Aggregation: Consolidate product variants by parent SKU grouping all variants together
  • Account Rollup: Merge account activity rows by account ID combining all transactions
  • Territory Consolidation: Group sales data by territory merging all rep activities per territory
  • Channel Aggregation: Consolidate sales by channel (direct, partner, online) showing all products per channel

Get Help