Preserve Two Decimal Places When Joining Numbers in Excel
Question details
Join two numeric cell values with a hyphen while displaying exactly two decimal places for each value.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to combine values from two cells into a single hyphen-separated result.
- Observed behavior
- Trailing zeros disappear when the numeric values are concatenated without applying a format in the formula.
Identify the two cells containing the numbers to join and choose an empty cell for the result. The example below uses D11 and E11.
Use TEXT to Format Each Number Before Joining
Use this formula when each joined value must display exactly two decimal places, including trailing zeros.
Click an empty cell where you want the joined values to appear.
Type =TEXT(D11,"0.00")&"-"&TEXT(E11,"0.00") in the cell or formula bar, replacing D11 and E11 with your own cell references.
Press Enter. To apply the formula to other rows, drag the fill handle down from the result cell.

Join Numbers with Two Decimal Places in WPS Spreadsheets
Use the same TEXT formula in WPS Spreadsheets to format each number before joining the values with a hyphen.
- 1. Open your workbook: Open WPS Spreadsheets and select File > Open to choose your workbook.
- 2. Select an empty cell: Click the cell where you want to display the joined values.
- 3. Enter the formula: Type =TEXT(D11,"0.00")&"-"&TEXT(E11,"0.00"), adjusting the cell references as needed.
- 4. Apply the formula: Press Enter, then drag the fill handle down if you need the formula in additional rows.

Frequently Asked Questions
Why do trailing zeros disappear when I concatenate cells?
Concatenation converts the underlying numeric values to text without necessarily retaining the cells' display formatting. Use TEXT(D11,"0.00") for each value to include two decimal places.
Will the formula round numbers with more than two decimal places?
Yes. The format "0.00" displays each number rounded to two decimal places, but it does not change the value in the source cell.
Can I use the joined result in a calculation?
The hyphen-separated result is text. For calculations, refer to the original numeric cells, such as D11 and E11, instead.
How do I use a different separator?
Replace the hyphen between the quotation marks in the formula. For example, use &" / "& to separate the formatted values with a slash.




