• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Find Month Using Dates

nandhamnk

New Member
Dear All,


I need help on identifying month based on dates.

Example,


12/7/2012 - July-12 (Answer)

If Date is blank,formula should also blank.
 
If you're wanting to know month and year, I think this will work for you.

=IF(ISNUMBER(A2),TEXT(A2,"mmm-yy"),"")
 
Hi nandhamnk,


Use
Code:
=IF(ISBLANK(A1),"",TEXT(A1,"MMMM-YY")) or you can use =IF(ISBLANK(A1),"",MONTH(A1))
it will gives you only 7 in case of JULY..


Regards,

Deb
 
Hi,


Can you please try the below formula.


=IF(A1>0,TEXT(A1,"mmmm"&" "&"yyyy")," ")


Thanks,

Suresh Kumar S
 
Back
Top