Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Please help.
I want to convert a date serial number into a long date text string so that I caan incorporate in a concanenated statement. Whenever I use a cell wher i think I have done this the value that appears in the concat statement is the original serial number Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Suppose the serial number is in A2, then use in concatenation
=TEXT(A2,"dd.mm.yyyy") or use any other suitable date format! Regards, Stefi JGG ezt *rta: Please help. I want to convert a date serial number into a long date text string so that I caan incorporate in a concanenated statement. Whenever I use a cell wher i think I have done this the value that appears in the concat statement is the original serial number Thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It seems that this is not possible with standard function, but you can build
a custom function, e.g. Function DisplayedText(CellAddress As Object) DisplayedText = CellAddress.Text End Function The cell holding the concatenated text would look like ="The date is " & DisplayedText(A1) It would concatenate whatever is displayed in A1, i.e the formatted date and not the serial number. Nevertheless I understand if you would prefer using a standard function. I don't know why it's not there. Joerg "JGG" wrote in message ... Please help. I want to convert a date serial number into a long date text string so that I caan incorporate in a concanenated statement. Whenever I use a cell wher i think I have done this the value that appears in the concat statement is the original serial number Thanks |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Joerg
Excel has a standard function for this. ="The date is " & TEXT(A1,"mmmm d" &"," &"yyyy") Gord Dibben MS Excel MVP On Fri, 15 Sep 2006 11:48:12 +0900, "Joerg" wrote: It seems that this is not possible with standard function, but you can build a custom function, e.g. Function DisplayedText(CellAddress As Object) DisplayedText = CellAddress.Text End Function The cell holding the concatenated text would look like ="The date is " & DisplayedText(A1) It would concatenate whatever is displayed in A1, i.e the formatted date and not the serial number. Nevertheless I understand if you would prefer using a standard function. I don't know why it's not there. Joerg "JGG" wrote in message .. . Please help. I want to convert a date serial number into a long date text string so that I caan incorporate in a concanenated statement. Whenever I use a cell wher i think I have done this the value that appears in the concat statement is the original serial number Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting Text String to Separate Numbers | Excel Discussion (Misc queries) | |||
Help - Separating numbers appearing on the right of a text string | Excel Worksheet Functions | |||
EXTRACT NUMBERS FROM TEXT STRING | Excel Worksheet Functions | |||
Convert text numbers to numbers | Excel Worksheet Functions | |||
Removing numbers from the beginning of a text string | Excel Worksheet Functions |