Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Don Don is offline
external usenet poster
 
Posts: 487
Default Concatinate name and date

I have a name in cell A1 that I want to choose the first three charactors and
a date in A2 that I want the format MMDDYY when I concatinate them together.

A1 = Carlyle High
A2 = 07/08/2008

A3 "=Left(A2,3)&A2
which gives me "Car39637"
but I want "CAR07082008"

I know the date is some julian date when formated as general and I remember
this being asked before but I can not find.

Any help? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Concatinate name and date

Try this:

=LEFT(A1,3)&TEXT(A2,"mmddyyyy")

This returns: Car07022008


HTH
Steve

"Don" wrote in message
...
I have a name in cell A1 that I want to choose the first three charactors
and
a date in A2 that I want the format MMDDYY when I concatinate them
together.

A1 = Carlyle High
A2 = 07/08/2008

A3 "=Left(A2,3)&A2
which gives me "Car39637"
but I want "CAR07082008"

I know the date is some julian date when formated as general and I
remember
this being asked before but I can not find.

Any help? Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Concatinate name and date

And

=UPPER(LEFT(A1,3))&TEXT(A2,"mmddyyyy")

returns CAR07022008

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Steve" wrote in message ...
| Try this:
|
| =LEFT(A1,3)&TEXT(A2,"mmddyyyy")
|
| This returns: Car07022008
|
|
| HTH
| Steve
|
| "Don" wrote in message
| ...
| I have a name in cell A1 that I want to choose the first three charactors
| and
| a date in A2 that I want the format MMDDYY when I concatinate them
| together.
|
| A1 = Carlyle High
| A2 = 07/08/2008
|
| A3 "=Left(A2,3)&A2
| which gives me "Car39637"
| but I want "CAR07082008"
|
| I know the date is some julian date when formated as general and I
| remember
| this being asked before but I can not find.
|
| Any help? Thanks
|
|


  #4   Report Post  
Posted to microsoft.public.excel.misc
Don Don is offline
external usenet poster
 
Posts: 487
Default Concatinate name and date

Thanks guys, and I like the Upper

have a great day


"Niek Otten" wrote:

And

=UPPER(LEFT(A1,3))&TEXT(A2,"mmddyyyy")

returns CAR07022008

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Steve" wrote in message ...
| Try this:
|
| =LEFT(A1,3)&TEXT(A2,"mmddyyyy")
|
| This returns: Car07022008
|
|
| HTH
| Steve
|
| "Don" wrote in message
| ...
| I have a name in cell A1 that I want to choose the first three charactors
| and
| a date in A2 that I want the format MMDDYY when I concatinate them
| together.
|
| A1 = Carlyle High
| A2 = 07/08/2008
|
| A3 "=Left(A2,3)&A2
| which gives me "Car39637"
| but I want "CAR07082008"
|
| I know the date is some julian date when formated as general and I
| remember
| this being asked before but I can not find.
|
| Any help? Thanks
|
|



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Concatinate name and date

Change the A2 part to

=Left(A2,3)&TEXT(A2,"mmddyyyy")

--


Regards,


Peo Sjoblom

"Don" wrote in message
...
I have a name in cell A1 that I want to choose the first three charactors
and
a date in A2 that I want the format MMDDYY when I concatinate them
together.

A1 = Carlyle High
A2 = 07/08/2008

A3 "=Left(A2,3)&A2
which gives me "Car39637"
but I want "CAR07082008"

I know the date is some julian date when formated as general and I
remember
this being asked before but I can not find.

Any help? 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
Concatinate Formatting PFLY Excel Discussion (Misc queries) 4 March 25th 08 09:36 PM
Concatinate a function and make it work Don Excel Discussion (Misc queries) 5 December 12th 07 04:31 AM
Report Date - Date Recv = Days Late, but how to rid completed date MS Questionnairess Excel Worksheet Functions 1 January 24th 07 11:05 PM
concatinate data Rhonda Excel Worksheet Functions 4 January 20th 06 05:51 PM
Concatinate a filename CLR Excel Discussion (Misc queries) 28 August 1st 05 11:45 PM


All times are GMT +1. The time now is 04:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"