#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Date Format Problem

I have downloaded data from our time keeping system which has dates in format
of M/D/YR (1/3/07) i would like them in the format of MM/DD/YY (01/03/07). I
have tried date value formula, text to columns and format date options and I
just get value error. I tried converting using error checking but that did
not work either.
Any suggestions.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Date Format Problem

Try:

=TEXT(DATEVALUE(A1),"MM/DD/YY")

I have A1=1/3/07 as a TEXT field.

HTH

"Gayla" wrote:

I have downloaded data from our time keeping system which has dates in format
of M/D/YR (1/3/07) i would like them in the format of MM/DD/YY (01/03/07). I
have tried date value formula, text to columns and format date options and I
just get value error. I tried converting using error checking but that did
not work either.
Any suggestions.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default Date Format Problem

Thanks for the info - but it still gives me #VALUE error. I just dont
understand.

"Toppers" wrote:

Try:

=TEXT(DATEVALUE(A1),"MM/DD/YY")

I have A1=1/3/07 as a TEXT field.

HTH

"Gayla" wrote:

I have downloaded data from our time keeping system which has dates in format
of M/D/YR (1/3/07) i would like them in the format of MM/DD/YY (01/03/07). I
have tried date value formula, text to columns and format date options and I
just get value error. I tried converting using error checking but that did
not work either.
Any suggestions.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Date Format Problem

You have invisible text characters in your import, it might be extra spaces
or html line feed

Go here, install the macro (on the same site there are instructions on how
to install macros) then select the imported "text" and run the macro, most
likely you need to format the values as date after they have been converted.

http://www.mvps.org/dmcritchie/excel/join.htm#trimall



--
Regards,

Peo Sjoblom

"Gayla" wrote in message
...
Thanks for the info - but it still gives me #VALUE error. I just dont
understand.

"Toppers" wrote:

Try:

=TEXT(DATEVALUE(A1),"MM/DD/YY")

I have A1=1/3/07 as a TEXT field.

HTH

"Gayla" wrote:

I have downloaded data from our time keeping system which has dates in
format
of M/D/YR (1/3/07) i would like them in the format of MM/DD/YY
(01/03/07). I
have tried date value formula, text to columns and format date options
and I
just get value error. I tried converting using error checking but that
did
not work either.
Any suggestions.



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 format problem Vass Excel Worksheet Functions 7 April 3rd 06 04:50 PM
Date Format problem nastech Excel Discussion (Misc queries) 2 January 18th 06 02:54 AM
Date conditioning format problem [email protected] Excel Discussion (Misc queries) 1 November 1st 05 10:37 AM
date format problem Nigel Excel Discussion (Misc queries) 7 May 11th 05 12:57 PM
Problem with Date format from VBA code twig Excel Discussion (Misc queries) 3 December 7th 04 07:01 PM


All times are GMT +1. The time now is 08:39 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"