Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 14
Default Concantenate columns with dates and text

The first two columns in my spreadsheet are dates. The third is text. When
I try to concantenate, the dates turn into numbers.

Any advice would be greatly appreciated.
Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 245
Default Concantenate columns with dates and text

In Excel, dates are stored as the number of days since the last day of the
nineteenth century (i.e. 1/1/1901 is day 1). Times are recorded as a
fraction of a day. What you see when you type a date into Excel is that
underlying number subjected to a date format.

To work around this, you need to use the Text() function. This will change
your date value to a text date with your chosen format. For example to see
the A1 date in dd/mm/yyyy format together with the content of B1, use the
following:


=TEXT(A1,"dd/mm/yyyy") & " " & B1

--
Steve

"Dazed and Confused" wrote in
message ...
The first two columns in my spreadsheet are dates. The third is text.
When
I try to concantenate, the dates turn into numbers.

Any advice would be greatly appreciated.
Thank you.


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 265
Default Concantenate columns with dates and text

Use the TEXT function to return a date, formatted to display as desired.
For example, if A2 contains your first date, use something like the
following as part of your concatenation...

TEXT(A2,"mmm d, yyyy")

Change the format as desired.

Hope this helps!

http://www.xl-central.com

In article ,
Dazed and Confused wrote:

The first two columns in my spreadsheet are dates. The third is text. When
I try to concantenate, the dates turn into numbers.

Any advice would be greatly appreciated.
Thank you.

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 14
Default Concantenate columns with dates and text

It sure does! Thanks.

"Domenic" wrote:

Use the TEXT function to return a date, formatted to display as desired.
For example, if A2 contains your first date, use something like the
following as part of your concatenation...

TEXT(A2,"mmm d, yyyy")

Change the format as desired.

Hope this helps!

http://www.xl-central.com

In article ,
Dazed and Confused wrote:

The first two columns in my spreadsheet are dates. The third is text. When
I try to concantenate, the dates turn into numbers.

Any advice would be greatly appreciated.
Thank you.


  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 14
Default Concantenate columns with dates and text

Thank you!

"AltaEgo" wrote:

In Excel, dates are stored as the number of days since the last day of the
nineteenth century (i.e. 1/1/1901 is day 1). Times are recorded as a
fraction of a day. What you see when you type a date into Excel is that
underlying number subjected to a date format.

To work around this, you need to use the Text() function. This will change
your date value to a text date with your chosen format. For example to see
the A1 date in dd/mm/yyyy format together with the content of B1, use the
following:


=TEXT(A1,"dd/mm/yyyy") & " " & B1

--
Steve

"Dazed and Confused" wrote in
message ...
The first two columns in my spreadsheet are dates. The third is text.
When
I try to concantenate, the dates turn into numbers.

Any advice would be greatly appreciated.
Thank you.



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 columns with dates and text Dazed and Confused[_2_] Excel Discussion (Misc queries) 2 April 4th 09 01:04 PM
concantenate text to date lschuh Excel Discussion (Misc queries) 3 October 22nd 07 09:55 PM
Text to Columns not working correctly with dates in Excel 2007 AL123 Excel Discussion (Misc queries) 5 February 26th 07 11:44 PM
Concantenate Text with numbers with fixed form sunslight Excel Worksheet Functions 2 April 24th 05 01:39 AM
COUNTIF With Multiple Dates, Columns and Text Shannon Excel Worksheet Functions 4 November 26th 04 11:12 PM


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