Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EH003268
 
Posts: n/a
Default Date conversion formular


How can i change text 2/27/2002 12:00AM (cell F2) into this date
27/02/2002 ? (cellF3). Also 11/27/2002 12:00AM into 27/11/2002
Thanks


--
EH003268
------------------------------------------------------------------------
EH003268's Profile: http://www.excelforum.com/member.php...o&userid=11806
View this thread: http://www.excelforum.com/showthread...hreadid=525603

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stefi
 
Posts: n/a
Default Date conversion formular

USA:2/27/2002 UK:27/02/2002
Therefore you have to change the format in Windows/Control Panel/Regional
Settings from USA format to UK format.

To omit 12:00AM choose an approprite date format: "dd/mm/yyyy"


Regards,
Stefi

€žEH003268€ ezt Ã*rta:


How can i change text 2/27/2002 12:00AM (cell F2) into this date
27/02/2002 ? (cellF3). Also 11/27/2002 12:00AM into 27/11/2002
Thanks


--
EH003268
------------------------------------------------------------------------
EH003268's Profile: http://www.excelforum.com/member.php...o&userid=11806
View this thread: http://www.excelforum.com/showthread...hreadid=525603


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EH003268
 
Posts: n/a
Default Date conversion formular


Thanks for the reply, but i cannot change the format from text to date.
I am looking for a formuler that will delete the time, move the
position of the month from the front to the middle. Then i believe i
can change the format to Date.


--
EH003268
------------------------------------------------------------------------
EH003268's Profile: http://www.excelforum.com/member.php...o&userid=11806
View this thread: http://www.excelforum.com/showthread...hreadid=525603

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stefi
 
Posts: n/a
Default Date conversion formular

Not nice, but works:

=RIGHT("0"&MID(F2,SEARCH("/",F2)+1,SEARCH("/",F2,SEARCH("/",F2)+1)-SEARCH("/",F2)),SEARCH("/",F2)+1)&RIGHT("0"&LEFT(F2,SEARCH("/",F2)),3)&MID(F2,SEARCH("/",F2,SEARCH("/",F2)+1)+1,4)


Regards,
Stefi

€žEH003268€ ezt Ã*rta:


Thanks for the reply, but i cannot change the format from text to date.
I am looking for a formuler that will delete the time, move the
position of the month from the front to the middle. Then i believe i
can change the format to Date.


--
EH003268
------------------------------------------------------------------------
EH003268's Profile: http://www.excelforum.com/member.php...o&userid=11806
View this thread: http://www.excelforum.com/showthread...hreadid=525603


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default Date conversion formular

On Thu, 23 Mar 2006 02:48:49 -0600, EH003268
wrote:


How can i change text 2/27/2002 12:00AM (cell F2) into this date
27/02/2002 ? (cellF3). Also 11/27/2002 12:00AM into 27/11/2002
Thanks



=DATE(MID(F2,FIND("/",F2,4)+1,4),LEFT(
F2,FIND("/",F2)-1),MID(F2,FIND("/",F2)+1,
FIND("/",F2,4)-1-FIND("/",F2)))

will convert the text to an Excel date serial number. You can then format it
however you wish. (e.g. Format/Cells/Number Custom Type: dd/mm/yyyy)


--ron


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EH003268
 
Posts: n/a
Default Date conversion formular


Thanks for the replies
The solution from Stefi worked but it put some 0's in front of some
cells.
The solution from Ron worked a teat.
Thanks again
Clayton


--
EH003268
------------------------------------------------------------------------
EH003268's Profile: http://www.excelforum.com/member.php...o&userid=11806
View this thread: http://www.excelforum.com/showthread...hreadid=525603

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default Date conversion formular

On Thu, 23 Mar 2006 06:05:22 -0600, EH003268
wrote:


Thanks for the replies
The solution from Stefi worked but it put some 0's in front of some
cells.
The solution from Ron worked a teat.
Thanks again
Clayton


You're welcome.

Thanks for the feedback.

I don't believe, as Stefi wrote, that there is any need to change the
Windows/Control Panel/Regional settings to do what you wanted, either.
--ron
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Date conversion formular

How can i change text 2/27/2002 12:00AM (cell F2) into this date
27/02/2002 ? (cellF3). Also 11/27/2002 12:00AM into 27/11/2002


You have been given options to use formula that will work.
A manual alternative that I have used is the Text to Columns command

Work on a backup to get used to the method.

Select the single column range with the text you wish to change.
Data\Text to Columns
Delimited, Next
Delimited by Space, Next
For Column 1
Column Data Format MDY
For Column 2
Skip
You can select a different destination, The default is to overwrite.
Finish.

You are now, hopefully, left with true Excel dates in whatever your
default format is.

hth RES
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sloth
 
Posts: n/a
Default Date conversion formular

=DATEVALUE(LEFT(F2,FIND(" ",F2)-1))

set the format to custom and insert this...
d/m/yyyy

"EH003268" wrote:


How can i change text 2/27/2002 12:00AM (cell F2) into this date
27/02/2002 ? (cellF3). Also 11/27/2002 12:00AM into 27/11/2002
Thanks


--
EH003268
------------------------------------------------------------------------
EH003268's Profile: http://www.excelforum.com/member.php...o&userid=11806
View this thread: http://www.excelforum.com/showthread...hreadid=525603


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
Insert Automatic, Non-Updating Date Stamp Ken Zenachon Excel Discussion (Misc queries) 8 January 18th 06 06:52 PM
any formular to deduct an amount automatically on a given date? Arif Excel Discussion (Misc queries) 1 January 15th 06 05:32 PM
Calculate 1st of month date from existing date. Jim15 Excel Discussion (Misc queries) 1 January 9th 06 10:05 PM
Date Conversion jdmcleod Excel Discussion (Misc queries) 2 March 20th 05 12:12 AM
unwanted number to date conversion while pasting data from web Jacek Excel Worksheet Functions 1 February 24th 05 02:59 PM


All times are GMT +1. The time now is 02:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"