Concatenate by criteria

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
2002_09_30 - Simon.xls
ABCD
1ProjectsNotesSummaryReport
2Project1BuiltairplaneProject1Builtairplance;Buildboat
3Project2DrankbeerProject2Drankbeer;Wentbowling
4Project1Buildboat
5Project2Wentbowling
Sheet1

Hi All,

I'd like to know how to concatenate cells that meet a specific criteria. In the example above, I want to create report that shows the notes for each project.

Thanks for any tips,

Simon
This message was edited by sitary on 2002-10-04 15:28
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
In D2 array-enter & copy down:

=SUBSTITUTE(MCONCAT(IF($A$2:$A$5=C2,"; "&$B$2:$B$5,"")),"; ","",1)

To array-enter a formula, you need to hit control+shift+enter at the same time, not just enter.

Moreover, MCONCAT is part of the morefunc.xll add-in, which is downloadable from:

http://longre.free.fr/english/index.html

See...
aaConditionalConcat Sitary.xls
ABCD
1ProjectsNotesSummaryReport
2Project1BuiltairplaneProject1Builtairplane;Buildboat
3Project2DrankbeerProject2Drankbeer;Wentbowling
4Project1Buildboat
5Project2Wentbowling
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,936
Messages
6,122,340
Members
449,079
Latest member
rocketslinger

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top