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

Data Analysis

  • Add Outline to Data in Excel
  • Conditional Formatting Data bars Examples in Excel
  • How to Create One and Two Variable Data Tables in Excel
  • Everything about Charts in Excel
  • How To Remove Duplicates In Excel Column Or Row?

References

  • Find closest match in Excel
  • Lookup entire row in Excel
  • Two-way lookup with VLOOKUP in Excel
  • How to use Excel FORMULATEXT function
  • How to use Excel ROW Function

Data Validations

  • Excel Data validation with conditional list
  • Excel Data validation allow weekday only
  • Excel Data validation unique values only
  • Data validation must not exist in list
  • Excel Data validation don’t exceed total

Convert text to numbers using VALUE function in Excel

by

To convert simple text values to numbers, you can use the the VALUE function, or simply add zero as described below.

Formula

=VALUE(A1)

Explanation

In the example shown, the formula in C5 is:

=VALUE(B5)

Background

Sometimes Excel ends up with text in a cell, when you really want a number. There are many reasons this might happen, and many ways to fix. This article describes a formula-based approach convert text values to numbers.

How this formula works

In this example, the values in column A are “stored as text”. This means if you try to SUM column A, you’ll get a result of zero.

The VALUE function will try to “coerce” a number stored as text to a true number. In simple cases, it will just work and you’ll get a numeric result. If it doesn’t work, you’ll get a #VALUE error.  Visit Convert Text to Numbers to see other examples.

Add zero instead

Another common trick is to simply add zero to the text value to convert. This forces Excel to try and convert the text value to a number to handle the math operation. This has the same functionality as VALUE. Cell C7 uses this formula.

Stripping other characters

If a cell contains non-numeric characters like dashes, punctuation, and so on, you’ll need to apply more effort.

The formulas in C8 and C9 show how to use the LEFT and RIGHT functions to strip non-numeric characters from a value before it’s converted to a number. You can also use the MID function in more complicated situations.

If you need to strip extra spaces or other non-printing characters, see the TRIM and CLEAN functions.

Finally, the SUBSTITUTE function will let you strip other characters that appear in random locations inside a value.

Post navigation

Previous Post:

DECIMAL function: Description, Usage, Syntax, Examples and Explanation

Next Post:

AVERAGE function: Description, Usage, Syntax, Examples and Explanation

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 return blank in place of #DIV/0! error in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • Complete List of Excel Logical Functions, References and Examples
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • Excel If, Nested If, And/Or Criteria Examples

Date Time

  • How to calculate project start date based on end date in Excel
  • Convert Excel time to decimal minutes
  • DATEDIF function: Description, Usage, Syntax, Examples and Explanation
  • How to determine year is a leap year in Excel
  • Count holidays between two dates in Excel

Grouping

  • Group times into 3 hour buckets in Excel
  • How to randomly assign people to groups in Excel
  • Group arbitrary text values in Excel
  • Group numbers with VLOOKUP in Excel
  • Calculate conditional mode with criteria in Excel

General

  • Create dynamic workbook reference to another workbook in Excel
  • Excel Ribbon Quick Overview For Beginners
  • Lock Cells in a Worksheet Excel
  • Index and match on multiple columns in Excel
  • Creating and Opening an existing file in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning