Can anyone help me with an excel formula that groups related rows and creates a comma separated value result.
Original:
State city
WB city1
WB city2
WB city3
WB city4
WB city5
Kar banga
kar Mysore
Expected:
State city
WB ciry1,city2,city3,city4,city5
Kar banga,Mysore
What you are looking for here is something like a for loop which formula’s in excel do not provide.You need to write some code to do this, the best way in excel is to break down your task in to 3 stages:
If this will meet your needs, I can expand exact formulas required.