#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default date format

How do I change "2006/10/02" to "20061002"
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,089
Default date format

If you are simply talking about how a date is displayed:

If it is formatted as yyy/mm/dd, Format as yyymmdd

If it is formatted as yyy/dd/mm, Format as yyyddmm

(I can't tell from the example)

Regards

Trevor


"EdJack" wrote in message
...
How do I change "2006/10/02" to "20061002"



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 380
Default date format

If it is a string, then

=SUBSTITUTE(A1,"/","")

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"EdJack" wrote in message
...
How do I change "2006/10/02" to "20061002"



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
Cell date format doesnt change Jon Excel Worksheet Functions 5 March 7th 06 04:52 PM
Enforcing a date format on a cell/column ProdigalShawne Excel Discussion (Misc queries) 1 February 22nd 06 07:13 PM
Change general format to US date format woodlot4 Excel Discussion (Misc queries) 3 October 11th 05 12:29 AM
Customized Date Format Frustrated Excel Worksheet Functions 5 October 7th 05 11:30 PM
Compare dates (one cell not in date format) craigcsb Excel Discussion (Misc queries) 5 June 28th 05 05:07 PM


All times are GMT +1. The time now is 02:15 PM.

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"