#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Date format....


When I format a column with mm/dd/yy, and then type the number 070706 in
the first cell, it sees the number as the number of days that has passed
since January 1, 1900, instead of 07/07/06. Is there a way to format the
column as a date so that when I do type the 070706 in a cell is displays
as the correct date? (07/07/06) Thanks, Shelly


--
ShellyD
------------------------------------------------------------------------
ShellyD's Profile: http://www.excelforum.com/member.php...o&userid=36167
View this thread: http://www.excelforum.com/showthread...hreadid=559476

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Date format....

Shelly

Are you game for some VBA?

See Chip Pearson's site.

http://www.cpearson.com/excel/DateTimeEntry.htm

Alternative...........

Start your date with an apostrophe '070706

When you have entered a great bunch of these use DataText to
ColumnsNextNextColumn Data FormatDateDMY or MDY to convert all.


Gord Dibben MS Excel MVP


On Fri, 7 Jul 2006 14:24:05 -0500, ShellyD
wrote:


When I format a column with mm/dd/yy, and then type the number 070706 in
the first cell, it sees the number as the number of days that has passed
since January 1, 1900, instead of 07/07/06. Is there a way to format the
column as a date so that when I do type the 070706 in a cell is displays
as the correct date? (07/07/06) Thanks, Shelly


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,047
Default Date format....

hi Shelly,

excel work with dates as a number, 07/07/2006 for eg is 38,905, and 1 is
01/01/1900.

you could use an auxiliar column to transform 070706 in a date with this
formula, but 070706 should format as a text:

=date(20&right(a2,2),left(a2,2),mid(a2,3,2))

assuming that the 070706 is on a2.

hth
regards from Brazil
Marcelo






"ShellyD" escreveu:


When I format a column with mm/dd/yy, and then type the number 070706 in
the first cell, it sees the number as the number of days that has passed
since January 1, 1900, instead of 07/07/06. Is there a way to format the
column as a date so that when I do type the 070706 in a cell is displays
as the correct date? (07/07/06) Thanks, Shelly


--
ShellyD
------------------------------------------------------------------------
ShellyD's Profile: http://www.excelforum.com/member.php...o&userid=36167
View this thread: http://www.excelforum.com/showthread...hreadid=559476


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 08:57 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"