#1   Report Post  
22140
 
Posts: n/a
Default Concatenate Dates

I am trying to get cell A5 to read AL, Oct05- Feb06, but it currently reads
AL, 38777 38777. The formula i am using is
=IF(B6="","",IF(E6=0,CONCATENATE(B6,", ",C6),CONCATENATE(B6,",
",DATE(YEAR(E6),MONTH(E6),1)," ",E6)))

Any suggestions?????
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default Concatenate Dates

=if(b6="",",if(e6=0,concatenate(text(b6,MMMDD"),", ",text(c6,"MMMDD").....

Maybe that MMMDD should be MMMYY.

And you may want to use the & operator instead of =concatenate().

=if(b6="",",if(e6=0,text(b6,MMMDD")&", "&text(c6,"MMMDD").....



22140 wrote:

I am trying to get cell A5 to read AL, Oct05- Feb06, but it currently reads
AL, 38777 38777. The formula i am using is
=IF(B6="","",IF(E6=0,CONCATENATE(B6,", ",C6),CONCATENATE(B6,",
",DATE(YEAR(E6),MONTH(E6),1)," ",E6)))

Any suggestions?????


--

Dave Peterson
  #3   Report Post  
Gary Rowe
 
Posts: n/a
Default Concatenate Dates

Assuming your dates are in cell B1 and C1 use this formula"
="AL,"&TEXT(B2,"mmm-yy")&" "&TEXT(C2,"mmm-yy")
Modify to fit your cell locations.
Gary

"22140" wrote:

I am trying to get cell A5 to read AL, Oct05- Feb06, but it currently reads
AL, 38777 38777. The formula i am using is
=IF(B6="","",IF(E6=0,CONCATENATE(B6,", ",C6),CONCATENATE(B6,",
",DATE(YEAR(E6),MONTH(E6),1)," ",E6)))

Any suggestions?????

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
How to CONCATENATE two dates field together Lisa Excel Worksheet Functions 6 April 2nd 23 08:09 PM
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM
concatenate with dates Ciara Excel Discussion (Misc queries) 2 June 10th 05 11:50 AM
concatenate dates? gavin Excel Discussion (Misc queries) 2 April 5th 05 09:05 PM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM


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