excel - Merge cells if another cell has the same value -
i have data in excel so:
column1 column2 column3 total 37 45 61 37 68 99 123 76 12 ...
i want produce following:
column1 column2 column3 total 37 45 61 45, 68 37 68 99 123 76 12 76,... ...
if column1 of row1 has same value row's column1 put column2 value in total comma.
assuming 100 rows in total, please try:
=if(iserror(match(a2,a3:a$100,0)),"",b2&", "&vlookup(a2,a3:b$100,2,0))
Comments
Post a Comment