=TEXT(value, format_text)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
Need more than a single TEXT formula? Try our free AI for Excel — it reads your entire spreadsheet, answers questions in plain English, and builds charts and analysis in the same chat.
value:
The numeric value, text, or date that you want to convert to text format.
format_text:
The format that you want to apply to the value. This can include specific formatting codes for numbers, dates, or text.
The TEXT function in Excel is a versatile tool that allows you to convert a numeric value into text in a specified format. This function is particularly useful when you want to display numbers in a more readable or meaningful way, such as formatting dates, currency, or percentages.
In simpler terms, the TEXT function helps you present numerical data as text, making it easier to customize how the information appears in your spreadsheets.
Imagine you are preparing a financial report for a small business, and you have the following data in an Excel spreadsheet:
| Date | Sales Amount | Currency |
|---|---|---|
| 2023-01-01 | 200 | USD |
| 2023-01-02 | 150 | USD |
| 2023-01-03 | 300 | USD |
| 2023-01-04 | 250 | USD |
| 2023-01-05 | 100 | USD |
You want to display the sales amounts as currency formatted text.
To convert the sales amounts into a currency format, you would use the TEXT formula as follows:
=TEXT(B2, "$#,##0.00")When you apply the formula to the sales amounts, it converts them into a currency format. The output would be:
| Sales Amount (Formatted) |
|---|
| $200.00 |
| $150.00 |
| $300.00 |
| $250.00 |
| $100.00 |
Here, each sales amount is displayed as a formatted currency string.
The TEXT function is particularly useful when you need to present numerical data in a specific format for reports, invoices, or any other documentation where appearance matters. It allows you to customize how numbers are displayed without altering the underlying data.
Understanding how to use the TEXT function can significantly enhance your ability to present data effectively in Excel, ensuring that your reports are both informative and visually appealing.
Happy formatting!
You have a table where Column A contains dates in a standard format (e.g., MM/DD/YYYY) and you want to display these dates in a more readable format (e.g., "January 1, 2023"). You can use the TEXT function to convert the date format, allowing for clearer presentation in reports and enhancing the readability of your data without needing to manually reformat each date.
Beyond the TEXT function: Better Analyst is a full Excel AI that goes well past individual formulas. Upload any spreadsheet and ask questions in plain English — you'll get formulas, data analysis, and charts back in seconds. It's a free AI Excel assistant that works with any .xlsx, .xls, or .csv file — no plugins, no Microsoft 365 required.
Don't have a spreadsheet yet? Use our free AI spreadsheet generator to turn a text prompt into a downloadable Excel file — a full AI Excel sheet maker that builds headers, columns, and formulas from your description.
Create a free account for formula help, explanations, and spreadsheet analysis. Usage limits depend on your plan.
Browse our complete library of Excel formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.