Techniques for Converting Text Date Formats


Sometimes dates exported from third-party software are not true dates, causing charting problems — how can this be resolved?

  • First, identify whether the date data in Excel are in date format or text format. You can check the cell format to determine this.
  • If you find that the cell's Short Date and Long Date formats are the same, then the cellis notin date format and cannot be used for any chronological/date-sequence analysis; we need to make the following adjustments.
  1. The DATEVALUE function converts dates stored as text into the serial number Excel recognizes as a date
  2. For example, the formula =DATEVALUE("1/1/2008") returns 39448, the serial number for the date 2008-1-1
  3. Please note,computersystem date settings may causeDATEVALUEthe function's result may differ from this example.
  4. For example, if colleague A's computer system date format is month-day-year, the formula =DATEVALUE("3/4/2008") returns March 4, 2008. But if the same Excel file is opened on colleague B's computer and B's system date format is day-month-year, the formula =DATEVALUE("3/4/2008") will return April 3, 2008.
 
  1. Select the date cells that are formatted as text
  2. Click Data ⇒ Data Tools ⇒ Text to Columns
  3. Choose Delimited ⇒ Next ⇒ leave all options unchecked
  4. Column date format: Date: YMD (depending on the original date's year-month-day order)
  5. Finish

 


Comprehensive Technical Support Solutions

We provide a range of technical support solutions to meet your needs.
Explore our core services:

man and woman wearing headphones while working in the office

Get on-demand assistance with Microsoft Excel, Word and PowerPoint. Send your question via WhatsApp, and we will help you resolve it promptly.

serious diverse students looking at laptop

Join our Online Learning Group Facebook page. Explore more than 200 tutorials and a comprehensive library of instructional videos at your own pace.

woman in yellow blazer doing a presentation

Build your team’s skills with tailored corporate training programmes. Our courses are designed around your organisation’s needs and equip employees with practical, up-to-date tools.