+ Reply to Thread
Results 1 to 2 of 2

[SOLVED] RE: Function or formula to convert "text" month to number of month

  1. #1
    Steve Vincent
    Guest

    [SOLVED] RE: Function or formula to convert "text" month to number of month

    Perfect! Thanks Kevin!
    Steve

    "Kevin Vaughn" wrote:

    > With April in B18, this worked for me:
    > =MONTH(DATEVALUE(B18 & " 1, 2006"))
    > --
    > Kevin Vaughn
    >
    >
    > "Steve Vincent" wrote:
    >
    > > Is there a function to convert the text name of a month (e.g., "April") to
    > > its corresponding number (e.g., "4")? If not, the only workaround I can
    > > think of would be a long, nested IF function (e.g., =IF(A1="January",
    > > "1",IF(A1="February", "2", . . . etc. . . ))))))))
    > >
    > > TIA for any help offered,
    > > Steve


  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Also...

    =MONTH(A1&"-0")

    with

    "Dec" or "december" etc. in A1

+ Reply to Thread

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