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

Data Analysis

  • How To Sort One Column or Multiple Columns in Excel
  • How to Create Gantt Chart in Excel
  • Everything about Charts in Excel
  • How to create Gauge Chart in Excel
  • Excel Bar Chart

References

  • How to use Excel ROWS Function
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • Excel Advanced Lookup using Index and Match Functions
  • Perform case-sensitive Lookup in Excel
  • How to get relative column numbers in a range in Excel

Data Validations

  • Excel Data validation number multiple 100
  • Excel Data validation must not contain
  • Excel Data validation whole percentage only
  • Excel Data validation specific characters only
  • Excel Data validation date in next 30 days

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

  • How to use Excel NOT Function
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • How to use Excel TRUE Function
  • IFS function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get week number from date in Excel
  • Basic Overtime Calculation Formula in Excel
  • Add workdays to date custom weekends in Excel
  • Convert Excel time to decimal hours in Excel
  • Get project midpoint in Excel

Grouping

  • Group times into unequal buckets in Excel
  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel
  • Running count group by n size in Excel
  • How to randomly assign data to groups in Excel

General

  • Index and match on multiple columns in Excel
  • How to set or clear a print area in Excel Worksheet
  • How to generate random number weighted probability in Excel
  • Print Excel Sheet In Landscape Or Portrait
  • Find Most Frequently Occurring Word in Excel Worksheet
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning