Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


Excel - Convert a full date into just a month

Excel - Convert a full date into just a month

I need to pull a series of dates into days, months and years: ie. 25/01/03 into 25, 01, 2003 in 3 columns. I can get 25/01/03 to display as "January" by choosing a custom format (mmmm), but the underlying value is unchanged. If I "paste value" I get 37646. Is there a robust way of turning that 37646 into an actual value of 1 that really changes it, not just the way that it is displayed?


p.s. I need to do it this way because I am merging the single-date data with some data that displays dates in 3 columns.

RE: Excel - Convert a full date into just a month

try yourcell = Month(date)

Never knock on Death's door: ring the bell and run away! Death really hates that!

RE: Excel - Convert a full date into just a month

Also see DAY and YEAR for your other columns.

Cheers, Glenn.

Did you hear about the literalist show-jumper?  He broke his nose jumping against the clock.

RE: Excel - Convert a full date into just a month

This is not going to change the date value but I find it useful:
date in A1: CellB1: =A1, and format the column as "mm" it will give you your number.


RE: Excel - Convert a full date into just a month

You can also uset the TEXT function...


for various results.

I almost ALWAYS prefer to KEEP the date.  If you can live with the first of the month, then...


and then FORMAT to show whatever you want.  But a REAL DATE has soooooooo many advanatages over any kind of STRING.


glassesI'll be dressed to the nines this week, as I go to have my prostatectomy...
Because, if I'm gonna BE impotent, I want to LOOK impotent!tongue

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close