N nandhamnk New Member Oct 5, 2012 #1 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.
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.
Luke M Excel Ninja Staff member Oct 5, 2012 #2 If you're wanting to know month and year, I think this will work for you. =IF(ISNUMBER(A2),TEXT(A2,"mmm-yy"),"")
If you're wanting to know month and year, I think this will work for you. =IF(ISNUMBER(A2),TEXT(A2,"mmm-yy"),"")
Debraj Excel Ninja Oct 5, 2012 #3 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 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
S sdsurzh Member Oct 5, 2012 #4 Hi, Can you please try the below formula. =IF(A1>0,TEXT(A1,"mmmm"&" "&"yyyy")," ") Thanks, Suresh Kumar S
Hi, Can you please try the below formula. =IF(A1>0,TEXT(A1,"mmmm"&" "&"yyyy")," ") Thanks, Suresh Kumar S
N nazmul_muneer Member Oct 5, 2012 #7 Dear nandhamnk, You can try the formula =IF(NOT(ISBLANK(A1)),TEXT(A1,"mmmm-yy"),"") --Muneer