Skip to main content
  • Login
Cart
Exceljet logo Exceljet
  • Training
  • Videos
  • Functions
  • Formulas
  • Shortcuts
  • Articles
Cart
  • Login
  • Training
  • Videos
  • Functions
  • Formulas
  • Shortcuts
  • Articles
  • Login

You are here

Home › Videos › How to enter numbers as text in Excel

How to enter numbers as text in Excel

Transcript 

In this lesson, we'll look at how to enter numbers as text. The most common reason to enter numbers as text is to maintain formatting in things like part numbers, zip codes, credit card numbers, or telephone numbers.

Let's take a look.

First, let's look at the problem. Here's a list of numbers that need to be formatted as shown in column C. When we try to enter the values directly, we can see that Excel just strips off the leading zeros.

In the case of the part code, Excel actually interprets the code as a date.

The problem is that Excel is treating these values as numbers or dates. We need a way to tell Excel to treat this input as text.

There are two ways we can do this. The first way is to use a single apostrophe when entering the values. This tells Excel to treat the content as text.

Note that we can see the apostrophe in the formula bar when the cells are selected. However, the apostrophe is not visible in the worksheet.

The second way is to format cells as text before inputting values. This will cause Excel to treat all input to these cells as text.

Note that with this technique, the formula bar does not show an apostrophe.

With both of these approaches, you might see Excel flag the value as an error with a "Number stored as text" message. You can easily tell Excel to ignore this error.

 

Master Excel with practice. Download this worksheet (and dozens more) in our Core Excel course. Learn by doing.

Dave Bruns Profile Picture

Author

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.

Microsoft Most Valuable Professional Award  

Exceljet Training

  • Excel 101
  • Excel Fundamentals
  • Conditional Formatting
  • Essential Formulas
  • Advanced Formulas
  • Pivot Tables
  • Excel Tables
  • Excel Shortcuts
  • Excel Charts
  • Course Bundles
I just want you to know that ExcelJet has quite honestly changed my life...I now have my own business as a bookkeeper. Bookkeeping requires Excel on a DAILY basis to manipulate data & get it in and out of QuickBooks. I use conditional formatting, INDEXMATCH, VLOOKUP, IFS, everything I have learned from ExcelJet. The 2-3 minute courses are a dream ..... I could open up 5 and watch them and come back later. Plus you are all super organized & clear in how you teach Excel. Watching videos on YouTube piecemeal from many different instructors never worked for me. ExcelJet was the real deal!!
Ainsley
More Testimonials

Get Training

Quick, clean, and to the point training

Learn Excel with high quality video training. Our videos are quick, clean, and to the point, so you can learn Excel in less time, and easily review key topics when needed. Each video comes with its own practice worksheet.

View Paid Training & Bundles
Excel foundational video course
Excel Pivot Table video training course
Excel formulas and functions video training course
Excel Charts video training course
Video training for Excel Tables
Dynamic Array Formulas
Exceljet logo Exceljet
Quick, clean, and to the point

Resources

  • Training
  • Videos
  • Functions
  • Formulas
  • Shortcuts
  • Articles

About Us

  • About
  • Testimonials
  • Topics
  • Contact
  • Donate

Newsletter Sign-up

Work faster in Excel. Join more than 100,000 people who get weekly tips from us.
© 2012-2025 Exceljet. Terms of use
  • Visit our Twitter page