How to split date and time from a cell to two separated cells in Excel?
For instance, you have a list of data mixed with date and time, and you want to split each of them into two cells, one is date and another is time as below screenshots shown. Now I give you two quick methods to solve it in Excel.
Split date and time with formulas
If you use copy and paste functions to copy the each date and time one by one, it is time-waste. Here are some formulas can help you quickly split the date and time.
1. Select a column range that you want to put the date results only, and right click to select Format Cells from the context menu. See screenshot:
2. In the Format Cells dialog, under Number tab, click Date from Category section, the go to Type list to select a date type you need. See screenshot:
3. Click OK to close the dialog. Then go to select another column range you want to put the time only and format them as the time type you need. See screenshot:
4. Click OK to close the Format Cells dialog. Then in the first cell of the Date column (except the header), type this formula =INT(A2) (A2 is the cell you need to split by), then drag the fill handle to the range needed to apply this formula. See screenshots:
5. Go to the first cell of Time column (except header) and type this formula =A2-C2 (A2 is the cell you split by, and C2 is the date cell), and drag fill handle over the range you need. See screenshots:
Then the date and time have been split into two cells.
Split date and time by Kutools for Excel (3 steps with clicks)
The most easy and conveniet method to split date and time is applying the Split Cells utility of Kutools for Excel, no doubt!
After installing Kutools for Excel, please do as below:
1. Select the date time cells and click Kutools > Merge & Split > Split Cells. See screenshot:
2. In the Split Cells dialog, check Split to Columns and Space options. See screenshot:
3. Click Ok and select a cell to output the separated values and click OK. See screenshot:
Now the cells have been split into separated date and time.
Split date and time with Text to Column
In Excel, you also can use Text to Column to split the Date and Time column to columns.
1. Select the data range and click Data > Text to Columns, then in the popping dialog, check Delimited option. See screenshot:
2. Then click Next to open the Convert Text to Column Wizard Step 2 of 3 dialog, check Space (you also can select other delimiters as your need) in the Delimiters section. See screenshot:
3. Click Finish to close dialog, then the data range is split into columns. Select the Date range and right click to select Format Cells from context menu. See screenshot:
4. Then in the Format Cells dialog, click Date from Categories section, and select the date type you need under Type section. See screenshot:
5. Click OK. Now the result is shown as below;
Note: You’d better copy the original data before using Text to Column because it will break the original data.
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!