Skip to main content

How to easily enter dates without slashes in Excel?

Author: Sun Last Modified: 2020-06-30

Generally, when we enter standard dates, we need to enter slashes to separate them, such as MM/DD/YYYY. But in some times, you may want to directly enter dates as sequence numbers, for instances, 01022016, and then the dates can be converted to standard dates formatting as 1/2/2016 as below screenshot shown. Here in this article, I introduce the tricks on easily entering standard dates without slashes in Excel.


arrow blue right bubble Enter dates without slashes with Text to Column

In Excel, you can apply the Text to Columns feature to quickly convert 8-digits sequence numbers to standard dates.

1. Select the 8 digits numbers and click Data > Text to Columns. See screenshot:
doc enter dates without slash 2

2. In the step 1 of Convert Text to Columns Wizard, check Fixed width option, see screenshots:
doc enter dates without slash 3

3. Click Next > Next to go to the step 3 of the Wizard, and check Date option in Column data format section, and select MDY from next drop down list, and specify a cell as destination. See screenshot:
doc enter dates without slash 4

4. Click Finish. Now the sequence numbers have been converted to standard dates.
doc enter dates without slash 5

Tip: For correctly converting to dates, you can convert the numbers to text at first.


arrow blue right bubble Enter dates without slashes with Format Cells function

Also, you can apply the Format Cells feature to convert the sequence number to standard date format.

1. Select the numbers to right click, and select Format Cells from context menu. See screenshot:
doc enter dates without slash 6

2. Then in the Format Cells dialog, under Number tab, click Custom from the Category pane, and then go to Type textbox to enter ##"/"##"/"#### in the right section. See screenshot:
doc enter dates without slash 7

3. Click OK. And the selected numbers have been converted to standard dates.
doc enter dates without slash 11


arrow blue right bubble Enter dates without slashes with formula

IMoreover, you can apply formulas to convert numbers to date format.

Select a blank cell next to the numbers you want to use, enter this formula =DATE(RIGHT(A9,4),LEFT(A9,IF(LEN(A9) = 8,2,1)),LEFT(RIGHT(A9,6),2)), A9 is the number you want to convert, drag the autofill handle over the cells you want to apply this formula, see screenshot:
doc enter dates without slash 9


arrow blue right bubble Enter dates without slashes with Kutools for Excel

If you have Kutools for Excel, you can apply its Convert to Date utility to quickly convert multiple non-standard dates to standard dates.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After free installing Kutools for Excel, please do as below:

Select the numbers you want to convert to dates, and click Kutools > Content > Convert to Date. See screenshot:
doc kutools convert to date 1
doc kutools convert to date 2

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (7)
Rated 4.5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
excelentes opciones , pero en mi caso yo necesito que las personas involucradas en la captura siempre pongan el formato de fecha correcto les doy un ejemplo de como lo hacen, 080923, 08.09.23, y de esta forma la formula no los reconoce para hacer el calculo de la edad, y he estado buscando como hacer para que mis compañeros capturen bien la fecha, ya sea poniendo un tipo de formato preestablecido donde los obligue a capturar correctamente la fecha o algo con la validacion de datos.

espero me puedan ayudar, de antemano muchas gracias.
This comment was minimized by the moderator on the site
Thank you so much! That was very helpful. I used your 0#"/"##"/"#### to enter dates without slashes and display the 0 in front. Some of the images need to be enlarged to show the ". It was hard to tell if that was an " or an *.
Rated 4.5 out of 5
This comment was minimized by the moderator on the site
比如我在輸入0329就會是本年的3月29日,而不是2029年的3月1 日呢?請問應該如何設定呢?謝謝你。
This comment was minimized by the moderator on the site
Hi, you can use this formula:
=DATE(TEXT(TODAY(),"yyyy"),LEFT(A2,2),RIGHT(A2,2))

A2 is the cell contains the string you want to convert to date.
This comment was minimized by the moderator on the site
How do I format this for the whole column so any new data that is inputted it will automatically convert it to dd/mm/yyyy? the above explains if you already have data in can this be done for any additional data you would like to add?
This comment was minimized by the moderator on the site
Hi, Faatimah, if you want the datat input in the future will be automatically converted to dd/mm/yyyy, firstly, you need to type one data in the column, such as 05062022 in A1, and then select the whole column A, and press Ctrl + 1 to display the Format Cells dialog, type ##"/"##"/"#### into the Custom secitoon textbox and click OK. Now the data entered in column A will be auto converted to dd/mm/yyyy.
This comment was minimized by the moderator on the site
How do I get a leading zero for 1-9 using ##"/"##"/"####?
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations