How to Split Date and Time in Excel (8 Easy Methods)

If you are looking for some special tricks to split date and time in Excel, you’ve come to the right place. In Microsoft Excel, there are numerous ways to split date and time. In this article, we’ll discuss eight methods to split date and time. Let’s follow the complete guide to learn all of this.

You will also find some other articles here if you need to split data and time without using formula or using VBA. You will also find an article to separate date from text here.


We will use eight effective and tricky methods to split date and time in Excel in the following section. This section provides extensive details on eight methods. You should learn and apply all of these, as they improve your thinking capability and Excel knowledge.


1. Using INT Function to Split Date and Time in Excel

Here, we have a dataset containing the date and time. Our main goal is to split date and time in Columns C and D. Using the INT function is the convenient way to split date and time. You have to follow the following rules.

Using INT Function to Split Date and Time in Excel

📌 Steps:

  • First, select the range of cells C5:C11.
  • After that, you have to format them in Short Date format.

Using INT Function to Split Date and Time in Excel

  • We will use the following formula in the cell C5:

=INT(B5)

Here, the INT function rounds a number down to the nearest integer.

  • Press Enter and drag the Fill handle icon.

  • As a consequence, you will get the date in Column C like the following.

Using INT Function to Split Date and Time in Excel

  • We will use the following formula in the cell D5:

=B5-C5

Here, this formula returns time in column D.

  • Press Enter and drag the Fill handle icon.

Using INT Function to Split Date and Time in Excel

  • Finally, you will be able to split the date and time like the following.


2. Applying Excel TEXT Function to Split Date and Time

Here, we use another method to separate date and time by using the TEXT function. Here, the Text function converts a value to text in a specified format. Let’s walk through the steps to find out how to split date and time in Excel.

📌 Steps:

  • We will use the following formula in the cell C5:

=TEXT(B5,"m/d/yyyy")

Here, the Text function is used to modify a date format in Excel. You must put the cell reference of a date in the first argument. By customizing the cell reference, you can define an appropriate date.

  • Press Enter and drag the Fill handle icon.

Applying TEXT Function to Split Date and Time

  • As a consequence, you will get the date in column C like the following.

Applying TEXT Function to Split Date and Time

  • We will use the following formula in the cell D5:

=TEXT(B5,"hh:mm:ss AM/PM")

Here, the Text function is used to modify a date format in Excel. You must put the cell reference of a date in the first argument. and you can customize the cell reference to define the time.

  • Press Enter and drag the Fill handle icon.

Applying TEXT Function to Split Date and Time

  • Finally, you will be able to split the date and time like the following.

Applying TEXT Function to Split Date and Time


3. Separating Date and Time with TRUNC Function in Excel

Here, we use another method to separate date and time by using the TRUNC function. Here, the TRUNC function truncates a number to an integer by removing the decimal, or fractional, part of the number. Let’s walk through the steps to find out how to split date and time in Excel.

📌 Steps:

  • First, select the range of cells C5:C11.
  • After that, you have to format them in Short Date format.

Using TRUNC Function in Excel

  • We will use the following formula in the cell C5:

=TRUNC(B5)

Here, the TRUNC function is used to remove the decimal parts of the number. In this formula, cell B5‘s number will be truncated so that there will be no decimal points in the result.

  • Press Enter and drag the Fill handle icon.

  • As a consequence, you will get the date in column C like the following.

Using TRUNC Function in Excel

  • We will use the following formula in the cell D5:

=B5-C5

Here, this formula returns time in column D.

  • Press Enter and drag the Fill handle icon.

  • Finally, you will be able to split the date and time like the following.

Using TRUNC Function in Excel


4. Inserting ROUNDDOWN Function to Separate Time and Date

Here, we use another simple method to separate date and time by using the ROUNDDOWN function. Here, the ROUNDDOWN function rounds a number, toward zero. Let’s walk through the steps to find out how to split date and time in Excel.

📌 Steps:

  • First, select the range of cells C5:C11.
  • After that, you have to format them in Short Date format.

Using the ROUNDDOWN Function

  • We will use the following formula in the cell C5:

=ROUNDDOWN(B5,0)

Here, the ROUNDDOWN function is used to round down the reference cell. Here, B5 represents what we are rounding down, and 0 represents the number of digits we want to round down to. In other words, we want to round down our number to zero decimal places.

  • Press Enter and drag the Fill handle icon.

Using the ROUNDDOWN Function

  • As a consequence, you will get the date in Column C like the following.

  • We will use the following formula in the cell D5:

=B5-C5

Here, this formula returns time in column D.

  • Press Enter and drag the Fill handle icon.

Using the ROUNDDOWN Function

  • Finally, you will be able to split the date and time like the following.


5. Separating Date and Time Applying Flash Fill Tool

Here, we use another simple method to separate date and time by using the Flash Fill feature. Let’s walk through the steps to find out how to split date and time in Excel.

📌 Steps:

  • Firstly, type the first two dates in columns C5 and C6.

Separate Date and Time Utilizing Flash Fill

  • Next, go to the Data tab, select Data Tools, and finally, select the Flash Fill option.

Separate Date and Time Utilizing Flash Fill

  • As a consequence, you will get the date in column C like the following.

  • Again, type the first two times in columns D5 and D6. Then, go to the Data tab, select Data Tools, and finally, select the Flash Fill option.

Separate Date and Time Utilizing Flash Fill

  • Finally, you will be able to split the date and time like the following.


6. Splitting Date and Time Through Keyboard Shortcut

Using a keyboard shortcut is the fastest way to spit date and time. Let’s walk through the steps to find out how to split date and time in Excel.

📌 Steps:

  • Firstly, type the first two dates in columns C5 and C6.
  • Next, press ‘Ctrl+E’ from the keyboard.

Split Date and Time Through Keyboard Shortcut

  • As a consequence, you will get the date in Column C like the following.

Split Date and Time Through Keyboard Shortcut

  • Again, type the first two times in columns D5 and D6, and next, press ‘Ctrl+E’ from the keyboard.

Split Date and Time Through Keyboard Shortcut

  • Finally, you will be able to split the date and time like the following.

Split Date and Time Through Keyboard Shortcut


7. Using Excel Text To Columns Tool to Split Date and Time

Here, we use another simple method to separate date and time by using the Text to Columns command. Here, we have a dataset containing the date and time. Let’s walk through the steps to find out how to split date and time in Excel.

Using Text To Columns to Split Date and Time

📌 Steps:

  • Firstly, select the range of the dataset. Next, go to the Data tab, select Data Tools, and finally, select the Text to Columns option.

Using Text To Columns to Split Date and Time

  • When the Convert Text to Columns Wizard – Step 1 of 3 dialogue box appears, check the Delimited Then click on Next.

Using Text To Columns to Split Date and Time

  • Next, the Convert Text to Columns Wizard – Step 2 of 3 dialogue box appears. In the Delimiters section, check Space. Then click on Next.

Using Text To Columns to Split Date and Time

  • Now, the Convert Text to Columns Wizard -Step 3 of 3 dialogue box appears. Click on Finish.

Using Text To Columns to Split Date and Time

  • As a consequence, you will get the date in column B like the following and you need to customize the date. For this reason, you have to select the range of the cell and right-click and select the Format Cells option.

Using Text To Columns to Split Date and Time

  • When the Format Cells dialogue box appears, select Custom from the Category. Select your desired date type from the Type section.

Using Text To Columns to Split Date and Time

  • As a result, you will get the date in column B like the following.
  • Now, you have to select the range of the cell of column Time that you need to customize. Then go to Home Tab and select the Time option like the following.

  • Finally, you will be able to split the date and time like the following.

Using Text To Columns to Split Date and Time


8. Splitting Date and Time with Excel Power Query

Here, we use another simple method to separate date and time by using Power Query. Here, we have a dataset containing the date and time. Let’s walk through the steps to find out how to split date and time in Excel.

📌 Steps:

  • Firstly, select the range of the dataset. Next, go to the Data tab, and select From Table/Range.

  • Next, you can see your dataset in Power Query Editor.
  • Now, to extract the date go to Add Column tab, select Date, and finally, select the Date Only option.

  • As a consequence, you will get a new Column with date like the following.

Utilizing Power Query in Excel

  • Next, select the range of the dataset. To extract time go to Add Column tab, select Time, and finally, select the Time Only option.

  • As a result, you will get a new Column with time like the following.

Utilizing Power Query in Excel

  • Now, go to the Home tab, and select Close & Load.

  • Finally, you will be able to split the date and time like the following.

Utilizing Power Query in Excel


Download Practice Workbook

Download this practice workbook to exercise while you are reading this article.


Conclusion

That’s the end of today’s session. I strongly believe that from now you may split date and time in Excel using formula, without using formula or VBA. If you have any queries or recommendations, please share them in the comments section below. Keep learning new methods and keep growing!


Split Date and Time: Knowledge Hub


<< Go Back to Split | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Saquib Ahmad Shuvo
Saquib Ahmad Shuvo

Saquib Ahmad Bhuiyan, holding a BSc degree in Naval Architecture & Marine Engineering from Bangladesh University of Engineering and Technology, skillfully integrates engineering expertise with a passion for Excel. He provides solutions to complex issues as an Excel & VBA Content Developer for ExcelDemy Forum. He demonstrates an enthusiastic mindset and adeptness in managing critical situations with finesse, showcasing his commitment to excellence. Apart from creating Excel tutorials, he is interested in Data Analysis with MS Excel, Rhinoceros,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo