Hi,
I need to concatenate values of cells from another sheet based on a certain condition.
I found on this forum the following macro:
so I set up in the centralizing sheet this formula that on drag down can concatenate values from different sheets:
=Conc(INDIRECT("'"&ROW()-2&"'!$A$"&MATCH("Key Word";INDIRECT("'"&MAX(ROW()-2)&"'!$A$1:$A$200");0)+1):INDIRECT("'"&ROW()-2&"'!$A$130");", ")
I use ROW()-2 to target the sheet so that by dragging the formula down it will get data from the next sheet (formula is placed on row 3).
I use MATCH to get the starting value of the Range from witch the values will be concatenated (starting position may be different from sheet to sheet).
What I don't know how to do, is to concatenate only the values that have in an adjoining cell (2nd cell from value to be concatenated) a certain value.
I attached a sample document, that better explains what I need to do.
sample.xlsm
I would appreciate any help.
Thank you
Bookmarks