Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50049

Concatenate Cells Based on a Condition in Next Row

$
0
0
Hi there. I am a VBA novice and am looking to learn how to complete this action. I have a table (on a separate sheet) where i need to concatenate cells based on a condition in another cell. I need to pull all of the names that meet a criteria in another row and concatenate them with a semi-colon between them:

Name Approver
Mark Tom
Alex Jenna
Jessie Tom

In this example, I would have the macro reference a cell with "Tom" in it and then I would need to build a concatenation of all the names that are of that approver.

The end result when referencing a cell with "Tom" in it would be

"Mark;Jessie"

Let me know where I can begin.

Thanks!



MODERATOR'S NOTE: Please select the correct forum for each question. I've moved this question to the VBA/Programming forum for you.

Viewing all articles
Browse latest Browse all 50049

Trending Articles