Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Concatening a text and a date


Hi

I'm having trouble concatenating a text string with a date:

I cell a1 I have the date 03-may-06

In a different cell I have the function:
=CONCATENATE(" This date: ",a1)

which returns:

This date: 38840.

I can't seem to find a function that converts the serial back to the
date format that I entered.

I could use =CONCATENATE("This date: ",
DATE(YEAR(A1),MONTH(A1),DAY(A1)))

But that gives me
This date: 03/05/2006

Anyone?

/Møller


--
c991257
------------------------------------------------------------------------
c991257's Profile: http://www.excelforum.com/member.php...o&userid=36549
View this thread: http://www.excelforum.com/showthread...hreadid=563008

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Concatening a text and a date


=CONCATENATE(" This date: ",TEXT(A1,"dd-mmm-yy"))


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=563008

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 492
Default Concatening a text and a date

Try with the date in A1,
="This Date: "&TEXT(A1,"dd-mmm-yy")
Regards,
Alan.
"c991257" wrote in
message ...

Hi

I'm having trouble concatenating a text string with a date:

I cell a1 I have the date 03-may-06

In a different cell I have the function:
=CONCATENATE(" This date: ",a1)

which returns:

This date: 38840.

I can't seem to find a function that converts the serial back to the
date format that I entered.

I could use =CONCATENATE("This date: ",
DATE(YEAR(A1),MONTH(A1),DAY(A1)))

But that gives me
This date: 03/05/2006

Anyone?

/Møller


--
c991257
------------------------------------------------------------------------
c991257's Profile:
http://www.excelforum.com/member.php...o&userid=36549
View this thread: http://www.excelforum.com/showthread...hreadid=563008



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Concatening a text and a date


Thanks

/Møller


--
c991257
------------------------------------------------------------------------
c991257's Profile: http://www.excelforum.com/member.php...o&userid=36549
View this thread: http://www.excelforum.com/showthread...hreadid=563008

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
turn off convert text to date (i.e. 4-9 to April 9, 2006) [email protected] Excel Worksheet Functions 4 June 13th 06 04:25 PM
How do I grab the date from a text string? [email protected] Excel Worksheet Functions 4 June 6th 06 07:55 AM
Converting number or text to a Date Format samhain New Users to Excel 2 October 17th 05 02:28 PM
Macro to convert text to date Nortos Excel Worksheet Functions 2 May 11th 05 10:42 AM
EXTRACT TEXT FROM A DATE Ronbo Excel Worksheet Functions 5 February 1st 05 07:39 AM


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