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

Data Analysis

  • Excel Frequency Function Example
  • Data Series in Excel
  • Number and Text Filters Examples in Excel
  • Subtotal function in Excel
  • How to do a t-Test in Excel?

References

  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • How to use Excel FORMULATEXT function
  • How to get last column number in range in Excel
  • How to get address of first cell in range in Excel
  • How to get address of named range in Excel

Data Validations

  • Excel Data validation exists in list
  • Excel Data validation must not contain
  • Data validation must not exist in list
  • Excel Data validation number multiple 100
  • Excel Data validation allow uppercase only

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

  • OR function Examples in Excel
  • How to use Excel XOR Function
  • How to use IFS function in Excel
  • IF with wildcards in Excel
  • Return blank if in Excel

Date Time

  • How to calculate nth day of week in month in Excel
  • How to calculate workdays per month in Excel
  • Get fiscal year from date in Excel
  • Get project midpoint in Excel
  • DATE function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Map inputs to arbitrary values in Excel
  • Group numbers with VLOOKUP in Excel
  • Categorize text with keywords in Excel
  • Group times into 3 hour buckets in Excel
  • Group numbers at uneven intervals in Excel

General

  • Hide and Unhide Columns or Rows in Excel
  • Subtotal by color in Excel
  • Split Cell Content Using Text to Columns in Excel
  • How to get Excel workbook path only
  • Customize Ribbon In Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning