Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Cell A1 contains the date: December 31, 2008
I want cell A2 to display "Dec Before" I tried =A1&" Before" which returned: 39813 Before I tried =(MONTH(A1))&" Before" which returned: 12 Before I can format the date as Dec just fine until I add the &" Before" to it. When I add the &" Before" in the formula it forces the Dec to read as 12. How do I force the 12 back to read Dec? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In A2, try Custom formats
For example, the format mmmm "before" will yield December before "Joe" wrote: Cell A1 contains the date: December 31, 2008 I want cell A2 to display "Dec Before" I tried =A1&" Before" which returned: 39813 Before I tried =(MONTH(A1))&" Before" which returned: 12 Before I can format the date as Dec just fine until I add the &" Before" to it. When I add the &" Before" in the formula it forces the Dec to read as 12. How do I force the 12 back to read Dec? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way:
=TEXT(A1,"mmm B\efor\e") In article , Joe wrote: Cell A1 contains the date: December 31, 2008 I want cell A2 to display "Dec Before" I tried =A1&" Before" which returned: 39813 Before I tried =(MONTH(A1))&" Before" which returned: 12 Before I can format the date as Dec just fine until I add the &" Before" to it. When I add the &" Before" in the formula it forces the Dec to read as 12. How do I force the 12 back to read Dec? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
And if you just want to *display* Dec Before,
A2: =A1 Format A2 with Format/Cell/Number/Custom mmm B\efor\e In article , JE McGimpsey wrote: One way: =TEXT(A1,"mmm B\efor\e") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change Date Format to Specific Text Format When Copying | Excel Discussion (Misc queries) | |||
Convert date from text format to date format | Excel Discussion (Misc queries) | |||
Convert date + time text format to date format | Excel Worksheet Functions | |||
Concatenating a Text and a Date without losing orginal Date Format | Excel Discussion (Misc queries) | |||
Help: How do I convert a text date into a real date format | Excel Worksheet Functions |