How to Use the Excel TEXT Function to Preserve Currency and Date Formatting
Question details
How to convert numbers and dates into properly formatted text when building sentences from various cell values.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Combining plain text with cell values containing dates or currency figures to create descriptive sentences.
- Observed behavior
- By default, spreadsheet formulas return the underlying raw values (like sequential serial numbers for dates or unformatted decimals) instead of the visible cell formatting, causing sentences to look incorrect.
Identify the exact format codes you wish to apply to your data, such as "$#,##0.00" for standard currency or "mmmm, dd, yyyy" for a spelled-out date. Ensure your raw numerical data and text strings are neatly organized in separate reference cells.
Use the TEXT Function with the Ampersand (&) Operator
This is the most direct and common method to seamlessly embed correctly formatted dates and currencies into your text strings.
The TEXT function allows you to force a specific number format on a value before it is combined with other text strings. The ampersand (&) acts as a joining operator to concatenate these distinct elements into a single cohesive sentence.
Select the cell where you want the final sentence to appear. Type the equals sign (=) followed by your first string of text enclosed in quotation marks (e.g., ="Tim paid Joe ").
Type an ampersand (&) to join the text, followed by the TEXT function for your currency cell. For example, enter &TEXT(B2, "$#,##0.00") to apply a standard two-decimal dollar format.
Add another ampersand and additional text, such as &" for the laptop on ". Finally, join the date cell by adding &TEXT(A2, "mmmm, dd, yyyy."). Press Enter to generate the correctly formatted sentence.

Use the CONCATENATE Function alongside DOLLAR and TEXT
An alternative method utilizing the traditional CONCATENATE function and the specialized DOLLAR function to achieve the same formatted result.
Easily Format and Combine Data with WPS Spreadsheet
WPS Spreadsheet fully supports the TEXT, CONCATENATE, and DOLLAR functions natively. You can effortlessly combine text and formatted numbers to create dynamic reports without worrying about formula errors or compatibility issues.
- 1. Open your spreadsheet: Launch WPS Spreadsheet and open the workbook containing your raw data.
- 2. Write the formula: Select your output cell and enter your formula using the & operator and TEXT function, such as ="Text "&TEXT(A1, "$0.00").
- 3. Verify your format codes: Ensure your date and currency codes strictly use standard formats like "mm/dd/yy" within the quotation marks.
- 4. Calculate the result: Press Enter to instantly merge your text and properly formatted numeric values into one cell.

Frequently Asked Questions
Why does my combined text show a random 5-digit number instead of a date?
Spreadsheet software stores dates as sequential serial numbers to calculate the days between them. When you concatenate a date cell with text without formatting it, the formula pulls the raw serial number. Using the TEXT function tells the program to convert that raw serial number back into a readable date format before displaying it.
Can I use the TEXT function to format percentages?
Yes. You can format a decimal value as a percentage by using the TEXT function with a percentage code. For example, TEXT(A1, "0.0%") will convert 0.75 into the text string "75.0%" within your concatenated sentence.
Does applying the TEXT function change my original data?
No, the TEXT function only changes the output format within the formula's result cell. Your original reference cells containing the raw numbers or dates remain completely unchanged and can still be used for other mathematical calculations.




