Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default concantenate text to date

I have 3 columns e2 month f2 day g2 year 5/15/7
How can I concantenate column e2+f2+g2 to get 5/15/07

thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default concantenate text to date

Do you want the result to be a date? Or text that looks like a date?

To get a date:

=DATE(G2,E2,F2)

To get text:

=TEXT(DATE(G2,E2,F2),"m/d/yy")

HTH,
Elkar


"lschuh" wrote:

I have 3 columns e2 month f2 day g2 year 5/15/7
How can I concantenate column e2+f2+g2 to get 5/15/07

thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default concantenate text to date

You can join each value by using the & to concatenate the text:

=E2&"/"&F2&"/"&G2

or if you want you can do the following:

=DATE(G2,E2,F2)

And then format the for the date format of your choice.
--
Kevin Backmann


"lschuh" wrote:

I have 3 columns e2 month f2 day g2 year 5/15/7
How can I concantenate column e2+f2+g2 to get 5/15/07

thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default concantenate text to date

the =text(date(xxxxx) worked. The first one just gave me what I typed in.
Probably the format in the cell was off. Thank you so much.

"Elkar" wrote:

Do you want the result to be a date? Or text that looks like a date?

To get a date:

=DATE(G2,E2,F2)

To get text:

=TEXT(DATE(G2,E2,F2),"m/d/yy")

HTH,
Elkar


"lschuh" wrote:

I have 3 columns e2 month f2 day g2 year 5/15/7
How can I concantenate column e2+f2+g2 to get 5/15/07

thanks.

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
Concantenate numeric fields Pa Maher Excel Worksheet Functions 10 January 17th 07 01:50 PM
Concantenate Help Terri Excel Worksheet Functions 4 March 31st 06 06:53 PM
Why won't Excel let me copy and paste my concantenate formula now Jennifer Excel Worksheet Functions 3 February 6th 06 04:14 PM
concantenate formula? billygalkowski Excel Discussion (Misc queries) 3 December 19th 05 08:19 PM
Concantenate Text with numbers with fixed form sunslight Excel Worksheet Functions 2 April 24th 05 01:39 AM


All times are GMT +1. The time now is 05:18 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"