Extract date from multiple cells containing both date and time

As if you have got a cell containing date along with the time in the same cell and you want to extract the date into a separate cell, then for one or two cells, you can extract the date manually from the cell, but if you have got multiple cells in excel containing both date and time in the same cell then doing it manually would be very tough you would get tired of it and would never complete your work on time.

But don’t be worry about it because after carefully reading this article, extracting date from the multiple cells containing both date and time would become a piece of cake for you, as it is done in the following screenshot, So let’s dive into it:

General Formula:

The Following formula would help you out for extracting date from the multiple cells containing both date and time to another cell; in the above example, the formula is shown in the cell B2:


Let’s See How This Formula Works:

You would definitely wonder that how excel efficiently and precisely extracts date from the multiple cells containing both date and time? Then here is the answer that the excel handles it by several numbers and fractional values, which means that Excel uses a pattern in which it denotes the dates as the several numbers and time to the fractional values.

For instance, suppose that both date and time  Feb 2, 2022, 19:00 PM are in the same cell, as now in Ms excel this date and time are represented in terms of numbers as “44594.7916666667, where the “44594” is the date portion, and the fractional part “.7916666667” is the time portion.

So if you want to extract date from the cells that include both the date and time, you can use the INT function to extract only the date part. The INT function returns only the decimal portion from each cell by excluding the fractional part, and you would get the date from each cell efficiently and precisely.

As by the aid of an example, you would understand it more clearly, so let suppose in A2 there are both date and time which is Feb 2, 2022, 19:00 PM, which is equivalent to the number 44594.7916666667 in MS Excel, so when you would use the INT function which is given below then it would return the date portion (44594):


extract date from date and time 1

Obviously, the fractional part or the time portion is discarded to get the date portion, but for that, be sure you are using a date format that does not include a time. Otherwise, according to the above example, you will see the time displayed as 19:00 PM instead of the date portion.

Related Functions

  • Excel INT function
    The Excel INT function returns the integer portion of a given number. And it will rounds a given number down to the nearest integer.The syntax of the INT function is as below:= INT (number)…


Related Posts

Cash Denomination Calculator

Every country has different cash denominations, so you may need to calculate the number of different denominations based on the total amount. If it is just a small amount of cash, then you can calculate the different cash denominations manually, ...

Calculate Years Between Dates In Ms Excel

If you are an avid Ms Excel user, then you might have come across a task in which you needed to calculate the years between the dates; you might take it easy and do this task manually, which is also ...

Calculate Number of Hours between Two Times

Calculating the difference between two times might be a valuable statistic for subsequent computations or averages, whether you're producing a time sheet for staff or recording personal exercises. While Excel has a plethora of complex functions, including date and time ...

How to Auto Fill Weekdays or Weekends in Excel

Sometimes we may want to enter a sequence of days in excel for some purpose, and we can press Ctrl+; to insert current date into cell, and then drag the cell down to attach following days into other cells, then ...

How to Stack Data from Multiple Columns into One Column in Excel

In previous article, I have shown you the method to split data from one long column to multiple columns by VBA and Index function. This time if we want to stack data from multiple columns to one column, how can ...