Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Converting From Numbers to Text.
Written by Allen Wyatt (last updated September 12, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003
Jocelyn asked if there is a way to easily convert numbers to their text equivalent. For instance, to convert the numeric value 6789 to the text digits "6789."
There are multiple ways that you can approach this problem. One way is to simply specify to Excel that the cells should be treated as text. Display the Format Cells dialog box and then on the Number tab make sure that Text is selected. Any selected cells are then formatted as if they were text, and are moved to the left side of their cells (unless you have some other alignment format specified).
The applicability of this solution, however, depends on the version of Excel you are using. In some versions it will work as described here, but in others it may not. There is another thing you can try, however:
Figure 1. The Number tab of the Format Cells dialog box.
Another thing you can do is to use the TEXT worksheet function. Let's say you have the value 6789 in cell A7. In cell B7 you could place the following:
=TEXT(A1, "#,##0.00")
This usage of TEXT results in a text digits that have the thousands separator in the right place and two digits to the right of the decimal point, as in "6,789.00". You can specify, as the second parameter to TEXT, any formatting desired. If you want the number converted to text without any special formatting, you can use the following:
=TEXT(A1, "0")
The result is the textual equivalent of an integer value.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2680) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Converting From Numbers to Text.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Excel is continually trying to figure out what type of data is being stored in a cell. If it can interpret a value as a ...
Discover MoreThe error message "too many cell formats" can be difficult to fix. This tip describes ways you can attempt to get rid of ...
Discover MoreWhen dealing with files containing comma-separated values, you want to make sure that what gets imported into Excel ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2020-05-13 09:52:17
Steve Sanchez
TRYING TO MOVE EXCEL TABLE WITH DIFFERENT FONTS INTO iNDESIGN PAGE WITHOUT LOSING FONT SELECTIONS. YOUR THOUGHTS?
YOUR SITE CAN BE A REAL HELP FOR A CASUAL USER OF EXCEL...
STEVE
2018-11-13 18:27:34
KEVIN JOINER
I'm using the attached table. I'd like to be able to type in a number in each formatted cell and have it return the subsequent name associated with that number.
#1 (see Figure 1 below)
Figure 1. Sample provided
2018-09-13 13:21:25
Scott Glenn
I would like to stop the error from poping up next to boxes that I have formatted for text and have put numbers in. {{fig}]
(see Figure 1 below)
Figure 1.
2018-03-10 05:56:39
Rick Rothstein
If your numbers are all in a single column, then another option is to use "Text to Columns". Select the entire column, call up the "Text to Columns" dialog box ("Data" tab, "Data Tools" panel, "Text to Columns" button on the Ribbon), choose the "Fixed width" option, press the Next button twice, click the "Text" option button and press the "Finish" button. The benefit of this method is that only cells with numbers in them are converted to Text cells, blanks remain General).
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments