How to Fix Inconsistent Date and Number Formatting in Excel
Question details
The user is experiencing issues where Excel Online displays dates and numbers inconsistently, such as showing weekdays as numbers or having varying decimal places, and reapplying formats does not work for all cells.

- Product
- Excel Online
- Device & OS
- not provided
- Scenario
- Applying date and number formatting rules to cells in a worksheet to standardize the data appearance.
- Observed behavior
- Dates frequently display as raw numbers, weekday formats fail to apply, and numeric values have inconsistent decimal places despite applying uniform formatting rules.
Before troubleshooting, check the formula bar to ensure that the problematic cells do not contain extra hidden spaces or an invisible apostrophe at the beginning of the values.
Verify and Convert Values Stored as Text
Identify if the numbers or dates are actually stored as text strings, which prevents standard formatting rules from applying correctly.
Excel formatting rules only apply to recognized numbers and dates. If a value is stored as text, changing the cell format will not change its visual appearance. You must first convert the text back to a standard numeric value.
Select an empty cell next to your problematic data and type the formula `=ISTEXT(A1)` (replace A1 with the affected cell address).
Press Enter. If the result is TRUE, the value is stored as text and cannot be formatted as a normal date or number.
Select the affected cells. Click the yellow warning icon that appears next to the selection, and choose 'Convert to Number' from the dropdown menu.
Alternatively, select the column, go to the Data tab, click 'Text to Columns', and click 'Finish' immediately to convert the entire column to numeric values.
Migrate Data to Fix Worksheet Corruption
If the values are recognized as numbers (ISTEXT returns FALSE) but formatting still fails, the worksheet itself may have corrupted formatting rules.
Format Dates and Numbers Consistently in WPS Spreadsheet
WPS Spreadsheet provides robust cell formatting tools and seamless compatibility with Microsoft Excel files. It easily detects and converts text-formatted numbers and applies date formats uniformly, bypassing common corruption issues.
- 1. Open the file: Open your problematic spreadsheet directly in WPS Office.
- 2. Select affected cells: Highlight the cells that have inconsistent decimal places or dates showing as numbers.
- 3. Convert formatting: Click the smart error icon (a small exclamation mark next to the cell) and click 'Convert to Number'.
- 4. Apply uniform formats: Right-click the selection, choose 'Format Cells', and apply your required Date or Number rules perfectly.

Frequently Asked Questions
Why do dates appear as 5-digit numbers in Excel?
Excel stores dates as sequential serial numbers so they can be used in calculations. For example, January 1, 1900, is serial number 1. If a date appears as a 5-digit number, you simply need to select the cell, go to the Home tab, and change the Number Format dropdown to 'Short Date' or 'Long Date'.
How do I fix decimal places that won't change?
If clicking the 'Increase Decimal' or 'Decrease Decimal' buttons doesn't work, the cell is likely formatted as Text. Use the `=ISTEXT()` formula to confirm this. You will need to convert the text to a number using the warning icon or 'Text to Columns' before the decimal buttons will function.
Can clearing formats help with corrupted cells?
Yes. Select the problematic cells, navigate to the Home tab, click the 'Clear' button (usually represented by an eraser icon), and choose 'Clear Formats'. This resets the cells to standard General formatting, allowing you to apply new number and date formats from scratch.




