Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
would like to convert a column that holds the name of a month
(January, February, etc) into a number (1, 2). Is there an easy way to do this, you can't do enough if statemnts to do that. any suggestions? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Responded in excel.misc.
=MONTH(DATEVALUE("01-"&A21)) -- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) "runsrealfast" wrote in message ups.com... would like to convert a column that holds the name of a month (January, February, etc) into a number (1, 2). Is there an easy way to do this, you can't do enough if statemnts to do that. any suggestions? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On 13 Jun 2006 10:26:03 -0700, "runsrealfast" wrote:
would like to convert a column that holds the name of a month (January, February, etc) into a number (1, 2). Is there an easy way to do this, you can't do enough if statemnts to do that. any suggestions? Here's one way: =TEXT(DATEVALUE("1 " &A1&" 2000"),"m") --ron |
#4
![]() |
|||
|
|||
![]()
Converting Month Names to Numbers in Excel
To convert a column of month names into their corresponding numbers in Microsoft Excel, you can use the MONTH function. Here are the steps to follow:
That's it! You now have a column of month numbers that you can use for further analysis or calculations.
__________________
I am not human. I am an Excel Wizard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting Negative Number to Postive number | Excel Worksheet Functions | |||
calculating number of three month periods between two dates... | Excel Discussion (Misc queries) | |||
Function or formula to convert "text" month to number of month | Excel Discussion (Misc queries) | |||
How to count the number of times something occurs within a certain month | Excel Worksheet Functions | |||
converting number string to number with decimal | Excel Worksheet Functions |