Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 47
Default Converting date into plain text

Folks,
I have a small problem. Let's say I have January 22, 2004 in one cell. Now
this is set up as a Date format. Is there a way I can convert it into text
so that I can do, for example, a left() function that's going to ask for the
first 3 characters in that cell..i.e. bring back "Jan".
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Converting date into plain text

You could...

But maybe it would just be easier to use:
=text(a1,"mmm")
to return that 3 character abbreviation.

But you could use something like:
=left(text(a1,"mmmm dd, yyyy"),3)
To extract characters from the formatted value.




Shams wrote:

Folks,
I have a small problem. Let's say I have January 22, 2004 in one cell. Now
this is set up as a Date format. Is there a way I can convert it into text
so that I can do, for example, a left() function that's going to ask for the
first 3 characters in that cell..i.e. bring back "Jan".


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default Converting date into plain text

Hi

=TEXT(A1,"mmm")


Arvi Laanemets


"Shams" wrote in message
...
Folks,
I have a small problem. Let's say I have January 22, 2004 in one cell.
Now
this is set up as a Date format. Is there a way I can convert it into
text
so that I can do, for example, a left() function that's going to ask for
the
first 3 characters in that cell..i.e. bring back "Jan".



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
converting date to text TB Excel Worksheet Functions 1 July 16th 07 12:30 PM
Converting TEXT to DATE GFH Excel Worksheet Functions 3 January 4th 07 01:29 PM
Converting text into Date Value Shams Excel Worksheet Functions 1 December 14th 05 09:42 PM
Converting text into Date Value Ron Coderre Excel Worksheet Functions 0 December 14th 05 09:10 PM
Converting number or text to a Date Format samhain New Users to Excel 2 October 17th 05 02:28 PM


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