display month only

A

aditya

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
 
J

Jacob Skaria

=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
 
D

David Biddulph

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.]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

date entry 10
date & month 6
Display entire number in cell 3
Filtered view of Visio Chart 0
date entry new 3
VBA Coding Help for Beginner 0
Formulating The Price with Various Condition and Counting 0
If, Or, and 5

Top