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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi allanSg

The date is the integer part of excel' s DateTime

In B1:

=INT(A1)

format b1 as date

Hope this helps
PGC
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,033
Members
448,940
Latest member
mdusw

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