Unfortunately  *Month Function* returns *Month Index ( 1 to 12 )* not *Month
NAME*
Assuming A1 containts date data :  12/31/2011
Formula in B1  =MONTH(A1)  returns :  *12*  not  *"December"*

In vba you can used MonthName Function

Sub AboutMonth()
   Range("B1") = Month(Range("A1"))
   Range("C1") = *MonthName(Range("B1"))*
End Sub

In worksheet there is no MonthName  function

CMIIW



On Mon, May 9, 2011 at 2:44 AM, Nishant Sharma <leonish...@gmail.com> wrote:
*> Use Month formula
> open excel and copy this in A1
> 04-04-2011 =month(A1)
> Thanks
> Nishant
*>
> On Sun, May 8, 2011 at 4:48 PM, Rajesh K R <rajeshkainikk...@gmail.com>
> wrote:
>>
>> Hi Experts
>> If I want to get the name of month from  dates
>>  1/4/11    - April
>> 5/5/11   - May
>>
>> how I can I do it with a formula or code
>>
>> Regards
>>
>> Rajesh Kainikkara

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
Like our page on facebook , Just follow below link
http://www.facebook.com/discussexcel

Reply via email to