I am trying to enter my date in excel column as 1-1-24 but it keeps switching to Jan-24
Assistant
This happens because Excel is automatically formatting the cell as a date and applying its default date display format. When you enter 1-1-24, Excel recognizes it as a date (January 1, 2024) and displays it in its default date format, often showing Jan-24.
If you want Excel to show the date exactly as 1-1-24, you can do one of the following:
Option 1: Use Custom Date Formatting
Select the cells or column where you want to enter the dates.
Right-click and choose Format Cells.
Go to the Number tab.
Select Custom.
In the Type field, enter:
d-m-yy
Click OK.
Now when you enter 1-1-24, Excel will display it as 1-1-24.
User
I changed custom date format but its still showing the same thing.
Assistant
If you have already set the custom date format to d-m-yy (or a similar format that should display ), but Excel still shows , here are some things to check and try next:
User
I did make a table with "my table has headers enabled" does that have any impact
Assistant
Good question!
"My table has headers" enabled in an Excel table does NOT affect the date formatting of the data cells in the table itself. It simply means Excel treats the first row of the selected range as a header row, which is used for filtering, sorting, and naming columns.
That said, there are a few points to keep in mind with Excel Tables and formatting:
User
the date is in the first row
Assistant
Thanks for the info — since your date is in the first row of the table, and you have "My table has headers" enabled, this likely means Excel is treating that first row as the header row, not as data.
Why does this matter?
The header row is specially formatted by Excel to display — it is .
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
If you want Excel to treat the entry literally as text and not convert it to a date:
Type a single quote ' before your date, e.g.,
'1-1-24
Press Enter.
The cell will display exactly 1-1-24, but the value is text, not a date, so date calculations won't work on it.
Option 3: Change Regional Date Settings (Less common)
Dates displayed in Excel can sometimes follow your system's regional settings. If your system date format is different, Excel may format dates accordingly.
Summary:
For best functionality and exact formatting, use Custom Date Formatting (Option 1). This keeps the cell as a date value but changes the displayed style.
1-1-24
Jan-24
1. Confirm the Format is Applied Correctly
Select the cell(s) with the date.
Open Format Cells (Ctrl + 1).
Go to Number tab → Custom.
Double-check that the Type is exactly d-m-yy.
Click OK.
2. Check the Actual Cell Value
Sometimes Excel may be recognizing the date differently than you think. For example:
Enter 1-1-24
Press Enter
Then, in another cell, enter =TEXT(A1,"d-m-yy") (assuming your date is in A1)
Does it display 1-1-24?
If yes, the value is stored correctly, but display format is not being applied as expected.
3. Try Entering the Date Differently
Instead of typing 1-1-24, try typing the date with slashes:
1/1/24
Then check the formatting.
4. Clear Previous Formatting
Sometimes custom formats don’t "stick" because of residual formats.
Select the column → go to Home tab → click Clear → Clear Formats.
Then reapply the custom format d-m-yy.
5. Workbook or Cell Style Overrides
Check if there is any conditional formatting or cell style that might be overriding your custom format.
Go to Home → Conditional Formatting → Manage Rules, and remove relevant rules.
Also check Cell Styles for any applied styles.
6. Excel Version Oddities or Regional Settings
Check your system’s date and time regional settings to ensure they use a day-month-year format.
On Windows, go to Control Panel → Region → Formats → Short date and check if it is set to d-M-yy or similar.
Sometimes Excel inherits those settings.
7. Alternative Custom Format Codes to Try
Sometimes changing the custom format slightly helps Excel reapply it properly. Try:
dd-m-yy
d-mmm-yy
d-m-yyyy
8. Share a Sample Cell to test:
Try this: enter a date as 1-Jan-24, and then apply your custom format. Does it display differently?
If after all this it still shows Jan-24, please let me know:
Which Excel version and platform you are using (Windows, Mac, Excel Online)
The exact contents of the cell and applied format (you can copy-paste the cell value and format)
Any formula or conditional formatting applied
This will help me give you more precise troubleshooting.
Tables maintain their own formatting: When you apply formats inside an Excel Table, that format usually applies to the entire column and propagates automatically when you add new rows.
Sometimes formatting in Excel Tables can behave a little differently: For example, custom number/date formats might not always "stick" if other conflicting formats or table styles override them.
So, to troubleshoot further:
Make sure you’ve selected the entire column inside the table before applying your custom date format (d-m-yy), not just a single cell.
Try removing the table formatting temporarily:
Click anywhere inside the table.
Go to the Table Design tab (or Table Tools).
Click Convert to Range.
Confirm by clicking Yes.
Now reapply the custom date format to that column range and check if the date displays as you want.
If it works after converting the table back to a normal range, then the table style might be interfering.
If you still want to keep the data in a table but have consistent formatting, consider:
Applying your custom date format to the table column.
Checking if any table style or conditional formatting is overriding your date format (you can clear styles or conditional formatting as explained earlier).
Summary:
Having "my table has headers" enabled does NOT prevent custom date formatting, but table styles and formatting sometimes override or interfere with custom formats. The best approach is to make sure the whole table column is formatted, or temporarily convert to a range to isolate the issue.
Let me know if you want me to guide you through checking/removing table styles or if you want alternative ways to enter/display your date!
column names
not intended to hold regular data like dates
When you type 1-1-24 in the header cell, Excel does not treat it as a date, but tries to format the header as a text or label, and the displayed format (like Jan-24) comes from the table header styling and default header text rendering.
Also, custom formatting applied to data rows does NOT apply to the header row.
What this means for your problem:
Your 1-1-24 (which you want as a date) is being entered into the header, which is not for data and thus Excel handles it differently.
That's why even when you apply custom date formats, the header cell still shows Jan-24 or something unexpected.
How to fix this:
Option 1: Put the date in the data rows, not in the header.
Make sure your table headers are meaningful column names, e.g., Date, Name, Amount, etc.
Put your date values (like 1-1-24) starting from the row below the header.
Apply your custom date format (d-m-yy) to that column.
Option 2: If you really want the header to show something like a date:
You can format it as text instead of a date, or
Enter it as text by typing a single quote first:
'1-1-24
But normally, headers should be descriptive text, not data.
Summary
The first row in a table is the header (column titles) if you have “My table has headers” enabled.
Dates should be typed and formatted in the rows below the header, not in the header itself.
The header row does not support date formatting like regular data rows.
If you want, I can help you restructure your table correctly so your dates and custom date formats work perfectly. Just let me know!