From: daisy on
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!

--
Thank you in advance!!!!
From: Noodnutt on
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.





"daisy" <daisy(a)discussions.microsoft.com> wrote in message
news:7A0EA435-9081-47E2-A0D9-DA8A065F671D(a)microsoft.com...
> 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!
>
> --
> Thank you in advance!!!!



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

Regards,
Fred

"daisy" <daisy(a)discussions.microsoft.com> wrote in message
news:7A0EA435-9081-47E2-A0D9-DA8A065F671D(a)microsoft.com...
> 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!
>
> --
> Thank you in advance!!!!

From: daisy on
Thank you both - I'll find out and give these a try :)
--
Thank you in advance!!!!


"Fred Smith" wrote:

> Something like this:
> =--if(len(a1)<=4,"1/1/"&a1,if(len(a1)<8,"1/"&a1,a1)
>
> Regards,
> Fred
>
> "daisy" <daisy(a)discussions.microsoft.com> wrote in message
> news:7A0EA435-9081-47E2-A0D9-DA8A065F671D(a)microsoft.com...
> > 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!
> >
> > --
> > Thank you in advance!!!!
>
> .
>