Splitting Cell contents

Reec0n

New Member
Joined
Jan 30, 2017
Messages
20
Hi all.

A B C
01/06/2018 16:3101/06/2018 16:4211 minutes
01/06/2018 16:4801/06/2018 16:49a minute
01/06/2018 16:5301/06/2018 16:54a minute
04/06/2018 16:4404/06/2018 16:495 minutes
04/06/2018 17:0804/06/2018 17:1911 minutes
04/06/2018 17:5304/06/2018 18:0512 minutes
04/06/2018 18:1904/06/2018 18:289 minutes
04/06/2018 19:1404/06/2018 19:2713 minutes
04/06/2018 20:5604/06/2018 21:004 minutes
04/06/2018 21:0404/06/2018 21:05a minute
04/06/2018 21:3904/06/2018 21:467 minutes
04/06/2018 21:5804/06/2018 22:057 minutes
04/06/2018 22:5504/06/2018 23:027 minutes
04/06/2018 23:5104/06/2018 23:576 minutes
05/06/2018 06:4205/06/2018 06:497 minutes
05/06/2018 06:5005/06/2018 06:522 minutes
05/06/2018 14:1205/06/2018 14:175 minutes
05/06/2018 15:1205/06/2018 15:153 minutes
05/06/2018 15:2505/06/2018 15:349 minutes
05/06/2018 17:2905/06/2018 17:367 minutes
05/06/2018 20:2605/06/2018 20:326 minutes
06/06/2018 05:4506/06/2018 05:472 minutes
06/06/2018 10:1006/06/2018 10:166 minutes
06/06/2018 12:3406/06/2018 12:428 minutes
06/06/2018 17:1206/06/2018 17:175 minutes
12/06/2018 15:5312/06/2018 17:562 hours
27/06/2018 14:3927/06/2018 14:40a minute

<colgroup><col span="2"><col></colgroup><tbody>
</tbody>


I have time and date in cells a and b.

I would like to split the date and time into separate cells to end up with

A B C D E
Time Date Time Date Duration

any help welcomed.

Tia
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
As dates and times are just numbers to excel you can use:

=B1-A1
 
Upvote 0
Hi,

Thanks for a quick reply,

This isnt working for me - its just doing maths:confused:

Can you provide an example of how I can split the time and date into their own cells

Apologies if I'm confusing things further

As dates and times are just numbers to excel you can use:

=B1-A1
 
Upvote 0
Sure its doing maths. As i said date/ times are just numbers to excel. One minus the other will produce the difference between the two. Why would you want to split the dates up?
 
Upvote 0
01/06/2018 16:31:1904/06/2018 21:05:19
04/06/2018 21:39:1904/06/2018 21:46:19
04/06/2018 21:58:1904/06/2018 22:05:19

<tbody>
</tbody>

Hopefully this will provide some clarity.

I need to separate the time from the dates.

I want the date in one cell and the time in another. So instead of two columns, I would like to see 4.

Arranged Date Time Date Time

Hope that helps


Sure its doing maths. As i said date/ times are just numbers to excel. One minus the other will produce the difference between the two. Why would you want to split the dates up?
 
Upvote 0
Ok you do that using:

=INT(A1)

format to date and

=A1-INT(A1)

format to time.
 
Upvote 0

Forum statistics

Threads
1,214,873
Messages
6,122,029
Members
449,061
Latest member
TheRealJoaquin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top