In this article:

How to Convert Numbers to Strings (2025 Guide)

April 21, 2025

A Brief Summary of Number Formats

The five main number formats in most spreadsheet tools are basic numbers, percentages, scientific notation, currency, and date and time. These options are usually found under the Format menu, typically within a Number section. You can also create custom formats if needed.

Built-in number formats

Using TO_TEXT() Function

The simplest way to convert numbers to strings is to use the TO_TEXT() function. It only requires you to point to the cell containing the number to be converted to string. It will preserve the formatting that you can see in that original cell. 

Number converted to string using TO_TEXT() function.

Using TEXT() Function: Date and Time

If you want more flexibility, you can use the TEXT() function. It requires you to point to the cell containing the number, and define how that number is converted to string. For our example above, if we want to rewrite the date 9/24/1978 into Sept 24, 1978, we define it as mmm dd, yyyy. So we write the formula as =TEXT(H2, “mmm dd, yyyy”) :

There are more ways to write date and time. You can check the options below:

Formats for Date

=TEXT(A3, "mmm. dd, yyyy")

Jun. 24, 1998

=TEXT(A3, "mmmm dd, yyyy")

June 24, 1998

=TEXT(A3, "dd mm yyyy")

24 06 1998

=TEXT(A3, "dd mm yy")

24 06 98

=TEXT(A3, "dd mmm yyyy")

24 Jun 1998

Formats for Time

=TEXT(A9,"hh:mm AM/PM")

02:55 PM

=TEXT(A9,"hh:mm")

14:55

For displaying currencies and percentages, we use the symbols # and 0. Both of them serve as number placeholders, but the symbol 0 adds a zero to the number if there are fewer digits than required in the number. If the format specifies less digits than included, then it will automatically be rounded off. Here's some examples:

Formats for Decimals

=TEXT(A13, "###.000")

275.665

=TEXT(A13, "###.0")

275.7

=TEXT(A13, "0000.000")

0275.665

=TEXT(A13, "###")

276

Formats for Percent

=TEXT(A18,"0.000%")

6.746%

=TEXT(A18,"0%")

7%

Format for Currency

=TEXT(A21,"$####.##")

$7259.25

Related Articles

How to Password Protect Your Spreadsheet (2025 Guide)
How to Insert a Date Picker in a Spreadsheet (2025 Guide)

Turn PDFs into spreadsheet tables with AI

Use Lido to extract data from contracts, invoices, financials, and more in seconds. Save time, reduce errors.
  • No credit card required
  • 20 free pages