Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 176
Default Text To Date Conversion

Hi

I run Excel 2000

I download information from a mainframe into Excel.

In cell F5 the data looks like this: 19.11.2007

This is formatted as text and is left aligned.

When I try to reformat it to a date (19/11/2007) it does not change.

I would like to have a formula in cell N5 that changes the original data to
a datevalue. (eg: 19/11/2007)

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default Text To Date Conversion

If column F contains a lot of the "date" values, then you could:

Data|Text to columns
Fixed width (but don't have any separator lines!)
choose Date (dmy order)
and finish up

Then give the range the date format you like.

You could even do this for a single cell, but I'd just retype it as a real date.

John Calder wrote:

Hi

I run Excel 2000

I download information from a mainframe into Excel.

In cell F5 the data looks like this: 19.11.2007

This is formatted as text and is left aligned.

When I try to reformat it to a date (19/11/2007) it does not change.

I would like to have a formula in cell N5 that changes the original data to
a datevalue. (eg: 19/11/2007)

Thanks


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 176
Default Text To Date Conversion

Dave

Thanks for your prompt resonse. The data I download from the mainframe is
usually about 500 lines so Ideally what I was after was a formula that would
be copied down the length of the dtata.

I ended up using the following:

=IF(F5="","",VALUE(LEFT(F5,2)&"/"&MID(F5,4,2)&"/"&RIGHT(F5,4)))

This seems so work OK. Thanks very much for all your help.






"Dave Peterson" wrote:

If column F contains a lot of the "date" values, then you could:

Data|Text to columns
Fixed width (but don't have any separator lines!)
choose Date (dmy order)
and finish up

Then give the range the date format you like.

You could even do this for a single cell, but I'd just retype it as a real date.

John Calder wrote:

Hi

I run Excel 2000

I download information from a mainframe into Excel.

In cell F5 the data looks like this: 19.11.2007

This is formatted as text and is left aligned.

When I try to reformat it to a date (19/11/2007) it does not change.

I would like to have a formula in cell N5 that changes the original data to
a datevalue. (eg: 19/11/2007)

Thanks


--

Dave Peterson
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date to text/number Conversion CM4@FL[_2_] Excel Discussion (Misc queries) 3 November 10th 09 04:21 PM
Date to text conversion Toke Excel Discussion (Misc queries) 1 August 22nd 08 10:44 AM
Date to text conversion ginnyst Excel Discussion (Misc queries) 4 December 7th 07 03:32 PM
text to date conversion samuel Excel Worksheet Functions 3 August 17th 07 02:23 AM
Text Date Conversion CPodd Excel Discussion (Misc queries) 9 May 9th 07 04:39 AM


All times are GMT +1. The time now is 04:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"