+ Reply to Thread
Results 1 to 2 of 2

Function or formula to convert "text" month to number of month?

  1. #1
    Steve Vincent
    Guest

    Function or formula to convert "text" month to number of month?

    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
    Kevin Vaughn
    Guest

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

    You're welcome.
    --
    Kevin Vaughn


    "Steve Vincent" wrote:

    > 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


+ 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