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

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,887
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,176,383
Messages
5,902,778
Members
434,996
Latest member
aimeea

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