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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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,980
Messages
6,122,563
Members
449,088
Latest member
Motoracer88

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