General Format to Date Format

W

weinstein.greg

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?
 
R

Ron Rosenfeld

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
 
W

weinstein.greg

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

weinstein.greg

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

JMay

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
 
W

weinstein.greg

=Datevalue(A1) returns a #VALUE! error
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
 
D

David Biddulph

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?
 
J

JMay

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
 
R

Ron Rosenfeld

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

Did you match the format at step 3 to the format of your input?
--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top