#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 54
Default display month only

in cell A1 data is of 10 digit whose last 6 digit is in the form of ddmmyy.
i want to display only month name in cell B1

e.g. A1 B1
ACSD280509 MAY
RESG120309 MARCH
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default display month only

=TEXT(DATE(VALUE("20" & RIGHT(A1,2)),MID(A1,7,2),MID(A1,5,2)),"MMM")

To convert that to date
=DATE(VALUE("20" & RIGHT(A1,2)),MID(A1,7,2),MID(A1,5,2))

If this post helps click Yes
---------------
Jacob Skaria


"aditya" wrote:

in cell A1 data is of 10 digit whose last 6 digit is in the form of ddmmyy.
i want to display only month name in cell B1

e.g. A1 B1
ACSD280509 MAY
RESG120309 MARCH

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default display month only

=UPPER(TEXT(MID(A1,7,2),"mmmm"))


On 29 Maj, 08:20, aditya wrote:
in cell A1 data is of 10 digit whose last 6 digit is in the form of ddmmyy.
i want to display *only month name in cell B1

e.g. *A1 * * * * * * * * * B1
ACSD280509 * * * * * MAY
RESG120309 * * * * * MARCH


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default display month only

oops, sorry

corrected:

=UPPER(DATE(1,TEXT(MID(A1,7,2),1),"mmmm"))




On 29 Maj, 08:36, Jarek Kujawa wrote:
=UPPER(TEXT(MID(A1,7,2),"mmmm"))

On 29 Maj, 08:20, aditya wrote:



in cell A1 data is of 10 digit whose last 6 digit is in the form of ddmmyy.
i want to display *only month name in cell B1


e.g. *A1 * * * * * * * * * B1
ACSD280509 * * * * * MAY
RESG120309 * * * * * MARCH- Ukryj cytowany tekst -


- Pokaż cytowany tekst -


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default display month only

Er, no, Jarek.
The numbers 05 and 03 (from your use of MID) both return JANUARY from the
TEXT function, as they represent the dates 5 Jan 1900 and 3 Jan 1900
respectively.
Perhaps =UPPER(TEXT(TEXT(MID(A1,5,6),"00\-00\-00"),"mmmm")) ? [But this
relies on the appropriate setting of Windows Regional Options.]
--
David Biddulph

"Jarek Kujawa" wrote in message
...
=UPPER(TEXT(MID(A1,7,2),"mmmm"))


On 29 Maj, 08:20, aditya wrote:
in cell A1 data is of 10 digit whose last 6 digit is in the form of
ddmmyy.
i want to display only month name in cell B1

e.g. A1 B1
ACSD280509 MAY
RESG120309 MARCH



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
MONTH display andrew Excel Discussion (Misc queries) 6 July 11th 08 05:55 AM
Display each day of the month WH99 Excel Discussion (Misc queries) 4 June 22nd 08 10:07 PM
I want a the to display the Month name only. Nothing else. DAiuto Setting up and Configuration of Excel 3 September 27th 07 12:19 AM
Display Month - 1 HearSay Excel Worksheet Functions 10 September 30th 06 05:18 AM
Display every 3rd category name but still display latest month maryj Charts and Charting in Excel 1 September 24th 06 09:05 PM


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