+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    13

    Converting a month number to a month name

    Cell A1 has the month number e.g. 3
    I want to convert this to a month name e.g. March

    Could anyone please tell me if there is an easier way of doing this? I am currently doing it this way:

    =TEXT(DATEVALUE("1/"&A1&"/2000"),"mmmm")

    Thanks
    ---
    Last edited by marketshare; 03-09-2010 at 12:30 AM.

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,163

    Re: Converting a month number to a month name

    AFAIK, that is probably one of the easiest ways...

    Other ways, are the CHOOSE() Function..

    e.g. =CHOOSE(A1,"January","February","March", etc...)

    or you can have a list of numbers, 1 to 12 somewhere, with corresponding months next to them... then use a LOOKUP function

    e.g. =Lookup(A1,X1:Y12) where X1:Y12 contain the lookup table...

    yours could be shortened a little to:

    =TEXT("1/"&A1&"/2000"+0,"mmmm")
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0