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

Data Analysis

  • How to Create Thermometer Chart in Excel
  • Randomize/ Shuffle List in Excel
  • Chart Axes in Excel
  • How to create dynamic reference table name in Excel
  • Understanding Pivot Tables in Excel

References

  • Two-column Lookup in Excel
  • How to get address of last cell in range in Excel
  • How to get address of named range in Excel
  • VLOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Multi-criteria lookup and transpose in Excel

Data Validations

  • Excel Data validation allow weekday only
  • Excel Data validation require unique number
  • Excel Data validation with conditional list
  • Excel Data validation allow uppercase only
  • Excel Data validation date in specific year

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

  • Excel If, Nested If, And/Or Criteria Examples
  • Not Equal To ‘<>‘ operator in Excel
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel AND Function
  • How to use Excel NOT Function

Date Time

  • WEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • SECOND function: Description, Usage, Syntax, Examples and Explanation
  • Count holidays between two dates in Excel
  • How to calculate working days left in month in Excel
  • DAY function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Categorize text with keywords in Excel
  • Group numbers with VLOOKUP in Excel
  • If cell contains one of many things in Excel
  • Group arbitrary text values in Excel
  • Map text to numbers in Excel

General

  • Automatically fill series of cells in Excel using AutoFill
  • How to Delete Cells, Row and Rows in Excel
  • Advanced Number Formats in Excel
  • How to password protect excel sheet?
  • Basic numeric sort formula in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning