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 use text formatting in Excel

How to use text formatting in Excel

Transcript 

In this lesson we'll look at the Text format. It may seem strange to format numbers as text, but there are times when it makes sense. The Text format displays numbers exactly as they were entered.

Let's take a look.

In column B of our table we have a set of numbers that are displayed as we like, with both leading and trailing zeros.

As we've seen in an earlier lesson, if we try to enter these numbers in cells that are using the General format, the leading and trailing zeros will be stripped as the values are entered.

One solution to this problem is to first format cells in Text format.

Now we can enter the numbers in the format we'd like to see displayed, and Excel will display and store each number exactly as entered.

Note that Excel aligns values to the left. This indicates that Excel is treating these values as text.

You can, if you like, change the horizontal alignment.

You may see Excel flag cells with text entered in this way with a warning that says "Number Stored as Text." You can ignore these errors on a cell by cell basis.

Or, you can change your Error Checking options to disable this flag for all cells in the worksheet.

Another option for entering numbers as text is to start each number with an apostrophe. This tells Excel explicitly to treat the number as text, and there is no need to switch to Text format. You can leave the cell format set to General.

When displaying numbers in Text format, note that Excel may let you use the cell values in simple formulas, but not in common functions like SUM.

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
The best site I ever found on any programming/software topic on the Internet. Period! I can not find words to express my admiration for the clarity, precision and insight with which you put your site together. Thank you.
Mario
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