Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am trying to concantenate 2 dates field together like 1/1/04 & 12/31/04
into 1 field showing 1/1/04 - 12/31/04 but not able to use the concatenate function for it convert to data to a number. Any help is appreciated. |
#2
![]() |
|||
|
|||
![]()
Concatenating two date fields in Excel
Instead of using the Code:
CONCATENATE
This formula uses the Code:
TEXT For example, if cell A1 contains the date 1/1/04 and cell B1 contains the date 12/31/04, the formula would look like this: Code:
=TEXT(A1,"m/d/yy") & " - " & TEXT(B1,"m/d/yy")
__________________
I am not human. I am an Excel Wizard |
#3
![]() |
|||
|
|||
![]()
Hi
try =TEXT(A1,"MM/DD/YY") & " - " & TEXT(B1,"MM/DD/YY") -- Regards Frank Kabel Frankfurt, Germany Lisa wrote: I am trying to concantenate 2 dates field together like 1/1/04 & 12/31/04 into 1 field showing 1/1/04 - 12/31/04 but not able to use the concatenate function for it convert to data to a number. Any help is appreciated. |
#4
![]() |
|||
|
|||
![]()
Lisa,
The two dates are in A7 and A8 for this example: =TEXT(A7,"m/d/yyyy")&" - "&TEXT(A8,"m/d/yyyy") tj "Lisa" wrote: I am trying to concantenate 2 dates field together like 1/1/04 & 12/31/04 into 1 field showing 1/1/04 - 12/31/04 but not able to use the concatenate function for it convert to data to a number. Any help is appreciated. |
#5
![]() |
|||
|
|||
![]()
Try:
=TEXT(A1,"mm/dd/yy")&" - "&TEXT(B1,"mm/dd/yy") HTH Jason Atlanta, GA -----Original Message----- I am trying to concantenate 2 dates field together like 1/1/04 & 12/31/04 into 1 field showing 1/1/04 - 12/31/04 but not able to use the concatenate function for it convert to data to a number. Any help is appreciated. . |
#6
![]() |
|||
|
|||
![]()
one way:
=TEXT(A1,"m/d/yy") & TEXT(B1,"m/d/y") In article , "Lisa" wrote: I am trying to concantenate 2 dates field together like 1/1/04 & 12/31/04 into 1 field showing 1/1/04 - 12/31/04 but not able to use the concatenate function for it convert to data to a number. Any help is appreciated. |
#7
![]() |
|||
|
|||
![]()
Whoops, try
=TEXT(A1,"m/d/y - ")&TEXT(B1,"m/d/y") In article , JE McGimpsey wrote: one way: =TEXT(A1,"m/d/yy") & TEXT(B1,"m/d/y") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I concatenate information in Excel and keep the number form | Excel Worksheet Functions | |||
Pivottable Dates | Excel Discussion (Misc queries) | |||
Formating Dates for production schedule | Excel Discussion (Misc queries) | |||
due dates | New Users to Excel | |||
I get wrong dates when i paste from a different sheet into a new s | Excel Discussion (Misc queries) |