How to Create a Custom Date Format in Excel for the Web
Question details
The user needs to display dates in a highly specific layout (such as Mon - 01 Jan - 25) using Excel for the Web, which currently lacks a built-in custom format editing tool.

- Product
- Excel for the Web
- Device & OS
- not provided
- Scenario
- Formatting date cells to a custom presentation layout while working entirely within the web browser version of Excel.
- Observed behavior
- Excel for the web does not provide options to create or edit custom number and date formats from its online interface, preventing direct formatting of date values.
Identify the exact date format syntax you wish to use (such as "ddd - dd mmm - yy") and ensure your original date column contains valid date values rather than standard text.
Use the TEXT Function as a Workaround
Since Excel for the Web cannot natively apply custom formats, using a helper column with the TEXT formula is the most effective way to display dates exactly as you need them.
The TEXT function converts a standard date value into a text string formatted exactly to your specifications. This approach works entirely in the web browser and automatically updates if the original date is changed.
Insert a new blank column immediately next to the column containing your original dates.
In the first cell of the new column, type =TEXT(A2,"ddd - dd mmm - yy") (replace A2 with the cell reference of your actual date).
Select the cell with the formula and drag the fill handle (the small square at the bottom right) down to format the rest of your dates.
To keep your spreadsheet clean, right-click the column letter of your original dates and select 'Hide Column'. Your new custom format column will remain visible.

Apply Custom Formatting via Desktop Excel
If you have the desktop version of Excel installed, you can configure the custom format there. Excel for the Web will seamlessly display formats applied via the desktop application.
Create Custom Date Formats Seamlessly with WPS Spreadsheet
Don't let web limitations slow down your workflow. WPS Spreadsheet allows you to directly create, edit, and apply custom date formats exactly how you want them, without needing complex formulas or switching between web and desktop versions.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your .xlsx document containing the dates.
- 2. Select your dates: Highlight the range of cells where you want to change the date format.
- 3. Access cell formatting: Right-click the selected cells and choose 'Format Cells', or simply press Ctrl+1 on your keyboard.
- 4. Choose custom format: Click the 'Number' tab, then select 'Custom' from the category list on the left.
- 5. Enter format syntax: In the Type input box, type ddd - dd mmm - yy (or any other format you prefer) and click OK to apply it instantly.

Frequently Asked Questions
Can I edit an existing custom date format directly in Excel for the Web?
No. Excel for the Web currently does not have a feature to create or edit custom number formats. You must open the workbook in the desktop version of Excel to modify the underlying formatting rule.
Will my custom date formats disappear if I edit my spreadsheet online?
No, they will not disappear. While you cannot create new custom formats using the web interface, Excel for the Web will preserve and display any custom formats that were previously applied using the desktop application.
Why does sorting break when using the TEXT function workaround?
The TEXT function converts a date into a plain text string. When you sort these text strings, Excel sorts them alphabetically rather than chronologically. To sort properly, you should apply the sort command to your original, unformatted date column.




