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

Data Analysis

  • How To Load Analysis ToolPak in Excel
  • How To Insert and Customize Sparklines in Excel
  • Error Bars in Excel
  • Managing Conditional Formatting Rules in Excel
  • Remove Duplicates Example in Excel

References

  • How to use Excel TRANSPOSE Function
  • How to get address of named range in Excel
  • How to calculate two-way lookup VLOOKUP in Excel Table
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Merge tables with VLOOKUP in Excel

Data Validations

  • Excel Data validation with conditional list
  • Excel Data validation allow uppercase only
  • Excel Data validation date in next 30 days
  • Excel Data validation exists in list
  • Excel Data validation require unique number

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.

Worked Example:   How to extract multiple lines from a cell in Excel

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.

Worked Example:   Normalize text by removing punctuations, extra spaces and more in Excel

Post navigation

Previous Post:

Remove leading and trailing spaces from text in one or more cells in Excel

Next Post:

Split dimensions into three parts in Excel

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

  • OR function Examples in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • How to return blank in place of #DIV/0! error in Excel
  • Check multiple cells are equal in Excel
  • Nested IF function example in Excel

Date Time

  • Create date range from two dates in Excel
  • Extract date from a date and time in Excel
  • Find Last Day of the Month in Excel
  • Get days before a date in Excel
  • Convert Excel time to decimal seconds

Grouping

  • Categorize text with keywords in Excel
  • How to randomly assign data to groups in Excel
  • Group times into unequal buckets in Excel
  • Calculate conditional mode with criteria in Excel
  • Group numbers at uneven intervals in Excel

General

  • 44 Practical Excel IF function Examples
  • How to add sequential row numbers to a set of data in Excel
  • How to create dynamic worksheet reference in Excel
  • Customize Ribbon In Excel
  • How to calculate percent sold in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning