Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BCBC
 
Posts: n/a
Default Tough Concatenate Problem

I have a large spreadsheet that has job numbers in column A and broken up job
descriptions in column C. I'm looking for a way to concatenate the text in
the cells in column C, but it has to concatenate based on what job number is
in column A. For example:

A B C
01 Picks fruit.
01 Trims trees.
02 Does data entry.
02 Reviews records.
02 Maintains files.
03 Gives shots.
03 Monitors blood pressure.

Based on this type of information, somewhere in the spreadsheet (after each
change in column A or at the very bottom), I need lines that state the
following:

01 Picks fruit. Trims trees.
02 Does data entry. Reviews records. Maintains
files.
03 Gives shots. Monitors blood pressure.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Tough Concatenate Problem


You could perhaps do this with the MCONCAT function available with the
MOREFUNC addin, download MOREFUNC from here

http://www.rhdatasolutions.com/morefunc/

then you could use this formula in D1 copied down column

=IF(A1=A2,"",A1&" "&MCONCAT(INDEX(C$1:C1,MATCH(A1,A$1:A1,0)):C1, " "))


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=512925

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default Tough Concatenate Problem

On Wed, 15 Feb 2006 13:35:28 -0800, "BCBC"
wrote:

I have a large spreadsheet that has job numbers in column A and broken up job
descriptions in column C. I'm looking for a way to concatenate the text in
the cells in column C, but it has to concatenate based on what job number is
in column A. For example:

A B C
01 Picks fruit.
01 Trims trees.
02 Does data entry.
02 Reviews records.
02 Maintains files.
03 Gives shots.
03 Monitors blood pressure.

Based on this type of information, somewhere in the spreadsheet (after each
change in column A or at the very bottom), I need lines that state the
following:

01 Picks fruit. Trims trees.
02 Does data entry. Reviews records. Maintains
files.
03 Gives shots. Monitors blood pressure.


1. Download and install Longre's free morefunc.xll add-in from
http://xcell05.free.fr/

2. Ensure your table of JobNum | JobDesc is sorted ascending by JobNum as you
show in your example.

3. F2: 1
F3: 2
F4: 3

G2:
=MCONCAT(OFFSET(JobDesc,MATCH(F2,JobNum,0)-1,0,COUNTIF(JobNum,F2)))

Copy/drag down


--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Tough Concatenate Problem

Hello

I suggest to take my UDF vlookupall() from
http://www.sulprobil.com/html/vlookupall.html

HTH,
Bernd

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
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
problem office assistant R.VENKATARAMAN Excel Discussion (Misc queries) 0 June 15th 05 06:22 AM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM
label problem Raven Maniac Excel Worksheet Functions 5 November 10th 04 10:10 PM


All times are GMT +1. The time now is 04:00 PM.

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"