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

Data Analysis

  • How To Remove Duplicates In Excel Column Or Row?
  • Conditional Formatting Rules in Excel
  • Conditional Formatting Color Scales Examples in Excel
  • Reverse List in Excel
  • How to calculate average last N values in a table in Excel

References

  • How to create dynamic named range with OFFSET in Excel
  • How to use Excel VLOOKUP Function
  • Perform case-sensitive Lookup in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • Basic INDEX MATCH approximate in Excel

Data Validations

  • Excel Data validation date in specific year
  • Excel Data validation no punctuation
  • Excel Data validation must not contain
  • Excel Data validation unique values only
  • Excel Data validation must begin with

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

  • Return blank if in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • IF with boolean logic in Excel
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • AND function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Count dates in current month in Excel
  • Steps to create Dynamic calendar grid in Excel
  • How to get same date next year or previous year in Excel
  • How to calculate nth day of year in Excel
  • Get days, hours, and minutes between dates in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Group arbitrary text values in Excel
  • Running count group by n size in Excel
  • Map inputs to arbitrary values in Excel
  • Calculate conditional mode with criteria in Excel

General

  • Freeze and Unfreeze Panes in Excel
  • How to Delete Cells, Row and Rows in Excel
  • Share Excel data with Word documents
  • How to Create Calendar in Excel
  • How to get original number from percent change in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning