Date inconsistent help please :)

D

daisy

Is it possible to clean up a date field where someone was keeping an excel
sheet but the date field is a mess

For example he has
1998
2/2005
1/1/2010

We need all dates to be mm/dd/yyyy?

Is there a formula or update I could run against this so he's not going thru
3000 rows of data?

Thank you!
 
N

Noodnutt @ Work

Hi Daisy

It would depend greatly on how the cells in question have been originally
formatted, eg "TEXT", "GENERAL", or otherwise, that said, if the entire
column has been formatted as "DATE", then maybe not so bad.

Try this:

Select the entire column.

Format|Cells|Numbers|Custom

Select from list, or create your own.

Now, on the off chance the column has been formatted other than "DATE", then
you may need to wait for another of the more knowledeable guru's as that
would be beyond my knowing.

HTH

Regards
Mark.
 
F

Fred Smith

Something like this:
=--if(len(a1)<=4,"1/1/"&a1,if(len(a1)<8,"1/"&a1,a1)

Regards,
Fred
 

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

Top