IF or VLOOKUP - help please .....

E

Eán

I have a coloum of dates dd/mm/yyyy and would like to return in a separate
coloum the month eg, dd/04/yyyy = 'APRIL' can you let me know what formula I
would need to used to do that please & thank you.
 
R

Roger Govier

Hi Ean

With your starting date in A1
Either
=A1 but format the cell Format>Cell>Number>Custom>mmm
This will still retain the date as a serial number but display it as Apr
Or
=TEXT(A1,"mmm")
This will create a text value of Apr
Copy down the rest of the column as required.
 
D

David Biddulph

As =TEXT(A1,"mmm") gives Apr, you may want to change it to =TEXT(A1,"mmmm")
to get April, or to =UPPER(TEXT(A1,"mmmm")) to get APRIL.
 
J

Jacob Skaria

and to handle blanks...

=IF(A1,TEXT(A1,"mmmm"),"")

If this post helps click Yes
 
R

Roger Govier

Thanks Jacob and David

Both excellent points.
I had misread the requirement for the full month name.
 

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

Top