#1   Report Post  
Jose Mourinho
 
Posts: n/a
Default dating problems!


I recieve date information in text format...i.e. "01-JAN-2005", but would
like to convert it to an Excel format date.

I have seen it done before by using a function to split the text into parts
(getting excel to read the cell as DD-MMM-YYYY) and output the result using
DAY, MONTH, YEAR function. No idea how to do this though.

Thanks
J
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

=A1*1

and format as date.

HTH
Jason
Atlanta, GA

-----Original Message-----

I recieve date information in text format...i.e. "01-JAN-

2005", but would
like to convert it to an Excel format date.

I have seen it done before by using a function to split

the text into parts
(getting excel to read the cell as DD-MMM-YYYY) and

output the result using
DAY, MONTH, YEAR function. No idea how to do this though.

Thanks
J
.

  #3   Report Post  
Jose Mourinho
 
Posts: n/a
Default

"01-JAN-2005"*1 returns #VALUE!

"Jason Morin" wrote:

=A1*1

and format as date.

HTH
Jason
Atlanta, GA

-----Original Message-----

I recieve date information in text format...i.e. "01-JAN-

2005", but would
like to convert it to an Excel format date.

I have seen it done before by using a function to split

the text into parts
(getting excel to read the cell as DD-MMM-YYYY) and

output the result using
DAY, MONTH, YEAR function. No idea how to do this though.

Thanks
J
.


  #4   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Jose,

The formula Jason provided fails because you have double quotes around your
string values.

Simply select your date values, and use Edit / Replace and replace double
quotes with nothing. Excel will then convert the values to dates.

HTH,
Bernie
MS Excel MVP

"Jose Mourinho" wrote in message
...

I recieve date information in text format...i.e. "01-JAN-2005", but would
like to convert it to an Excel format date.

I have seen it done before by using a function to split the text into

parts
(getting excel to read the cell as DD-MMM-YYYY) and output the result

using
DAY, MONTH, YEAR function. No idea how to do this though.

Thanks
J



  #5   Report Post  
Jose Mourinho
 
Posts: n/a
Default

I didn't have the dates in brackets (just used "them" in the post) but it got
me thinking and I checked the sheets again. It turns out that I have a space
before the each date <SPACE01-JAN-2005. Problem solved! Thanks for the help.

"Bernie Deitrick" wrote:

Jose,

The formula Jason provided fails because you have double quotes around your
string values.

Simply select your date values, and use Edit / Replace and replace double
quotes with nothing. Excel will then convert the values to dates.

HTH,
Bernie
MS Excel MVP

"Jose Mourinho" wrote in message
...

I recieve date information in text format...i.e. "01-JAN-2005", but would
like to convert it to an Excel format date.

I have seen it done before by using a function to split the text into

parts
(getting excel to read the cell as DD-MMM-YYYY) and output the result

using
DAY, MONTH, YEAR function. No idea how to do this though.

Thanks
J




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
problems with Sharing excel files mmayfield Excel Discussion (Misc queries) 0 January 22nd 05 08:45 PM
I am having problems creating pivot table of data wyman Charts and Charting in Excel 1 January 12th 05 05:17 PM
Problems opening Excel files using DFS links Byron Excel Discussion (Misc queries) 2 January 1st 05 11:31 PM
Exel Problems! PW11111 Excel Discussion (Misc queries) 2 December 9th 04 11:34 PM
Problems pasting images into Excel Wazooli Excel Discussion (Misc queries) 2 December 7th 04 11:33 PM


All times are GMT +1. The time now is 06:28 AM.

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"