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

Data Analysis

  • How to add Trendline to a chart in Excel
  • Understanding Anova in Excel
  • Conditional Formatting New Rule with Formulas in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • Chart Axes in Excel

References

  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • Vlookup Examples in Excel
  • How to use Excel TRANSPOSE Function
  • Extract all partial matches in Excel

Data Validations

  • Data validation must not exist in list
  • Excel Data validation unique values only
  • Excel Data validation must begin with
  • Excel Data validation number multiple 100
  • Excel Data validation must not contain

Replace one character with another in Excel

by

To replace or substitute all occurrences of one character with another character, you can use the SUBSTITUTE function.

Formula

=SUBSTITUTE(ref,old,new)

Explanation

In the example shown, the formula in C6 is:

=SUBSTITUTE(B6," ","-")

How this formula works

The SUBSTITUTE function is full automatic. All you need to do is supply “old text” and “new text”. SUBSTITUTE will replace every instance of the old text with the new text.

If you need to perform more than one replacement at the same time, you’ll need to nest multiple SUBSTITUTE functions. See the “clean telephone numbers” example linked below.

Post navigation

Next Post:

Create One-dimensional and Two-dimensional Array

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

  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • IF with wildcards in Excel
  • How to use Excel NOT Function
  • Complete List of Excel Logical Functions, References and Examples
  • How to use Excel AND Function

Date Time

  • Get fiscal quarter from date in Excel
  • Count holidays between two dates in Excel
  • Convert Unix time stamp to Excel date
  • How to calculate next scheduled event in Excel
  • EOMONTH function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Map text to numbers in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into unequal buckets in Excel
  • Group numbers at uneven intervals in Excel
  • Group times into 3 hour buckets in Excel

General

  • Basic error trapping example in Excel
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
  • Excel Autofill Cell Ranges, Copy, Paste
  • How to calculate project complete percentage in Excel
  • Create dynamic workbook reference to another workbook in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning