logo
search
Data Import & Export

How to Filter Hong Kong Date Formats Correctly in Excel

Steve KSteve K Oct 19, 2026 868 views

Question details

The user needs to properly sort and filter imported Hong Kong date formats chronologically in Excel.

How to Filter Hong Kong Date Formats Correctly in Excel
Product
Excel
Device & OS
not provided
Scenario
Importing external or CSV data containing dates in a specific regional format (d/m/yyyy hh:mm:ss AM/PM) and attempting to apply chronological filters.
Observed behavior
The imported dates are stored as text instead of numeric date values, preventing standard chronological filtering or sorting. Changing the cell format alone does not fix the issue.
Before you start

Verify whether your dates are stored as text by selecting the cells and changing their number format to 'General'; if they do not change into a 5-digit serial number, they are stored as text and must be converted.

Solution 1Recommended

Convert Text to Dates Using Text to Columns

This is the fastest method to convert existing text-formatted dates into real date serial numbers directly within the worksheet.

The Text to Columns wizard can instantly parse text strings that resemble dates and convert them into the underlying numeric values Excel requires for chronological filtering.

1
Select the target data

Highlight the entire column containing the text-formatted Hong Kong dates.

2
Open Text to Columns

Navigate to the 'Data' tab on the ribbon and click on 'Text to Columns'.

3
Navigate the wizard

Choose 'Delimited' in the first step and click 'Next' twice to reach step 3 of the wizard.

4
Set the column data format

Under 'Column data format', select the 'Date' radio button. From the adjacent dropdown menu, choose 'DMY' (Day-Month-Year) to match the Hong Kong format, and click 'Finish'.

5
Apply custom formatting and filter

Right-click the converted cells, select 'Format Cells', and apply a custom format such as 'd/m/yyyy hh:mm:ss AM/PM'. You can now apply standard filters.

Convert Text to Dates Using Text to Columns
Conversion Successful: Excel will now recognize these entries as true date/time values, enabling accurate chronological sorting and filtering.
Efficient Data Management with WPS

Easily Fix Date Formatting Issues in WPS Spreadsheet

WPS Spreadsheet offers powerful, identical data cleaning tools such as Text to Columns and custom formatting, ensuring seamless compatibility with Microsoft Excel files. Easily convert text strings to dates and apply chronological filters effortlessly for free.

  1. 1. Open your file in WPS: Launch WPS Spreadsheet and open your imported document containing the text dates.
  2. 2. Select the data: Highlight the entire column where the Hong Kong date formats are stored.
  3. 3. Access Text to Columns: Navigate to the 'Data' tab on the top menu ribbon and click 'Text to Columns'.
  4. 4. Complete the conversion: Follow the wizard, select 'Delimited', set the column data format to 'Date (DMY)', and click Finish to instantly convert.
100% format compatibility with Microsoft Excel (.xlsx, .xls, .csv).Intuitive built-in 'Text to Columns' wizard to quickly fix text-to-date conversion issues.Lightweight, fast, and completely free to download and use.Familiar user interface ensuring zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't changing the cell format to 'Date' fix my filter?

Changing the cell format only alters how Excel displays underlying numbers. If the data was imported as text, modifying the visual format will not convert the text string into the mathematical date serial number that Excel requires for chronological filtering.

Should I use the 1904 date system to fix locale issues?

No. The 1904 date system is an old compatibility setting originally designed for early Mac versions of Excel. Enabling it shifts your workbook's date baseline by 4 years and 1 day, which will cause widespread date calculation errors rather than fixing text-to-date import problems.

How do I know if my dates are stored as text?

Select the cells in question and change their number format to 'General'. If the cell continues to display a standard date (e.g., 25/12/2023) instead of changing into a 5-digit number (like 45286), the data is currently stored as text.

What if the Text to Columns method fails?

If Text to Columns fails to convert the dates, your source data might contain invisible non-printable characters or hidden leading/trailing spaces. Use the formula =TRIM(CLEAN(A2)) first to strip away these hidden characters, then attempt the conversion again.