![]() |
Formatting month values
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 |
Formatting month values
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 |
Formatting month values
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 |
Formatting month values
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 |
All times are GMT +1. The time now is 01:31 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com