Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jvs jvs is offline
external usenet poster
 
Posts: 8
Default Format date to e.g. 2009.08.31

I can format the date to display this way if we enter it as a date (e.g.
8/4/2009) etc.

Is there a way to enter 20090831 (no punctuation) and still have it display
as 2009.08.31?

I've tried custom format ####.##.## - it comes out as 20090831..
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Format date to e.g. 2009.08.31

Hi,
use this custom format

0"."00"."00

if this helps please click yes thanks

"jvs" wrote:

I can format the date to display this way if we enter it as a date (e.g.
8/4/2009) etc.

Is there a way to enter 20090831 (no punctuation) and still have it display
as 2009.08.31?

I've tried custom format ####.##.## - it comes out as 20090831..

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Format date to e.g. 2009.08.31

Why do you need it in that format? If I knew how you where going to use the
the date then maybe I can suggest a different method.

"jvs" wrote:

I can format the date to display this way if we enter it as a date (e.g.
8/4/2009) etc.

Is there a way to enter 20090831 (no punctuation) and still have it display
as 2009.08.31?

I've tried custom format ####.##.## - it comes out as 20090831..

  #4   Report Post  
Posted to microsoft.public.excel.misc
jvs jvs is offline
external usenet poster
 
Posts: 8
Default Format date to e.g. 2009.08.31

Thanks Eduardo..works perfectly. If you have a second, could you explain to
me exactly how the (")'s affect the formatting?

"Eduardo" wrote:

Hi,
use this custom format

0"."00"."00

if this helps please click yes thanks

"jvs" wrote:

I can format the date to display this way if we enter it as a date (e.g.
8/4/2009) etc.

Is there a way to enter 20090831 (no punctuation) and still have it display
as 2009.08.31?

I've tried custom format ####.##.## - it comes out as 20090831..

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Format date to e.g. 2009.08.31

Jvs,

If you're doing this in code, it's:

Format(dateVariable or text, "yyyy.mm.dd")

If you're doing this with a worksheet formula, you want
=Text(Range, "yyyy.mm.dd")

John

"jvs" wrote:

I can format the date to display this way if we enter it as a date (e.g.
8/4/2009) etc.

Is there a way to enter 20090831 (no punctuation) and still have it display
as 2009.08.31?

I've tried custom format ####.##.## - it comes out as 20090831..



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Format date to e.g. 2009.08.31

JVS, please note that this is only displayed in this format (text format).
Excel do not treat this as a date entry.....

"jvs" wrote:

Thanks Eduardo..works perfectly. If you have a second, could you explain to
me exactly how the (")'s affect the formatting?

"Eduardo" wrote:

Hi,
use this custom format

0"."00"."00

if this helps please click yes thanks

"jvs" wrote:

I can format the date to display this way if we enter it as a date (e.g.
8/4/2009) etc.

Is there a way to enter 20090831 (no punctuation) and still have it display
as 2009.08.31?

I've tried custom format ####.##.## - it comes out as 20090831..

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Format date to e.g. 2009.08.31

Hi,
the "" are involving the dot, for example try a new custom format from this
one and between the " enter / instead of the . so now your date will look
like 2009/08/31

"jvs" wrote:

Thanks Eduardo..works perfectly. If you have a second, could you explain to
me exactly how the (")'s affect the formatting?

"Eduardo" wrote:

Hi,
use this custom format

0"."00"."00

if this helps please click yes thanks

"jvs" wrote:

I can format the date to display this way if we enter it as a date (e.g.
8/4/2009) etc.

Is there a way to enter 20090831 (no punctuation) and still have it display
as 2009.08.31?

I've tried custom format ####.##.## - it comes out as 20090831..

  #8   Report Post  
Posted to microsoft.public.excel.misc
jvs jvs is offline
external usenet poster
 
Posts: 8
Default Format date to e.g. 2009.08.31

Thanks everyone for all your very helpful information!! Much appreciated!

"Exceleration" wrote:

Jvs,

If you're doing this in code, it's:

Format(dateVariable or text, "yyyy.mm.dd")

If you're doing this with a worksheet formula, you want
=Text(Range, "yyyy.mm.dd")

John

"jvs" wrote:

I can format the date to display this way if we enter it as a date (e.g.
8/4/2009) etc.

Is there a way to enter 20090831 (no punctuation) and still have it display
as 2009.08.31?

I've tried custom format ####.##.## - it comes out as 20090831..

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Format date to e.g. 2009.08.31

If you wanted it converting to a date, try =--TEXT(A1,"0000\/00\/00") and
format as yyyy.mm.dd
--
David Biddulph

"Jacob Skaria" wrote in message
...
JVS, please note that this is only displayed in this format (text format).
Excel do not treat this as a date entry.....

"jvs" wrote:

Thanks Eduardo..works perfectly. If you have a second, could you explain
to
me exactly how the (")'s affect the formatting?

"Eduardo" wrote:

Hi,
use this custom format

0"."00"."00

if this helps please click yes thanks

"jvs" wrote:

I can format the date to display this way if we enter it as a date
(e.g.
8/4/2009) etc.

Is there a way to enter 20090831 (no punctuation) and still have it
display
as 2009.08.31?

I've tried custom format ####.##.## - it comes out as 20090831..



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
permanent conversion of 1904 date format to 1900 date format Jos Excel Worksheet Functions 4 November 26th 15 02:48 PM
How do I change a date fro 22 sept 09 to September 22, 2009 Sister Agnes Mary New Users to Excel 3 June 21st 09 01:49 AM
how can subtact or add Week 07/2009 in one column & Week 10/2009 . Pooja Excel Worksheet Functions 2 February 27th 09 07:07 AM
How create 365 labels for 2009? Example: Monday, Jan. 4, 2009 callmark1 Excel Discussion (Misc queries) 1 December 28th 08 09:14 AM
Cell won't accept date past year 2009 lbrown New Users to Excel 2 February 15th 06 01:51 PM


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