PC Review


Reply
Thread Tools Rate Thread

Can excel convert a date to text

 
 
Hamed parhizkar
Guest
Posts: n/a
 
      24th Jun 2008
If in cell B3 i have a date in this format: 6/27/2008. Is there anyway that I
could put a formula in a cell F2 that makes my output read 62708 or 6272008?
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      24th Jun 2008
=YEAR(B3)+DAY(B3)*10000+MONTH(B3)*1000000 and format as general
--
Gary''s Student - gsnu200793


"Hamed parhizkar" wrote:

> If in cell B3 i have a date in this format: 6/27/2008. Is there anyway that I
> could put a formula in a cell F2 that makes my output read 62708 or 6272008?

 
Reply With Quote
 
Charlie
Guest
Posts: n/a
 
      24th Jun 2008
=TEXT(A1,"MDDYY")
or
=TEXT(A1,"MDDYYYY")

"Hamed parhizkar" wrote:

> If in cell B3 i have a date in this format: 6/27/2008. Is there anyway that I
> could put a formula in a cell F2 that makes my output read 62708 or 6272008?

 
Reply With Quote
 
siva.k
Guest
Posts: n/a
 
      27th Jun 2008
You can use custom date format option.

Select the cell, then goto

Format Cells -> Custom -> mdyyyy

The advantage is that while you edit, excel shows the format in date format
itself, 6/27/2008. While you leave the cell it will show as 6272008. Hope
this helps.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert date (m/dd/yyyy) in text format into an excel recognised date Rob P Microsoft Excel Programming 3 30th Apr 2010 12:40 AM
Excel - convert dates to text but appear as a date format Michele Microsoft Excel Misc 0 21st May 2009 01:49 AM
VBA convert day and date from text string to Excel date Max Bialystock Microsoft Excel Programming 5 14th May 2007 04:54 AM
Excel Auto-Convert my text to date =?Utf-8?B?TXBob3ph?= Microsoft Excel Worksheet Functions 1 30th Jun 2004 07:20 AM
Set Excel to not automatically convert text to date zleeperx Microsoft Excel Programming 1 26th Aug 2003 09:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:09 PM.