+ Reply to Thread
Results 1 to 3 of 3

How to convert Month Name to a 2 Digit Month Number

Hybrid View

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2016
    Posts
    68

    How to convert Month Name to a 2 Digit Month Number

    I've been able to find this formula to convert the month name to a number [=MONTH(DATEVALUE(A2&" 1"))], but I need the month to be digit. So January needs to equal 01....not 1. I was unsuccessful trying to nest TEXT into the formula. I will take any suggestions!!

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,998

    Re: How to convert Month Name to a 2 Digit Month Number

    A
    B
    1
    JANUARY
    01


    B1=MONTH(A1&0)

    B1 Custom formats 00

  3. #3
    Registered User
    Join Date
    08-01-2012
    Location
    Ohio
    MS-Off Ver
    Excel 2016
    Posts
    68

    Re: How to convert Month Name to a 2 Digit Month Number

    Perfect, thank you! I knew there had to be an easy solution I was overlooking.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to convert month and year to the number of the month
    By parsenov in forum Excel General
    Replies: 3
    Last Post: 12-10-2019, 04:57 PM
  2. [SOLVED] Macro Recognizes Single Digit Month (ex: Jun = 6) But Not Double Digit Month (Nov = 11) ??
    By Logit in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-19-2019, 04:04 PM
  3. [SOLVED] Formula to convert Month name to digit
    By rizmomin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-02-2017, 09:05 PM
  4. [SOLVED] Convert two digit month (ex 10) to full Month Name in Variable
    By orozvik in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-30-2015, 05:42 PM
  5. [SOLVED] Excel 2007 : How to convert month number to month name
    By FDibbins in forum Excel General
    Replies: 14
    Last Post: 04-08-2014, 12:42 AM
  6. Convert the number of the Month to the Name of the Month-
    By thursday140 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-24-2013, 06:13 AM
  7. how to convert single digit to month name
    By cygnus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-27-2006, 05:40 PM

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.6.0 RC 1