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

Hello--

I had a column with dates and another with text labels.

I'd like to combine these and tried using this formula:

=D6&" "&I6

D6 = 7/4/2009
I6 = HOLIDAY

Is there any way to do this to get the actual date and not the numberical
value returned?

Thanks in advance for your help.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default combining dates and text in a cell

try
=TEXT(D6,"m/d/yy ") & I6
Notice that I've included the space for separation as part of the format for
the date, saving a little complexity of the formula. You can, of course, use
other formats for the date to get it displayed differently, such as:
=TEXT(D6,"d-mmm-yyyy ")&I6


"Cecilia" wrote:

Hello--

I had a column with dates and another with text labels.

I'd like to combine these and tried using this formula:

=D6&" "&I6

D6 = 7/4/2009
I6 = HOLIDAY

Is there any way to do this to get the actual date and not the numberical
value returned?

Thanks in advance for your help.


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
Combining text from several cells into 1 cell Rick Excel Worksheet Functions 4 October 23rd 09 01:29 PM
combining picture & text in a cell epg Excel Discussion (Misc queries) 0 March 25th 09 04:09 PM
combining 2 dates into 1 cell LT GLM Excel Worksheet Functions 3 March 31st 06 04:56 PM
Combining cell reference with text mattflow Excel Discussion (Misc queries) 5 December 5th 05 09:32 PM
Combining text and cell value to create a sentence StephanieH Excel Discussion (Misc queries) 4 June 13th 05 11:53 PM


All times are GMT +1. The time now is 05:48 AM.

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"