Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Add Outline to Data in Excel
  • Understanding Pivot Tables in Excel
  • How to create Checklist in Excel
  • Filter Data Based on Date in Excel
  • How to Create Area Chart in Excel

References

  • Two-column Lookup in Excel
  • How to retrieve first match between two ranges in Excel
  • CHOOSE function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel TRANSPOSE Function
  • Extract data with helper column in Excel

Data Validations

  • Excel Data validation date in next 30 days
  • Excel Data validation must not contain
  • Excel Data validation number multiple 100
  • Excel Data validation no punctuation
  • Excel Data validation require unique number

SUBSTITUTE function vs REPLACE function in Excel

by

This example shows the difference between the SUBSTITUTE function and the REPLACE function.

1a. If you know the text to be replaced, use the SUBSTITUTE function.

1b. The SUBSTITUTE function has a 4th optional argument. You can use this argument to indicate which occurrence you want to substitute.

2. If you know the position of the text to be replaced, use the REPLACE function.

Note: started at position 1 with length 3.

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Invoice status with nested if in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • IF with boolean logic in Excel
  • Excel If, Nested If, And/Or Criteria Examples
  • How to use Excel NOT Function

Date Time

  • Get days, hours, and minutes between dates in Excel
  • DAYS360 function: Description, Usage, Syntax, Examples and Explanation
  • DATEDIF function: Description, Usage, Syntax, Examples and Explanation
  • ISOWEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • EDATE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • If cell contains one of many things in Excel
  • Running count group by n size in Excel
  • Group arbitrary text values in Excel
  • How to randomly assign data to groups in Excel
  • Group numbers with VLOOKUP in Excel

General

  • Delete Blank Rows at Once in Excel
  • Hide and Unhide Columns or Rows in Excel
  • How to calculate profit margin percentage in Excel
  • Check if multiple cells have same value in Excel
  • How to calculate percent variance in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning