Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Concatenation prob

On Thu, 10 Jan 2008 17:08:05 -0000, "Francis Hookham"
wrote:

A visually handicapped friend is secretary of his club.

He receives a list of events on a spreadsheet where the date is given as
follows:



Col A contains "Jan"

Col B contains "1"

Col C contains "Tuesday" (which is superfluous in this operation)

We know the year is 2008



I am having difficulty in concatenating "1" and "Jan" and "08" into Col D,
formatted as "d mmm yy", so I can do away with Cols A-C



(Not decided yet whether to simply drag a fromua down the cut and past
values back, or the run a macro which might save time in long run because it
could delete empty rows at same time)



Please help, it's going to take me hours by hand otherwise.



Francis Hookham



=--(B1&A1&"2008")

Format/Cells/Number/Custom Type: dddd, mmmm dd, yyyy

or one of the preset date formats.
--ron
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default Concatenation prob

On Sat, 08 Sep 2007 08:36:02 -0400, Ron Rosenfeld
wrote:

On Thu, 10 Jan 2008 17:08:05 -0000, "Francis Hookham"
wrote:

A visually handicapped friend is secretary of his club.

He receives a list of events on a spreadsheet where the date is given as
follows:



Col A contains "Jan"

Col B contains "1"

Col C contains "Tuesday" (which is superfluous in this operation)

We know the year is 2008



I am having difficulty in concatenating "1" and "Jan" and "08" into Col D,
formatted as "d mmm yy", so I can do away with Cols A-C



(Not decided yet whether to simply drag a fromua down the cut and past
values back, or the run a macro which might save time in long run because it
could delete empty rows at same time)



Please help, it's going to take me hours by hand otherwise.



Francis Hookham



=--(B1&A1&"2008")

Format/Cells/Number/Custom Type: dddd, mmmm dd, yyyy

or one of the preset date formats.
--ron


I missed part of what you wrote.

You should format the result as "d mmm yy"

One other solution, if you want a TEXT representation of the date, would be
this formula:

=TEXT(A1&B1&"2008","d mmm yy")

After you have generated the results by one of the two methods above

Select the column
Edit/Copy
Edit/Paste Special/Values

You can then delete or hide columns A-C
--ron
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
Concatenation prob Don Guillett Excel Programming 1 August 2nd 07 06:56 PM
Concatenation prob Niek Otten Excel Programming 4 July 11th 07 09:54 PM
Concatenation prob Rick Rothstein \(MVP - VB\) Excel Programming 0 July 11th 07 09:22 PM
Concatenation prob Rick Rothstein \(MVP - VB\) Excel Programming 1 July 10th 07 07:02 PM
Concatenation prob Tom Ogilvy Excel Programming 0 July 10th 07 06:08 PM


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