CONCATENATE

Digitborn.com

Active Member
Joined
Apr 3, 2007
Messages
353
Hello,

In Excel 2003 Cell when I write a formula with CONCATENATE function i meet a problem. The problem is when I try to CONCATENATE cells which includes formats as Date and Time. It automatically format the cell in General format and then CONCATENATEs it. So, I can see some digits except dates and times values. Can you advice on this?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Lewiy

Well-known Member
Joined
Jan 5, 2007
Messages
4,284
To combine A1 (containing a date) and B1 (containing text), use the TEXT function to specify the output format of the cell value. You can use any valid number format between the quotes:
Code:
=CONCATENATE(TEXT(A1,"dd/mm/yyyy"),B1)
 
Upvote 0

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
59,294
Office Version
  1. 365
Platform
  1. Windows
Not quite sure what your original cells have in them or which cells they are, but maybe something along these lines?
=CONCATENATE(TEXT(A1,"d/mm/yy h:mm")," , ",TEXT(B1,"d/mm/yy h:mm"))
or this?
=CONCATENATE(TEXT(A1,"d/mm/yy")," ",TEXT(B1,"h:mm"))
 
Upvote 0

Forum statistics

Threads
1,191,516
Messages
5,987,014
Members
440,074
Latest member
Emmanuelian

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top