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

Get FREE Advanced Excel Exercises with Solutions!

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.


Download Practice Workbook

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


8 Easy Methods to Split Date and Time in Excel

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.

Read More: How to Separate Time Using Formula in Excel (7 Ways)


2. Applying 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

Read More: How to Separate Date in Excel Using Formula (5 Suitable Ways)


3. Using 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

Read More: How to Separate Date and Time in Excel without Formula (3 Methods)


4. Utilizing ROUNDDOWN Function

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.

Read More: How to Separate Date from Text in Excel (4 Methods)


5. Separate Date and Time Utilizing Flash Fill

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. Split 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 Text To Columns 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. Utilizing Power Query in Excel

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


Conclusion

That’s the end of today’s session. I strongly believe that from now you may split date and time in Excel. If you have any queries or recommendations, please share them in the comments section below.

Don’t forget to check our website Exceldemy.com for various Excel-related problems and solutions. Keep learning new methods and keep growing!


Related Article

Saquib Ahmad Shuvo

Saquib Ahmad Shuvo

Welcome to my Profile. I am working on and researching Microsoft Excel right now, and I will be posting articles about it here. I received a B.Sc. in Naval Architecture and Marine Engineering from the Bangladesh University of Engineering and Technology (BUET). Having studied naval architecture, I have a strong interest in research and development. Always try to learn from different sources and come up with creative solutions.

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo