Skip to main content

Replace Text in Excel - Search & Replace for Make

PDF4me Replace Text in Excel module enables comprehensive search and replace operations in Excel documents within Make scenarios with optional formatting application. This powerful text manipulation service supports literal text replacement and regular expressions (regex), with case-sensitive matching options, entire cell or partial matching, multiple replacement phrases in single operation, and optional formatting changes (font, color, size, bold, italic, underline, strikethrough, subscript, superscript)—perfect for data standardization, content updates, error correction, automated text transformation, and bulk find-replace operations across all worksheets in cloud storage platforms and business applications.

Authenticating Your API Request

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

Replace Text Excel Make

Key Features

  • Literal & Regex Support: Replace text using simple text matching or powerful regular expressions
  • Case-Sensitive Option: Control case sensitivity for precise or flexible matching
  • Entire Cell Matching: Match partial text or require entire cell match
  • Multiple Replacements: Process multiple search-replace operations in single module
  • Optional Formatting: Apply font, color, size, and style changes to replaced text
  • All Worksheets Processing: Automatically processes all worksheets in workbook

Parameters

Complete list of parameters for the Replace Text in Excel module. Configure these parameters to control text replacement behavior.

Important: Parameters marked with an asterisk (***) are required and must be provided for the module to function correctly. This module processes all worksheets in the Excel file.

ParameterTypeDescriptionExample
File Name***StringExcel Document Name
• Filename with .xlsx or .xls extension
• Used for processing and output file identification
• Supports dynamic naming from scenario variables
• Required for replacement operation
data.xlsx
Document***BufferExcel File Content
• Map from previous module (Drive/Dropbox/HTTP)
• Binary Excel document for text replacement
• Must be valid Excel format
• All worksheets will be processed
[Buffer]
Phrases***ArrayList of Replacement Operations
• Array of ReplacementPhrase objects with properties:
SearchText* (String) - Text or regex pattern to find
ReplacementText* (String) - Replacement text (empty = delete)
IsExpression (Boolean) - true = regex, false = literal (default: false)
CaseSensitive (Boolean) - true = case-sensitive (default: false)
MatchEntireCell (Boolean) - true = entire cell, false = partial (default: false)
Formatting (Object) - Optional: FontName, FontColor, FontSize, Bold/Italic (Apply/Remove/Inherit), UnderlineType, StrikethroughType, ScriptType (Subscript/Superscript)
• Must contain at least one phrase
• Processed sequentially in array order
• Regex supports capture groups ($1, $2) in replacement
[{"SearchText":"old","ReplacementText":"new"}]

Output

The PDF4me Replace Text in Excel module returns comprehensive output data for seamless Make scenario integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
NameStringOutput Excel filename
Doc DataBufferExcel document with text replaced

Scenario Examples

The PDF4me Replace Text in Excel module in Make provides comprehensive scenario templates designed for real-world text replacement needs:

Automated Data Entry Error Correction Workflow

Fix common data entry errors across all worksheets automatically:

Complete Scenario Steps:

  1. Trigger: Weekly data quality cleanup scheduled every Friday at 6 PM
  2. Get Master Data: Retrieve data workbook from Google Drive
  3. Build Replacement Array: Create multiple phrase objects for common errors
  4. Fix State Abbreviations: SearchText = "California", ReplacementText = "CA"
  5. Fix Product Names: SearchText = "Widget Type A", ReplacementText = "Widget-A"
  6. Set Case Insensitive: CaseSensitive = false for flexible matching
  7. Process All Worksheets: Module automatically processes all sheets
  8. Upload Cleaned Data: Save standardized workbook to Google Drive
  9. Email Data Team: Send data quality cleanup report
  10. Log Corrections: Record replacement count and types in quality log

Business Benefits:

  • Standardizes 500+ inconsistent entries weekly automatically
  • Multiple replacements in single operation improves efficiency
  • Processes all worksheets ensuring complete standardization
  • Eliminates manual find-replace sessions saving 3 hours weekly

Industry Use Cases & Applications

  • Address Standardization: Replace state names with abbreviations (California → CA) across customer databases
  • Phone Format Normalization: Use regex to standardize phone numbers to consistent (555) 123-4567 format
  • Product Code Updates: Replace deprecated product codes with new SKU format across inventory sheets
  • Data Entry Error Fixes: Correct common typos and misspellings (recieve → receive) in bulk
  • Unit Standardization: Replace various unit representations (lbs, pounds, lb) with standard "lbs"

Get Help