Fix Decimal Numbers Sorting as Text in Excel
Question details
The user needs to sort decimal values numerically after they were imported or entered as text in Excel.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A column contains decimal values such as 85.280 and 343.470 that need to be sorted by numeric value.
- Observed behavior
- The values sort in an unexpected order, potentially because Excel treats them as text or interprets their separators incorrectly.
Identify the decimal and thousands separators used in the source data. In a blank cell, enter =ISNUMBER(A1), replacing A1 with a value from the affected column; FALSE indicates that the value is not stored as a number.
Convert the column to numbers with Text to Columns
Use this method when imported or entered decimal values are stored as text.
Select the affected column or the cells containing the decimal values.
Choose Data > Text to Columns. Select Delimited and click Next twice to reach the column format settings.
Select General, then click Advanced. Set the decimal and thousands separators to match the source data; for example, use a period as the decimal separator for 85.280. Click OK.
Click Finish, then test a converted cell with =ISNUMBER(A1). A TRUE result confirms that Excel stores it as a number.
Select a cell in the converted column and choose Data > Sort Smallest to Largest or Sort Largest to Smallest. If prompted, expand the selection to keep related rows together.

Convert decimal text with a VALUE formula
Use a helper column when the text values use the decimal separator expected by Excel.
Convert and sort decimal text in WPS Spreadsheets
Open your spreadsheet in WPS Spreadsheets, convert decimal text with a VALUE formula, and sort the resulting numeric values.
- 1. Open the workbook: Open WPS Spreadsheets and select File > Open to choose your Excel workbook.
- 2. Convert a value: In an empty column, enter =VALUE(A1), replacing A1 with the first cell containing decimal text. The text must use a decimal separator recognized by WPS.
- 3. Fill and verify: Drag the formula cell's fill handle down the column and compare the results with the source values.
- 4. Sort the results: Select the data range and use Data > Sort to sort by the converted-value column. Include all related columns so rows stay together.

Frequently Asked Questions
How can I tell if a decimal value is stored as text in Excel?
Enter =ISNUMBER(A1) in a blank cell, replacing A1 with the cell to check. FALSE means the value is not stored as a number. Adding cells with a formula is less definitive because Excel can sometimes coerce numeric text during arithmetic.
Why does Excel sort 85.280 ahead of 343.470?
If the values are text, Excel may sort them as character strings rather than numbers. Check them with =ISNUMBER(A1), then use Data > Text to Columns to convert the affected column.
Where can I set the separators used during conversion?
In Data > Text to Columns, proceed to the final wizard screen and click Advanced. Set the decimal and thousands separators to match the source data before clicking Finish.
Why did the final zero disappear from 85.280?
The numeric value is unchanged, but Excel may not display trailing zeros in the General format. Select the cells and use Format Cells > Number to display three decimal places.




