Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default General Format to Date Format

I'm using data that has been exported out of a proprietary database
into excel. The dates are formatted as "General" and no matter what I
do, I cannot change them to "Date" format (or any other format for that
matter). Has anybody encountered this?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 422
Default General Format to Date Format

With your current date (as text) in A1 enter in B1:
=DATEVALUE(A1) << will return a number where Istext(B1) = FALSE
Format B1 as Date;
HTH

" wrote in message
ps.com:

ISTEXT Formula returns a TRUE value
But the Data/Text to Columns function was not successful in changing
the format

Ron Rosenfeld wrote:
On 20 Dec 2006 19:40:40 -0800, wrote:

I'm using data that has been exported out of a proprietary database
into excel. The dates are formatted as "General" and no matter what I
do, I cannot change them to "Date" format (or any other format for that
matter). Has anybody encountered this?


The dates are probably TEXT. (see what you get with a formula
=ISTEXT(cell_ref)

There are a number of methods to convert them, depending on how your data is
set up.

If the data is in a column, and if you select Data/Text to Columns, you may be
able to change the format appropriately at Step 3.

If that doesn't work, post more details.
--ron




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default General Format to Date Format

=Datevalue(A1) returns a #VALUE! error

JMay wrote:
With your current date (as text) in A1 enter in B1:
=DATEVALUE(A1) << will return a number where Istext(B1) = FALSE
Format B1 as Date;
HTH

" wrote in message
ps.com:

ISTEXT Formula returns a TRUE value
But the Data/Text to Columns function was not successful in changing
the format

Ron Rosenfeld wrote:
On 20 Dec 2006 19:40:40 -0800, wrote:

I'm using data that has been exported out of a proprietary database
into excel. The dates are formatted as "General" and no matter what I
do, I cannot change them to "Date" format (or any other format for that
matter). Has anybody encountered this?

The dates are probably TEXT. (see what you get with a formula
=ISTEXT(cell_ref)

There are a number of methods to convert them, depending on how your data is
set up.

If the data is in a column, and if you select Data/Text to Columns, you may be
able to change the format appropriately at Step 3.

If that doesn't work, post more details.
--ron


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default General Format to Date Format

At the step 3 of 3 in the Data: Text to Columns wixard, did you select
"Date" in the dialogue for "Column data format", and then choose the
appropriate format "DMY" or whatever to match your input data?
--
David Biddulph

wrote in message
ups.com...
ISTEXT Formula returns a TRUE value
But the Data/Text to Columns function was not successful in changing
the format

Ron Rosenfeld wrote:
On 20 Dec 2006 19:40:40 -0800, wrote:

I'm using data that has been exported out of a proprietary database
into excel. The dates are formatted as "General" and no matter what I
do, I cannot change them to "Date" format (or any other format for that
matter). Has anybody encountered this?


The dates are probably TEXT. (see what you get with a formula
=ISTEXT(cell_ref)

There are a number of methods to convert them, depending on how your data
is
set up.

If the data is in a column, and if you select Data/Text to Columns, you
may be
able to change the format appropriately at Step 3.

If that doesn't work, post more details.
--ron




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default General Format to Date Format

Matching the format to my input data did the trick.
Thanks so much!

David Biddulph wrote:
At the step 3 of 3 in the Data: Text to Columns wixard, did you select
"Date" in the dialogue for "Column data format", and then choose the
appropriate format "DMY" or whatever to match your input data?
--
David Biddulph

wrote in message
ups.com...
ISTEXT Formula returns a TRUE value
But the Data/Text to Columns function was not successful in changing
the format

Ron Rosenfeld wrote:
On 20 Dec 2006 19:40:40 -0800, wrote:

I'm using data that has been exported out of a proprietary database
into excel. The dates are formatted as "General" and no matter what I
do, I cannot change them to "Date" format (or any other format for that
matter). Has anybody encountered this?

The dates are probably TEXT. (see what you get with a formula
=ISTEXT(cell_ref)

There are a number of methods to convert them, depending on how your data
is
set up.

If the data is in a column, and if you select Data/Text to Columns, you
may be
able to change the format appropriately at Step 3.

If that doesn't work, post more details.
--ron



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 422
Default General Format to Date Format

Your a1 cell must contain something other than (example) 9/25/06 or
'9/25/06 -- If "9/25/06" remove the " "'s using
Replace What "
With (leave Blank)
Replace all
HTH

" wrote in message
ups.com:

=Datevalue(A1) returns a #VALUE! error

JMay wrote:
With your current date (as text) in A1 enter in B1:
=DATEVALUE(A1) << will return a number where Istext(B1) = FALSE
Format B1 as Date;
HTH

" wrote in message
ps.com:

ISTEXT Formula returns a TRUE value
But the Data/Text to Columns function was not successful in changing
the format

Ron Rosenfeld wrote:
On 20 Dec 2006 19:40:40 -0800, wrote:

I'm using data that has been exported out of a proprietary database
into excel. The dates are formatted as "General" and no matter what I
do, I cannot change them to "Date" format (or any other format for that
matter). Has anybody encountered this?

The dates are probably TEXT. (see what you get with a formula
=ISTEXT(cell_ref)

There are a number of methods to convert them, depending on how your data is
set up.

If the data is in a column, and if you select Data/Text to Columns, you may be
able to change the format appropriately at Step 3.

If that doesn't work, post more details.
--ron


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
How to convert a month to a quarter ...... Epinn New Users to Excel 26 May 3rd 23 07:45 PM
Excel 2007 Date Format Problem terry Excel Discussion (Misc queries) 0 November 25th 06 06:16 AM
EASY cond format Date?? lmv Excel Discussion (Misc queries) 6 November 17th 06 02:09 AM
CSV Date Format and General Arrrggghhh-ness andyiain Excel Discussion (Misc queries) 2 February 10th 06 03:44 PM
format date in excel Nigel Excel Discussion (Misc queries) 2 September 15th 05 09:52 PM


All times are GMT +1. The time now is 07:26 PM.

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

About Us

"It's about Microsoft Excel"