Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I'm trying to format a field in an Excel Spreadsheet in such a way that it
displays a month name rather than a month number. For Example, if a cell contains 8, I want the cell to show as August. Conditional formatting only allows me 3 levels of condtions and isn't therefore suitable. |
#2
![]() |
|||
|
|||
![]()
I don't think you're gonna be able to use formatting for this.
But you could use a helper cell: =date(2005,a1,1) if A1 contained the month number. Format this cell as MMMM and you can keep the value as a real date. or =text(date(2005,a1,1),"MMMM") If you want the text string for the month. Phil Hart wrote: I'm trying to format a field in an Excel Spreadsheet in such a way that it displays a month name rather than a month number. For Example, if a cell contains 8, I want the cell to show as August. Conditional formatting only allows me 3 levels of condtions and isn't therefore suitable. -- Dave Peterson |
#3
![]() |
|||
|
|||
![]() Because of the way Excel interprets dates, the number 8, by itself, cannot be formatted as August. You can, however, use a helper column to generate your desired output. Place this formula in your helper column and FormatCustomMMMM =(A1&"/01/2005")*1 If A1=8, "August" is returned If A1=12, "December" is returned. Adjust the cell reference as needed. Good Luck. Bruce -- swatsp0p ------------------------------------------------------------------------ swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101 View this thread: http://www.excelforum.com/showthread...hreadid=380533 |
#4
![]() |
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Range Value issue (Excel 97 Vs Excel 2003) | Excel Discussion (Misc queries) | |||
Show month in different color? | Excel Discussion (Misc queries) | |||
in excel how can I get the number to show instead to #value in th. | Excel Worksheet Functions | |||
how to get week number in month in excel ? | Charts and Charting in Excel | |||
Pivot Table - Group by Month - Show Items with no data | Excel Discussion (Misc queries) |