ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Merging Cells when one cell is a date (https://www.excelbanter.com/excel-discussion-misc-queries/20072-merging-cells-when-one-cell-date.html)

Patti Bowles

Merging Cells when one cell is a date
 
I am trying to merge two cells using the formula: =A2&", "&B2. B2 is a date
and when it merges it switches the date to a series of numbers. I have tried
changing the cell formating but I don't seem to be able to get it to merge
the date without loosing it's formating.

Any help would be appreciated.

Jason Morin

=A2&", "&TEXT(B2,"mm/dd/yy")

HTH
Jason
Atlanta, GA

-----Original Message-----
I am trying to merge two cells using the formula:

=A2&", "&B2. B2 is a date
and when it merges it switches the date to a series of

numbers. I have tried
changing the cell formating but I don't seem to be able

to get it to merge
the date without loosing it's formating.

Any help would be appreciated.
.


Duke Carey

try

=A2&text(b2,"mm/dd/yy")

Duke


"Patti Bowles" wrote:

I am trying to merge two cells using the formula: =A2&", "&B2. B2 is a date
and when it merges it switches the date to a series of numbers. I have tried
changing the cell formating but I don't seem to be able to get it to merge
the date without loosing it's formating.

Any help would be appreciated.



All times are GMT +1. The time now is 05:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com