Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How I can convert 21-05-2007 to text May ?
|
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=text(a1,"mmm")
or =text(a1,"mmmm") if A1 contains the date. Or you could just give the cell a custom format of: MMM or MMMM The date will still be in the cell (in the formula bar), but you'll see the month (or month abbreviation). Miguel wrote: How I can convert 21-05-2007 to text May ? -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=LOOKUP((MID(A1,FIND("-",A1,1)+1,2)*1),{1,2,3,4,5,6,7,8,9,10,11,12},{"Jan uary","February","March","April","May","June","Jul y","August","September","October","November","Dece mber"})
All on one line, watch out for word-wrap. Vaya con Dios, Chuck, CABGx3 "Miguel" wrote: How I can convert 21-05-2007 to text May ? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Chuck,
Thanks for your help but give me an error. Should replace "," by ";" ? Thanks Miguel "CLR" wrote: =LOOKUP((MID(A1,FIND("-",A1,1)+1,2)*1),{1,2,3,4,5,6,7,8,9,10,11,12},{"Jan uary","February","March","April","May","June","Jul y","August","September","October","November","Dece mber"}) All on one line, watch out for word-wrap. Vaya con Dios, Chuck, CABGx3 "Miguel" wrote: How I can convert 21-05-2007 to text May ? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Could be..........if you're using other than a U.S. version of
Excel...........give it a try. Vaya con Dios, Chuck, CABGx3 "Miguel" wrote: Hi Chuck, Thanks for your help but give me an error. Should replace "," by ";" ? Thanks Miguel "CLR" wrote: =LOOKUP((MID(A1,FIND("-",A1,1)+1,2)*1),{1,2,3,4,5,6,7,8,9,10,11,12},{"Jan uary","February","March","April","May","June","Jul y","August","September","October","November","Dece mber"}) All on one line, watch out for word-wrap. Vaya con Dios, Chuck, CABGx3 "Miguel" wrote: How I can convert 21-05-2007 to text May ? |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
did you try to use the cell formating to do this? If you need the date in
one field and to show May in another then you could have the date in one cell, reference that from another cell and have the second one formated to only show the MAY. You might have to change the way you put the date in since the format of the date is generally recognized as the month first not the day. "Miguel" wrote: How I can convert 21-05-2007 to text May ? |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi
If I use Format Cells I will have a problem with pivot tables . I need to transform a date in a pure text . Thanks Miguel "Balzyone" wrote: did you try to use the cell formating to do this? If you need the date in one field and to show May in another then you could have the date in one cell, reference that from another cell and have the second one formated to only show the MAY. You might have to change the way you put the date in since the format of the date is generally recognized as the month first not the day. "Miguel" wrote: How I can convert 21-05-2007 to text May ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert Text to DATE | Excel Discussion (Misc queries) | |||
Help: How do I convert a text date into a real date format | Excel Worksheet Functions | |||
convert date to text | Excel Discussion (Misc queries) | |||
Convert a Date to Text? | Excel Worksheet Functions | |||
How to convert date to text | Excel Discussion (Misc queries) |