Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
When using & and a date-formatted cell in a formula I lose the for
Hi all,
If I have a serial number (such as 39401) representing a date, and formatting a date) which displays 11/15/2007 in A2, and I want to join that with text in a cell A3 using the following formula: ="Start Date: "&A2 The result is: Start date: 39401 Not: Start date: 11/15/2007 So I understand that Excel loses the formatting of the number in the cell as soon as I use the & to concantenate text to it, but I can't find a function that will turn the value (39401) into a date when used in a formula... Any ideas? TIA, Jeff |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
When using & and a date-formatted cell in a formula I lose the for
Hi Jeff,
="Start Date: "&TEXT(A2,"mm/dd/yyyy") -- Kind regards, Niek Otten Microsoft MVP - Excel "Jeff Stouse" wrote in message ... | Hi all, | | If I have a serial number (such as 39401) representing a date, and | formatting a date) which displays 11/15/2007 in A2, and I want to join that | with text in a cell A3 using the following formula: | | ="Start Date: "&A2 | | The result is: | | Start date: 39401 | | Not: | | Start date: 11/15/2007 | | So I understand that Excel loses the formatting of the number in the cell as | soon as I use the & to concantenate text to it, but I can't find a function | that will turn the value (39401) into a date when used in a formula... | | Any ideas? | | TIA, | Jeff | |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
When using & and a date-formatted cell in a formula I lose thefor
Try it this way:
="Start Date: "&TEXT(A2,"mm/dd/yyyy") Hope this helps. Pete On Dec 5, 8:39 pm, Jeff Stouse wrote: Hi all, If I have a serial number (such as 39401) representing a date, and formatting a date) which displays 11/15/2007 in A2, and I want to join that with text in a cell A3 using the following formula: ="Start Date: "&A2 The result is: Start date: 39401 Not: Start date: 11/15/2007 So I understand that Excel loses the formatting of the number in the cell as soon as I use the & to concantenate text to it, but I can't find a function that will turn the value (39401) into a date when used in a formula... Any ideas? TIA, Jeff |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
When date changes I lose my data | Excel Discussion (Misc queries) | |||
Formula fails in text formatted cell | Excel Worksheet Functions | |||
how do i add 1 year to a date formatted cell? | Excel Worksheet Functions | |||
Converting 'General' formatted cells to Text formatted cell using. | Excel Worksheet Functions | |||
reference the result of a formula in a text formatted cell | Excel Discussion (Misc queries) |