Inside The Web
    Facebook Twitter Instagram
    Inside The Web
    • Office
      • Excel
      • Ms Word
      • OneDrive
      • Google Docs
      • Google Sheets
      • Google Drive
    • Email
      • Gmail
      • Outlook
      • Emal Etiquette
    • Office Etiquette
    • Productivity
    Inside The Web
    Home»Office»Excel»How to Convert Numbers to Text in Excel

    How to Convert Numbers to Text in Excel

    Asmi DhakalBy Asmi DhakalNovember 26, 2023 Excel 4 Mins Read

    Mathematically, leading zeros count as insignificant numbers. Excel, by default, gets rid of them when your cell is formatted as General or Number.

    These numbers, however, do hold value in data like:

    • Social Security Number
    • Postal Code
    • Student/Employee ID Number
    • Phone Number

    In such instances, you will need to convert these serial numbers to text in Excel.

    You can utilize numerous cell formatting features for such conversion in Excel. Additionally, if all your numbers follow a specific format, use the TEXT function to arrange your numbers in that format.

    Enter an Apostrophe Before the Number

    When you enter an apostrophe before a value, Excel treats the data as text. While this method is best for when you’re just beginning to enter your data, there is a cheat code to use the method after data entry.

    Enter only an apostrophe on an empty cell in your sheet. Once you hit enter, the symbol will seem like it disappeared, but fret not—it’s still there!

    DataTable in Excel

    We will use the CONCAT function to combine the apostrophe with our numbers.

    According to the sheet below, here’s the formula we used to enter an apostrophe before the numbers:

    =CONCAT($F$2,E2)
    CONCAT number with apostrophe
    Note: Convert the formula to value before deleting the source data. Select the range, use Ctrl+C then enter Ctrl+Shift+V.

    From the Home Tab

    You can change the data type of your cell/range from the Number section in the Home tab. Begin by selecting your cell or range, then follow these steps:

    1. Select range C2:C11 then, go to Home.
      Select range
    2. Click on the fly-out in the Number section.
    3. Choose Text.
      Convert to Text Home

    If your values get pushed to the left, they’ve been converted to Text.

    Number-converted-to-Text

    Use Format Cells Window

    Excel offers a number of different formats to transform your values into. Even if your cell holds a number value, use the Format Cells utility to treat the stored value as text.

    1. Select your range E2:E11.
      Select Cell Range
    2. On your keyboard, use Ctrl+1 to open Format cells.
    3. Switch to Text.
      Format Cells Window
    4. Click OK.
      Format Number as Text Excel

    Use the TEXT Function

    The TEXT function in Excel allows you to convert values according to a set format. Using TEXT, format your number to add leading or trailing zeros, decimal points, or any additional characters.

    Here’s the syntax TEXT uses in a formula:

    =TEXT(value,format)

    Arrange your numbers in whichever format you please with the TEXT function. Here are some of the examples using TEXT function:

    FormatNumberFormulaResult
    0000123=TEXT(B2,A2)0123
    00.00291=TEXT(B3,A3)291.00
    00-00-000 1975=TEXT(B4,A4)00-01-975 
    AZ-00-0006943=TEXT(B5,A5)AZ-06-943
    Use TEXT function to convert number to text

    Via Text to Columns

    While Text to Columns is a dedicated tool to separate text from a cell into different columns, you can also use it to transform data types.

    1. Select range B2:B11.
      Select Range Excel
    2. Go to the Data tab.
    3. From the Data Tools section, click on Text to Columns.
      Text to Columns
    4. Select Next > Next.
    5. In Step 3 of 3 of Text to Columns Wizard, select Text under Column data format.
    6. Specify a Destination. Make sure it’s different from the source data.
      Convert Text to Columns Wizard
    7. Select Finish.

    Here’s how the final data looks like in range D2:D11

    Final data

    Transform Data in Power Query

    Power Query is a powerful automation utility in Excel. If you need to convert multiple columns of numbers to text, using Power Query will be the fastest approach.

    1. Select your data table.
    2. Head to the Data tab.
    3. From the Get and Transform section, select From Table/Range.
      Get data from table or range
    4. If prompted, click OK on the Create Table window.
      Create Table pop up
    5. From the Power Query Editor, go to Transform.
    6. To select all columns, select the header of your first column, hold down on the Shift key then click on the header of the last column.
    7. Select the fly-out next to Data Type in the Any Column section.
      Change data type to text
    8. Choose Text.
    9. Click on Replace current.
      Replace Current data power query
    10. From the Home tab, click Close and Load.
      Close and Load Power Query
    Cell Formats
    Asmi Dhakal

      Asmi is a content writer specializing in MS Office. She loves writing Excel-related content to assist other users to learn their way around the program. She started using Excel when she first entered the industry as a marketing intern. Soon, she realized that learning the often-overlooked spreadsheet program was no piece of cake. In her articles, she attempts to brief out complex topics to help beginner to intermediate-level Excel users. Asmi uses Excel for everything, including creating a grocery list to managing her personal finance. She’s a bit dramatic when it comes to the Flash Fill feature; so much so that could write a eulogy out of it. When she’s not working, you’ll find her learning a new recipe, or cleaning up her mess (out of the failed recipe).

      Related Posts

      Excel By Nisha Gurung

      How to Compare Two Columns in Excel Using VLOOKUP

      Excel By Nisha Gurung

      How to Share Excel Files with Multiple Users

      Excel By Nisha Gurung

      How to Filter Based on a List in Excel

      Add A Comment
      Table of ContentsToggle Table of ContentToggle
      • Enter an Apostrophe Before the Number
      • From the Home Tab
      • Use Format Cells Window
      • Use the TEXT Function
      • Via Text to Columns
      • Transform Data in Power Query
      • Home
      • About Us
      • Privacy Policy
      © 2025 Inside The Web

      Type above and press Enter to search. Press Esc to cancel.