Convert part of TEXT content to DATE in new Column

allanTeh

New Member
Joined
Jun 29, 2006
Messages
43
I have a Column (let's say Column 'A') that store data such as:-

A1 : 8/27/2006 20:00
A2 : 7/26/2006 19:45
A3 : 8/24/2006 19:30
etc...

I want to store data in Column 'B' the DATE portion (the FIRST portion BEFORE SPACE in Column 'A').

I used below's formula but the result are as below:

=LEFT(A1,FIND(" ",A1&" "))

B1 : 38956.8333333333

PROBLEM :

How to make Column 'B' store REAL DATEs that can be SORTED ?

Pls HELP !!!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi allanSg

The date is the integer part of excel' s DateTime

In B1:

=INT(A1)

format b1 as date

Hope this helps
PGC
 

Forum statistics

Threads
1,141,731
Messages
5,708,151
Members
421,549
Latest member
Dtcfire

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
Top