Excel Office

Excel How Tos, Tutorials, Tips & Tricks, Shortcuts

How to convert numbers to text using TEXT function in Excel

To convert numbers into text values, you can use the TEXT function.

Normally, you want to maintain numeric values in Excel, because they can be used in formulas with other numbers. However, there are situations where converting numbers to text makes sense. For example, you might want to perform a lookup on numbers using wildcards, which can’t be done with numeric values.

Worked Example:   Count dates in current month in Excel




In the example shown, the formula in C5 is:


How this formula works

The TEXT function accepts a number as the first argument, something called “format_text” as the second.  The format_text argument works like a number format, and specifies the formatting that should be used when converting the number to text. You can apply all the standard number formats that Excel provides, including dates, times, currency, and so on.

Worked Example:   Pad week numbers with zeros in Excel

In the example, we are converting the number to text with no special formatting, so we simply use “0”. The result is the number as a text string. Visit Convert Numbers to Text to see other examples.

Worked Example:   How to show last updated date stamp in Excel

Leave a Reply

Your email address will not be published. Required fields are marked *