You must have JavaScript enabled to use this form. He's currently an API/Software Technical Writer based in Tokyo, Japan, runs VGKAMI andITEnterpriser, and spends what little free time he has learning Japanese. 16. In the Type option, you will see different types of date formats. That is why in this tutorial, we will convert text and numbers along with general format to Date format. Besides the suggestion of DATE function by Femi above, you can also try the Text to column feature. In the Category box, click Date, and then click the date format that you want in the Type list. Converting Text to numbers - Microsoft Community Hub Inspired by this post you could do data = pd.DataFrame ( {'ID': ['1/1/2022','7/21/2024','1/1/1931']}) data ['General format'] = ( pd.to_datetime (data ["ID"]) - pd.Timestamp ("1900-01-01") ).dt.days + 2 print (data) Before you use a formula to manually parse and construct a date from text, try one of the fixes below. In the Format Cells dialog box, select the Number tab. All Rights Reserved. Thus, if we type DATE (2019, 10, 30) then Excel will return 10/30/2019. How to Convert Date When successful, this will result in a valid Excel date. Step 2: Navigate to the Home tab, then select the list arrow located in the Number group. Click Kutools > Content > Convert to Date, see screenshot: 3. Edit Drop-Down List in Excel: A Comprehensive Guide, The EDATE Excel Function: A Comprehensive Guide, Dynamic Tables in Excel: The Ultimate Guide, Dynamic Named Range in Excel: A Comprehensive Guide, Dynamic Chart in Excel: A Comprehensive Guide, Drop-down List in Excel: A Comprehensive Guide, Drag and Drop in Excel: How to Effortlessly Move Data, Creating a Doughnut Chart in Excel: A Comprehensive Guide, Dot Plots in Excel: A Comprehensive Guide, Learning and Development/Enterprise Team Training, Comma Style in Excel: A Comprehensive Guide to Comma Style in Excel, Date Format in Excel: Everything You Need to Know, Understanding Conditional Formatting Formulas, Mastering Data Analysis: How to Compare Two Columns in Excel for Matches, Step by Step!