Separate Date & Time in Excel


Many times we are working with date and time values while working in excel. Many time we get data in which date and time is mentioned in a single cell (as shown in below image).


But what if we want to separate the date as well time from this value?

Well, we will learn to separate the date and time in this blog post whenever we will face similar situation.

Basic Information:

Before moving to this separation, first of all we need to understand some basic concepts related to date and time values which are available in excel.

Dates are nothing but the integer values stored in excel. Whereas Times are the decimal values stored in excel. 

For example:

If we enter integer value 1 and change the cell format to dates, then it will become 01 January 1900. 

If we enter the decimal value 0.59 and convert the cell format to time, then it will become 02:09 PM.

Now, we will use these basic concepts to separate date and time from combined value. For this we will use INT function in excel. We have already learned about this INT function in our previous blog post. Click here to learn more about INT function in Excel.

Steps to Separate Date & Time

1. Select the cell in which we want to extract the date. In this case we have selected cell B2.


2. We have to use INT function in selected cell (here in B2) as shown in below image. Also choose the cell formatting for this cell as any date format.


3. Once we press “Enter” button on keyboard then we can see the date is separated from combined value.


4. Similarly, select the cell in which we want to extract time. In this case we have selected cell C2. Also choose the cell formatting for this cell as any time format.


5. Now, in this cell we have to just subtract the value of B2 from A2 as shown in below image.


6. Once we press “Enter” button on keyboard then we can see the time is separated from combined value.


In this way, we can separate date and time from the combined values. Hope this information is useful for you and you can implement this in your day to day working.

Comments

Related Topics..

Fill Up, Down, Right & Left in Excel

Excel Shortcuts Ctrl A to Ctrl Z

How to Remove Duplicate Entries from Multiple Columns in Excel

Excel Pivot Table

Select all cells highlighted with specific color at a time

Exploring Font Colors and Fill Colors in Excel

Doughnut Chart in Excel

Conditional Formatting:Highlighting Above Average and Below Average Values

Insert Multiple Rows in Excel Based On Cell Value

Number Filter in Excel