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

Data Analysis

  • How to Create Area Chart in Excel
  • Move chart to a separate worksheet in Excel
  • How to add Trendline to a chart in Excel
  • Number and Text Filters Examples in Excel
  • Conditional Formatting Color Scales Examples in Excel

References

  • How to get first row number in range in Excel
  • How to use Excel OFFSET function
  • How to use Excel ROW Function
  • Two-column Lookup in Excel
  • Vlookup Examples in Excel

Data Validations

  • Excel Data validation must contain specific text
  • Excel Data validation exists in list
  • Excel Data validation require unique number
  • Excel Data validation must begin with
  • Excel Data validation whole percentage only

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

  • IF with boolean logic in Excel
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel OR Function
  • How to use Excel NOT Function
  • IF function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get month name from date in Excel
  • Display Days until expiration date in Excel
  • How to calculate next anniversary date or birthday in Excel
  • How to get year from date in Excel
  • Count dates in current month in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • Running count group by n size in Excel
  • Group arbitrary text values in Excel
  • Group numbers at uneven intervals in Excel
  • Categorize text with keywords in Excel

General

  • How to make excel worksheets print on one page?
  • List worksheet index numbers in Excel
  • How to Delete Cells, Row and Rows in Excel
  • Count cells that do not contain many strings in Excel
  • How to add sequential row numbers to a set of data in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning