Returning the month (mmm) from cell in date format dd/mm/yyyy

  • Thread starter Thread starter Colin Hayes
  • Start date Start date
C

Colin Hayes

HI

In C3 I have date in the form dd/mm/yyyy.

I'm trying to return this in A3 as mmm.

EG

12/04/2010 in C3 would return upper APR in A3

Can someone help with this?

Grateful for any advice.


BTW I'd then need to incorporate the code into an existing formula in A3
:

=IF(C3="","",UPPER(LEFT(M$3,3)&TEXT(ROW()-3,"000")&-'Purchase
Record'!$A$1))

where the date coding would replace the M$3 part so if someone can also
help with this too I'd be double grateful.
 
Ron Rosenfeld said:
Assuming that the entry is a normal Excel date, and not a text string, then:

=UPPER(TEXT(C3,"mmm"))

would return APR

HI

OK Thanks for your help. This works perfectly first time.


^_^


Best Wishes
 
Back
Top