How do I join 3 separate columns of dates

  • Thread starter Thread starter H8Workn
  • Start date Start date
H

H8Workn

I want to join 3 separate date fields into one cell. Problem is it converts
the date to a serial number. How can I keep the date as a date and not as a
seriel number.

Example: 50: 16-Nov, 110: Sep-17, 180: 9-Jul

Formula: =$C$1&": "&C2&", "&$D$1&": "&D2&", "&$E$1&": "&E2
Result: 50: 39768, 110: 39708, 180: 39638
 
You can use the TEXT function:

=$C$1&": "&TEXT(C2,"d-mmm")&", "&$D$1&": "&TEXT(D2,"d-mmm")&", "&$E$1&":
"&TEXT(E2,"d-mmm")

HTH
Elkar
 
=$C$1&": "&TEXT(C2,"mm dd yyyy") etc.

The "mm dd yyyy" is whatever choice you want for display.


Gord Dibben MS Excel MVP
 
I want to join 3 separate date fields into one cell. Problem is it converts
the date to a serial number. How can I keep the date as a date and not as a
seriel number.

Example: 50: 16-Nov, 110: Sep-17, 180: 9-Jul

Formula: =$C$1&": "&C2&", "&$D$1&": "&D2&", "&$E$1&": "&E2
Result: 50: 39768, 110: 39708, 180: 39638

Use the TEXT worksheet function to properly format your output

Something like (not tested):

=c1&":"&text(c2, "d-mmm") & d1 .....
--ron
 
That worked perfectly...thx for the help!

Ron

Elkar said:
You can use the TEXT function:

=$C$1&": "&TEXT(C2,"d-mmm")&", "&$D$1&": "&TEXT(D2,"d-mmm")&", "&$E$1&":
"&TEXT(E2,"d-mmm")

HTH
Elkar
 
I had someone respond with =$C$1&": "&TEXT(C2,"d-mmm")..which gave me what I
was looking for ...thx
 
Got the answer...thx.

Ron Rosenfeld said:
Use the TEXT worksheet function to properly format your output

Something like (not tested):

=c1&":"&text(c2, "d-mmm") & d1 .....
--ron
 
Back
Top