HI everyone,
I am trying to create a macro, using couple of excel formula and record macro option in excel.
Column A contains repetitive value (i.e, "apple" mentioned 3 times, "Orange" mentioned 2 times down the row).
First objective is to find the unique value and copy paste it in column C.
Formula used in column C: =IFERROR(INDEX($A$2:$A$278, MATCH(0,COUNTIF($C$1:C1, $A$2:$A$278), 0)),"")
Column B contains respective individual value in regards to column A cell value.
Using concatenate function I wanted to combine column A and column B data separated by a comma.
Expected output data (i.e Apple (in column C): ABC, FGH, HJK (in column D).
Formula used in column D: =CONCATENATEIF($A$2:$A$278, C2, $B$2:$B$278, ",")
The number of rows in the column A and B is not always 278, is there any way to incorporate last used row# into the formula itself or is there any other option ? Thank you
Recorded Macro:
Please Login or Register to view this content.
Bookmarks