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

Data Analysis

  • How to sum a total in multiple Excel tables
  • How to create running total in an Excel Table
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • How To Create Frequency Distribution in Excel
  • Get column name from index in Excel Table

References

  • Lookup entire row in Excel
  • How to use Excel ROW Function
  • Merge tables with VLOOKUP in Excel
  • How to get first row number in range in Excel
  • How to use Excel VLOOKUP Function

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation don’t exceed total
  • Excel Data validation date in next 30 days
  • Excel Data validation must contain specific text
  • Prevent invalid data entering in specific cells

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

  • Not Equal To ‘<>‘ operator in Excel
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • IF, AND, OR and NOT Functions Examples in Excel
  • How to use Excel AND Function
  • IFS function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • EDATE function: Description, Usage, Syntax, Examples and Explanation
  • Get age from birthday in Excel
  • Get days, months, and years between dates in Excel
  • How to calculate Next working/business day in Excel
  • Convert date to text in Excel

Grouping

  • How to randomly assign people to groups in Excel
  • How to randomly assign data to groups in Excel
  • Group times into unequal buckets in Excel
  • Group times into 3 hour buckets in Excel
  • Calculate conditional mode with criteria in Excel

General

  • How to count total number of cells in a rectangular range in Excel
  • AutoRecover file that was never saved in Excel
  • Share Excel data with Word documents
  • Cell References: Relative, Absolute and Mixed Referencing Examples
  • 231 Keyboard Shortcut Keys In Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning