Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a column of dates formatted as mm/dd/yy. I want to add another column
that returns the month in two characters (i.e. 7/31/95 would return 07). I am using the month function but it only returns one character (i.e.7). Does anyone have any suggestions? thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In the cell you have the MONTH() function:
<Format<Cells Click over to the "Number" tab Click on "Custom" Enter "00" (without the quotes) -- Regards, Dave "Mo" wrote: I have a column of dates formatted as mm/dd/yy. I want to add another column that returns the month in two characters (i.e. 7/31/95 would return 07). I am using the month function but it only returns one character (i.e.7). Does anyone have any suggestions? thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks, it worked perfectly.
"David Billigmeier" wrote: In the cell you have the MONTH() function: <Format<Cells Click over to the "Number" tab Click on "Custom" Enter "00" (without the quotes) -- Regards, Dave "Mo" wrote: I have a column of dates formatted as mm/dd/yy. I want to add another column that returns the month in two characters (i.e. 7/31/95 would return 07). I am using the month function but it only returns one character (i.e.7). Does anyone have any suggestions? thanks |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
See if one of these will work for you:
For a date in A1 B1: =TEXT(MONTH(A1),"00") OR B1: =MONTH(A1) FormatCellsNumber tab Category: Custom Type: 00 Click the [OK] button Does that help? *********** Regards, Ron XL2002, WinXP-Pro "Mo" wrote: I have a column of dates formatted as mm/dd/yy. I want to add another column that returns the month in two characters (i.e. 7/31/95 would return 07). I am using the month function but it only returns one character (i.e.7). Does anyone have any suggestions? thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formatting for 15th and last day of the month | Excel Worksheet Functions | |||
Using Match function with duplicate values in an array | Excel Worksheet Functions | |||
formatting date-time values in macro | Excel Worksheet Functions | |||
Summing Values In Current Month Only | Excel Worksheet Functions | |||
Sum values by month | Excel Worksheet Functions |