How to easily enter dates without slashes in Excel?
When working in Excel, dates are typically entered in a standard format with slashes, such as MM/DD/YYYY. However, there are situations where manually inputting slashes becomes time-consuming or impractical, especially when dealing with a large volume of entries or when extracting data from systems that store dates as simple numbers. For instance, you might encounter or wish to type dates as “01022016” (representing January 2,2016) without using any separators. If the numbers could be automatically interpreted and formatted as standard dates (1/2/2016), it would save significant time and reduce the risk of input errors.
This article provides several practical solutions for entering dates in Excel without slashes and converting them into standardized date formats, as shown in the screenshot below. You’ll also find guidance on applicable scenarios, potential caveats to watch out for, and how to handle issues, so you can choose the approach that best fits your workflow.

Enter dates without slashes with Text to Column
In Excel, you can use the Text to Columns feature to quickly transform 8-digit sequence numbers, representing dates, into proper date formatting recognized by Excel. This method works well when you have a block of data and need to convert them all at once.
1. Select the 8-digit numbers in your worksheet and go to Data > Text to Columns. See screenshot:
2. In Step1 of the Convert Text to Columns Wizard, select the Fixed width option. This ensures the original number will be treated as evenly spaced pieces. See screenshot:
3. Click Next, then Next again to move to Step 3 of the Wizard. In the Column data format section, choose Date, and select MDY from the drop-down list. You can also specify a different cell as the destination to keep original values. See screenshot:
4. Click Finish. Now all the sequence numbers in your selection are reformatted as standard dates.
Usage scenarios and tips: Use this method when you have a list of 8-digit date-like numbers in a column. The conversion will not work properly if the underlying number is not exactly 8 digits, so please check your original data in advance.
Note: If Excel automatically converts sequence numbers to scientific notation or strips leading zeroes, first set the range’s format to Text before entering numbers, or add a single quotation mark at the beginning (e.g., '01022016) before using Text to Columns.
Enter dates without slashes with Format Cells function
Another straightforward approach is to use Excel's Format Cells feature to visually convert sequence numbers into date format. This method is most suitable when your data is consistent (e.g., always 8 digits, such as MMDDYYYY) and you need a quick visual transformation.
1. Select the sequence number cells you want to reformat, right-click, and choose Format Cells from the context menu. See screenshot:
2. In the Format Cells dialog, under the Number tab, select Custom from the Category pane. In the Type textbox, enter ##"/"##"/"#### as the custom format. See screenshot:
3. Click OK. The numbers in your selection will now display as standard dates.
Pros and cons: This formatting does not change the actual number in the cell (e.g., 01022016 remains as a number or text), only its visual appearance. Calculations involving these cells may not work as expected unless you convert the values to real date types with additional steps.
Reminder: If your number does not have exactly 8 digits, or is stored as text, this method may not display correctly.
Enter dates without slashes with formula
You can use Excel formulas to convert sequence numbers into date values, making this a highly customizable and dynamic option. This is particularly effective when your input data may sometimes vary (for instance, sequence numbers may sometimes have 7 or 8 digits), or if you want to automate conversion as new data is added.
1. Select a blank cell next to your sequence numbers, and enter the following formula. For example, if your sequence number is in cell A9, input the formula in B9:
=DATE(RIGHT(A9,4),LEFT(A9,IF(LEN(A9) =8,2,1)),LEFT(RIGHT(A9,6),2))
2. Press Enter, then drag the autofill handle down to apply the formula to other rows as needed. Each 8-digit sequence will now be converted to a date value. See screenshot:
Parameter explanation: This formula works by extracting year, month, and day components from the sequence. If your format is always consistent (e.g., always MMDDYYYY), you can simplify the formula:
=DATE(RIGHT(A9,4),LEFT(A9,2),MID(A9,3,2))
Tip: If necessary, copy the formula cells and paste as values to make the new dates static.Common issue: If you see a serial number instead of a date, simply format the column as “Date” using Format Cells.
Enter dates without slashes with Kutools for Excel
Kutools for Excel includes a Convert to Date utility, making it very efficient to handle large numbers of cells or various non-standard date formats. This solution is recommended if you commonly work with big datasets or need to process multiple formats at once.
After free installing Kutools for Excel, perform the following steps:
Select the numbers you want to convert to dates, then click Kutools > Content > Convert to Date. See screenshot:
Advantages: Kutools can process a wide variety of sequence formats (such as YYYYMMDD, DDMMYYYY, etc.) and multiple selected ranges at once.
Caution: Always check the original number format before conversion to ensure accuracy. For unexpected results, review cell formatting and data integrity.
Automatically reformat numbers resembling dates with VBA macro
For users who frequently receive or enter raw date numbers (such as 01022016) and want an automated conversion into standard Excel date formats, you can use a VBA macro. This approach is particularly useful if you want the conversion to happen automatically when entering data, or to process existing columns with a trigger or button.
Common scenarios: You regularly copy/paste date numbers from external systems and want an immediate transformation, or you want to minimize manual formatting steps for data entry by yourself or your team.
Note: This macro assumes your sequence dates are always 8 digits and in MMDDYYYY format. Adjust parsing sections if your format varies.
Operation steps:
- Click Developer Tools > Visual Basic. In the window that appears, go to Insert > Module, and paste the following code into the new module:
Sub ConvertSequenceToDate()
Dim rng As Range
Dim cell As Range
Dim seq As String
Dim mm As String
Dim dd As String
Dim yyyy As String
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set rng = Application.Selection
Set rng = Application.InputBox("Select range to convert sequence numbers (MMDDYYYY) to dates", xTitleId, rng.Address, Type:=8)
Application.ScreenUpdating = False
For Each cell In rng
If IsNumeric(cell.Value) And Len(cell.Value) = 8 Then
seq = CStr(cell.Value)
mm = Left(seq, 2)
dd = Mid(seq, 3, 2)
yyyy = Right(seq, 4)
If IsDate(mm & "/" & dd & "/" & yyyy) Then
cell.Value = DateSerial(yyyy, mm, dd)
cell.NumberFormat = "m/d/yyyy"
End If
End If
Next cell
Application.ScreenUpdating = True
End Sub
How to run the macro: After inserting the code, close the VBA window. Press Alt+F8 to open the Macro dialog, select ConvertSequenceToDate, then click Run. A dialog will prompt you to select the range of sequence numbers you wish to convert. The macro will update all matching cells to formatted dates.
Tip: If you want this process to happen automatically upon every cell edit in a particular column, additional code can be placed in the worksheet’s “Change” event; however, the above macro provides the safest and most transparent option for conversion in batches.
Error reminder: The macro will skip over entries that are not 8 digits or not fully numeric, and leaves unchanged other types of data.
Troubleshooting: You can save your workbook as a macro-enabled file (.xlsm) for future use. If you encounter permission or security prompts, inspect Excel’s Trust Center macro settings.
Overall, when choosing a method for converting sequential date numbers to proper date formats in Excel, consider your data’s consistency, your workflow (one-time batch versus ongoing entry), and your comfort with tools like formulas, VBA, or add-ins. If you encounter unexpected conversion results or see serial numbers instead of dates, check your cell formatting and data integrity, and try formatting the output cells as “Date.” For even more control, you can use Excel's Data Validation to restrict entries to8 digits or apply input masks.
Best Office Productivity Tools
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...
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!
All Kutools add-ins. One installer
Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.





- All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
- One installer, one license — set up in minutes (MSI-ready)
- Works better together — streamlined productivity across Office apps
- 30-day full-featured trial — no registration, no credit card
- Best value — save vs buying individual add-in