Office Settings & Configuration

How to Create a Custom Date Format in Excel for the Web

Anum MushtaqAnum Mushtaq Nov 10, 2026 869 views

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.

How to Create a Custom Date Format in Excel for the Web
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.
Before you start

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.

Solution 1Recommended

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.

1
Create a helper column

Insert a new blank column immediately next to the column containing your original dates.

2
Enter the TEXT formula

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).

3
Apply formula to other cells

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.

4
Hide original 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.

Use the TEXT Function as a Workaround
Keep Original Dates for Calculations: Because the TEXT function outputs a text string instead of a true date, any subsequent formulas requiring date math (like calculating days between dates) must reference the original, hidden date column.
Easily Format Dates

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. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your .xlsx document containing the dates.
  2. 2. Select your dates: Highlight the range of cells where you want to change the date format.
  3. 3. Access cell formatting: Right-click the selected cells and choose 'Format Cells', or simply press Ctrl+1 on your keyboard.
  4. 4. Choose custom format: Click the 'Number' tab, then select 'Custom' from the category list on the left.
  5. 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.
Direct built-in support for all custom number and date formatsFully compatible with Microsoft Excel (.xlsx) formatsFree and lightweight alternative to heavy desktop softwareFamiliar ribbon interface requiring zero learning curve
microsoft office alternative - wps office

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.