Simon Sez IT

Online software training and video tutorials for Microsoft, Adobe & more

  • Course List
    • Adobe
      • Dreamweaver
        • Dreamweaver CC
        • Dreamweaver CS6
        • Dreamweaver CS5
        • Dreamweaver CS4
      • Flash
        • Flash CS5
      • InDesign
        • InDesign CS6
        • InDesign CS5
      • Photoshop
        • Photoshop CS6
        • Photoshop CS5
        • Adobe Photoshop CS4
      • Photoshop Elements
        • Photoshop Elements 2022
        • Photoshop Elements 2019
        • Photoshop Elements 2018
        • Photoshop Elements 15
        • Photoshop Elements 14
        • Photoshop Elements 13
        • Photoshop Elements 12
        • Photoshop Elements 11
        • Photoshop Elements 10
        • Photoshop Elements 9
        • Photoshop Elements 8
    • Microsoft
      • Access
        • Access 2021 Beginners
        • Access 2019
        • Access 2019 Advanced
        • Access 2016
        • Access 2016 Advanced
        • Access 2013
        • Access 2013 Advanced
        • Access 2010
        • Access 2010 Advanced
        • Access 2007
      • Excel
        • Data Analytics in Excel
        • Excel 2021 Advanced
        • Excel 2021 Intermediate
        • Excel 2021 Beginners
        • PivotTables for Beginners
        • Excel Dashboards
        • Advanced Formulas in Excel
        • Excel for Business Analysts
        • Advanced PivotTables
        • Power Pivot, Power Query and DAX in Excel
        • Excel 2019 Beginners (Mac)
        • Excel 2019 Beginners
        • Excel 2019 Advanced
        • Excel 2016 Beginners
        • Excel 2016 Intermediate
        • Excel 2016 Advanced
        • Excel 2013
        • Excel 2013 Advanced
        • Excel 2010 Beginners
        • Excel 2010 Advanced
        • Excel 2007
      • OneNote
        • OneNote Desktop and Windows 10
        • OneNote 2016
      • Outlook
        • Outlook 2021
        • Outlook 2019
        • Outlook 2016
        • Outlook 2013
        • Outlook 2010
        • Outlook 2007
      • Power Automate
        • Introduction to Power Automate
      • Power BI
        • Power BI
        • Power BI Intermediate
      • PowerPoint
        • PowerPoint 2021
        • PowerPoint 2019
        • PowerPoint 2016
        • PowerPoint 2013
        • PowerPoint 2010
        • PowerPoint 2007
      • Project
        • Project 2021 Beginners
        • Project for the Web
        • Project 2019
        • Project 2019 Advanced
        • Project 2016
        • Project 2016 Advanced
        • Project 2013
        • Project 2013 Advanced
        • Project 2010
        • Project 2010 Advanced
      • Publisher
        • Publisher 2013
      • SharePoint
        • SharePoint Online
        • SharePoint Foundation 2013
        • SharePoint Server 2013
        • SharePoint Foundation 2010
      • Teams
        • Microsoft Teams
      • VBA
        • Macros and VBA for Beginners
        • VBA for Excel
        • VBA Intermediate Training
      • Visio
        • Microsoft Visio 2019
        • Visio 2016
        • Visio 2013
        • Microsoft Visio 2010
      • Windows
        • Windows 11
        • Windows 10 (2020 Update)
        • Windows 10
        • Windows 8
        • Windows 7
        • Windows Vista
      • Word
        • Word 2021
        • Word 2019 Advanced
        • Word 2019
        • Word 2016
        • Word 2013
        • Word 2010
        • Word 2007
    • QuickBooks
      • QuickBooks
        • QuickBooks Desktop Pro 2022
        • QuickBooks Pro 2021
        • QuickBooks Online Advanced
        • QuickBooks Online
        • QuickBooks Canada
        • QuickBooks Pro 2020
        • QuickBooks 2019
        • QuickBooks 2018
        • QuickBooks Pro 2017
        • QuickBooks Pro 2016
        • QuickBooks Pro 2015
        • QuickBooks Pro 2014
        • QuickBooks Pro 2013
        • QuickBooks Pro 2012
        • QuickBooks Pro 2011
        • QuickBooks Pro 2010
        • QuickBooks Pro 2009
    • Web Development
      • AngularJs
        • AngularJS Crash Course
      • Dreamweaver
        • Dreamweaver CC
        • Dreamweaver CS6
        • Dreamweaver CS5
        • Dreamweaver CS4
      • Bootstrap
        • Bootstrap Framework
      • Html/CSS
        • HTML/CSS Crash Course
        • HTML5 Essentials
      • Python
        • Python Object-Oriented Programming
        • Pandas for Beginners
        • Introduction to Python
      • Java
        • Java for Beginners
      • JavaScript
        • JavaScript for Beginners
        • jQuery Crash Course
      • MySql
        • MySQL for Beginners
      • PHP
        • PHP for Beginners
        • Advanced PHP Programming
      • XML
        • XML Crash Course
    • Data Analysis
      • Financial Modeling
        • Financial Risk Management
        • Financial Forecasting and Modeling
      • Alteryx
        • Alteryx Advanced
        • Introduction to Alteryx
      • Power BI
        • Power BI Intermediate
        • Power BI
      • Qlik Sense
        • Qlik Sense Advanced
        • Qlik Sense
      • R Programming
        • R Programming
      • Tableau
        • Tableau Desktop Advanced
        • Tableau Desktop
      • Python
        • Python Object-Oriented Programming
        • Pandas for Beginners
        • Introduction to Python
    • Work Productivity
      • Google Sheets
        • Google Sheets for Beginners
      • Confluence
        • Introduction to Confluence
      • Monday
        • Getting Started in Monday.com
      • Asana
        • Asana for Employees and Managers
        • Introduction to Asana
      • Jira
        • Getting Started in Jira
  • For Business
  • About Us
    • Testimonials
    • Contact Us
    • FAQ
    • Membership
    • About Us
  • Pricing
  • Free Resources
  • Sign In
  • Get Started
Home > Microsoft Excel > Excel DATEVALUE – A Step-by-Step Guide

Excel DATEVALUE – A Step-by-Step Guide

(Note: This guide on how to use the Excel DATEVALUE function is suitable for all Excel versions including Office 365)

Imagine this: you worked hard on an important spreadsheet report and imported a lot of data from a PDF or Word document. In this document, the dates are formatted as text. When you import this into Excel, all these data are still retained as text.  

How do you fix this mess? 

If you are wondering if this is even possible to fix in the first place, don’t worry. Fortunately, Excel has functions that can help you clean the data. 

In this guide, we are going to explore the DATEVALUE function and learn how to use it to clean date formats in Excel. 

You’ll learn:

  • What is the DATEVALUE Function?
  • Excel DATEVALUE Syntax
  • Why Doesn’t DATEVALUE Work Sometimes?
  • DATEVALUE Alternative

Related:

How to Use the ROUND Function in Excel?

The Excel SMALL Function – 3 Best Examples

How to Use Excel COUNTIFS: The Best Guide

What Is the DATEVALUE Function?

We use various date formats across the globe. But software like Excel can understand and process only certain date formats. 

The DATEVALUE formula converts any user-friendly date format into Excel’s default date format automatically. This means you don’t have to worry about entering the right date format every time. 

All you have to do is use the DATEVALUE function just once and convert all these random dates into proper Excel date formats in one go. 

Use the Excel DATEVALUE Function to convert text dates into date serial numbers
Use the Excel DATEVALUE Function to convert text dates into date serial numbers

This will save you a lot of time and energy. 

Note: All dates in Excel are stored as serial numbers starting with 1 for 1st Jan 1900. 

This means 2nd Feb 1900 is stored as 33 and 13th April 2022 is stored 44664. 

So, for example, DATEVALUE(“23 Sep 2022”) will automatically convert to 44827. 

Remember to include the text inside the double quotes (“”) 

You can also use cell references directly inside the DATEVALUE function. If that is the case, double quotes are not needed. 

Next, you can once again convert this into a proper date format using the Number toolbar in the Home tab. 

Excel DATEVALUE Syntax

As discussed the DATEVALUE function has a very simple syntax. 

DATEVALUE(Text)

Here the Text should be either a direct value or a cell reference of a valid Excel date written in text format. 

Why Doesn’t DATEVALUE Work Sometimes?

Please note that the DATEVALUE function doesn’t work when your dates are already in the date format. It will return a #VALUE error instead. 

Also, the text you are trying to convert should be typed in the Excel date format. 

Ex: “2/3/2022”, “2-March-2022”, “2-3-2022”, and “23 Sep 2022” are recognized Excel date formats.

On the other hand, texts like “March 7, 2022” are not recognized by Excel. 

Hence, they cannot be used for the DATEVALUE function. 

Note: The DATEVALUE formula will return a #VALUE error if the date you are trying to convert lies beyond the recognized range of 1 January 1900 to 31 December 9999. 

Also Read:

Battle of the Excel Lookup Functions

How to Use the Excel IFS Function? – 2 Easy Examples

How to Use the TEXTJOIN Excel Function? 3 Easy Examples

DATEVALUE Alternative

Sometimes, the DATEVALUE can be very frustrating to use, especially because of its inability to process real dates. Hence, a better alternative would be to simply add a zero ‘0’ to the original text date. 

What it essentially does, is that it simply forces Excel to convert text into a number. If Excel detects a valid date format in a text form, it simply converts it into a date. 

On the other hand, if it finds a normal date, it simply ignores it without causing any errors. 

So, in this example, if you want to convert the range A2:A8 to a date. Just type A2+0 and drag it till the end of the range to see the magic happen. 

Add a zero to the improper dates to convert them into the valid format
Add a zero to the improper dates to convert them into the valid format

Suggested Reads:

The FORMULATEXT Excel Function – 2 Best Examples

The Excel CHOOSE Function – 4 Best Uses

How to Apply the Accounting Number Format in Excel? (3 Best methods)

Closing Thoughts

The Excel DATEVALUE function is a nifty little feature and most people are not aware of it. 

But it is a lifesaver, especially when it comes to cleaning dates and formatting them properly. 

Do remember to use this function the next time you are stuck with dates in text format. I also recommend that you practice this in a sample worksheet to gain a first-hand experience of what works and what doesn’t.

If you find this guide helpful and are looking for more guides, please visit our Excel resources centre. 

Want to skill up in Excel?

Simon Sez IT has been teaching Excel for ten years. For a low, monthly fee you can get access to 130+ IT training courses. Click here for advanced Excel courses with in-depth training modules.

Simon Calder

Chris “Simon” Calder was working as a Project Manager in IT for one of Los Angeles’ most prestigious cultural institutions, LACMA. He taught himself to use Microsoft Project from a giant textbook and hated every moment of it. Online learning was in its infancy then, but he spotted an opportunity and made an online MS Project course - the rest, as they say, is history!

Most Popular Posts

  • Kanban vs Scrum: Project Management Methodologies and Their Differences [2022]
  • How to Insert a Checkbox in Excel? 3 EASY Examples
  • How to Autofit Excel Cells? 3 Best Methods
  • XLOOKUP Google Sheets – 4 Best Alternatives!
  • Dashboards in Excel Using Pivot Tables, Pivot Charts and Slicers
  • Free Microsoft Project Training Course
  • Free Microsoft Access Tutorial for Beginners (3.5 Hours Video)
  • How to Use Blending Mode With Layers in Adobe Photoshop Elements 15

Similar Posts

How To Use Microsoft To Do: Microsoft To Do Tutorial

How to Create Professional Documents in Microsoft Word – Recorded Webinar

Using Guided Cropping in Photoshop Elements 11

How to Add Dynamic Dropdown lists in Excel — 4 Easy Steps

How To Setup Preferences in QuickBooks Pro 2017 Part 1

How to Remove Comma in Excel? 5 Easy Ways

Course Categories

  • Adobe
  • Data Analysis
  • QuickBooks
  • Microsoft
  • Web Development
  • Work Productivity

About Us

  • About Us
  • Free Resources
  • Affiliates
  • Become an Instructor

Products

  • Pricing and Plans
  • Business Pricing
  • Government Discounts
  • Non-Profit Discounts

Support

  • FAQ’s
  • Contact Us
  • DVD support

Connect

YoutubeFacebookLinkedIn
© 2023 Simon Sez IT, Inc.
  • Terms
  • Privacy Policy
  • Sitemap
888.817.6665 Monday thru Friday 7:30 a.m. - 5:00 p.m. (ET)