Function for months name

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

is there in excel any function to get the month of a date in a cell and
return the month name like January, Feurary,...?

Thanks,
 
If the date is in a cell, you can format the cell with

Format/Cell/Number/Custom "mmmm"

If you really want a function:

=TEXT(<date>, "mmmm")
 
hi,

let suppose, there is date column and I have to pick up only month from date
column.
I m using =TEXT(<date>, "mmmm") formula but when i copy it down, it gives
the result January, how can i overcome it.

Thanks.....
 
Your dates may not be proper Excel dates - rather, they may be text
values that just look like dates.

Hope this helps.

Pete

hi,

let suppose, there is date column and I have to pick up only month from date
column.
I m using =TEXT(<date>, "mmmm") formula but when i copy it down, it gives
the result January, how can i overcome it.

Thanks.....



JE McGimpsey said:
If the date is in a cell, you can format the cell with
    Format/Cell/Number/Custom    "mmmm"
 
Hi Pete,

In both cases whether the cell format is date or text, it gives the result
1. i.e January when i copied the =TEXT(<date>, "mmmm") to other cells.

I repeat my question, suppose there is date column and i have to pickup
month only, when i copy =TEXT(<date>, "mmmm") to other cells and if cell is
blank in date column,the formula gives the result January and i dont need it
January where cell is blank in date column. Pls advise

Date Monty
15-Jul-08 July
January
January


B/Rgds
Saqib

Pete_UK said:
Your dates may not be proper Excel dates - rather, they may be text
values that just look like dates.

Hope this helps.

Pete
 

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

Back
Top