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

Data Analysis

  • How to Sort by Color in Excel
  • How to do a t-Test in Excel?
  • How To Perform and Interpret Regression Analysis in Excel
  • Move chart to a separate worksheet in Excel
  • Get column index in Excel Table

References

  • Extract data with helper column in Excel
  • How to get relative column numbers in a range in Excel
  • Vlookup Examples in Excel
  • How to create dynamic named range with OFFSET in Excel
  • Count rows that contain specific values in Excel

Data Validations

  • Excel Data validation must contain specific text
  • Excel Data validation number multiple 100
  • Excel Data validation allow weekday only
  • Excel Data validation whole percentage only
  • Excel Data validation specific characters 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

  • SWITCH function example in Excel
  • Excel If, Nested If, And/Or Criteria Examples
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel

Date Time

  • Convert decimal minutes to Excel time
  • How to get year from date in Excel
  • Next biweekly payday from date in Excel
  • How to get same date next year or previous year in Excel
  • Pad week numbers with zeros in Excel

Grouping

  • Map inputs to arbitrary values in Excel
  • Calculate conditional mode with criteria in Excel
  • How to randomly assign people to groups in Excel
  • Group numbers with VLOOKUP in Excel
  • Group arbitrary text values in Excel

General

  • How to generate random times at specific intervals in Excel
  • How to make excel worksheets print on one page?
  • How to create dynamic named range with INDEX in Excel
  • Mark Workbook as Final in Excel
  • Find Most Frequently Occurring Word in Excel Worksheet
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning