Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I join 3 separate columns of dates

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default How do I join 3 separate columns of dates

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 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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default How do I join 3 separate columns of dates

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

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


Gord Dibben MS Excel MVP


On Tue, 10 Mar 2009 11:38:02 -0700, H8Workn
wrote:

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


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default How do I join 3 separate columns of dates

On Tue, 10 Mar 2009 11:38:02 -0700, H8Workn
wrote:

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
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I join 3 separate columns of dates

That worked perfectly...thx for the help!

Ron

"Elkar" wrote:

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 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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I join 3 separate columns of dates

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

"Gord Dibben" wrote:

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

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


Gord Dibben MS Excel MVP


On Tue, 10 Mar 2009 11:38:02 -0700, H8Workn
wrote:

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



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How do I join 3 separate columns of dates

Got the answer...thx.

"Ron Rosenfeld" wrote:

On Tue, 10 Mar 2009 11:38:02 -0700, H8Workn
wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Join multiple rows into columns Will Excel Discussion (Misc queries) 4 February 13th 09 03:35 AM
separate two dates from a text string into two separate cells Tacrier Excel Discussion (Misc queries) 3 October 13th 08 08:53 PM
How do I join a date and time that are in separate columns? jenn Excel Discussion (Misc queries) 5 May 30th 07 08:14 PM
join columns, keep both values FourPenny New Users to Excel 5 May 31st 05 01:36 AM
Convert three separate columns of values to dates jack Excel Worksheet Functions 3 February 3rd 05 11:30 PM


All times are GMT +1. The time now is 06:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"