Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Date inconsistent help please :)

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!!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Date inconsistent help please :)

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" wrote in message
...
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!!!!




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Date inconsistent help please :)

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

Regards,
Fred

"daisy" wrote in message
...
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!!!!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Date inconsistent help please :)

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" wrote in message
...
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!!!!


.

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
inconsistent autofit annoni Excel Discussion (Misc queries) 0 March 30th 09 08:24 PM
Calculation inconsistent PMBO Excel Discussion (Misc queries) 4 December 2nd 08 04:12 PM
Date pasted web site causing inconsistent date format lilhoot Excel Worksheet Functions 3 October 3rd 08 09:12 PM
Date formatting inconsistent Chuck Excel Worksheet Functions 2 October 1st 07 09:26 PM
3-d referencing inconsistent duncan79 Excel Discussion (Misc queries) 5 January 25th 06 05:39 PM


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