#1   Report Post  
Ankur
 
Posts: n/a
Default date format

i have a sheet where in some cells the date are in ddmmyy format along with
text & in some cells mmddyy format along with text.

is there any command to change all in mmddyy format
  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sat, 20 Aug 2005 03:40:03 -0700, "Ankur"
wrote:

i have a sheet where in some cells the date are in ddmmyy format along with
text & in some cells mmddyy format along with text.

is there any command to change all in mmddyy format


You need to describe more precisely exactly what is in the cells, and how one
can tell the difference between a date that is in mmddyy format and a date that
is in ddmmyy format.

For example, if the cell contains 080505, how do we now whether this represents
8-May-2005 or 5-Aug-2005? (If you are going to automate this process, there
needs to be some kind of rule for the conversion).

Also, when you say there is the date along with text, what exactly is the
contents of the cell. i.e. what is in the formula bar? what does the cell
show if formatted as General?

I doubt the above can be done solely with a "command". However, there may be a
combination of command and formulas, or formulas alone, or a VBA routine, that
can accomplish your goals.


--ron
  #3   Report Post  
Gary Brown
 
Posts: n/a
Default

Give examples.
Are the dates in the same CELLS as the 'along with some text'?
If so, are the dates always in the same position?
If so, are the dates always the same length?
Can't help without this information.
--
Gary Brown




"Ankur" wrote:

i have a sheet where in some cells the date are in ddmmyy format along with
text & in some cells mmddyy format along with text.

is there any command to change all in mmddyy format

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
Compare dates (one cell not in date format) craigcsb Excel Discussion (Misc queries) 5 June 28th 05 05:07 PM
How do I keep the date from changing format in a mail merge? Brynn Wilson Excel Discussion (Misc queries) 1 June 9th 05 06:44 PM
Date format Jean-Francois Boucher Excel Discussion (Misc queries) 2 February 22nd 05 04:35 PM
USING THE DATE FORMAT IN EXCEL teach Excel Discussion (Misc queries) 3 December 14th 04 11:55 PM
Date format collapses diagram Richard H Excel Discussion (Misc queries) 3 December 14th 04 11:08 PM


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