I have a following table.
I wish to extract all the unique values corresponding to the name in separate columns. The output shall come out like this. Since X has 10 as a value twice, I want it to be considered only once.
Array Formula Used
=IFERROR(INDEX($B:$B,SMALL(IF($A:$A=$E2,ROW($B:$B)-MIN(ROW($B:$B))+1),COLUMNS($E$2:E2))),"")
Name | Value |
X | 10 |
Y | 20 |
Z | 30 |
X | 40 |
Y | 50 |
Z | 60 |
X | 10 |
Y | 60 |
I wish to extract all the unique values corresponding to the name in separate columns. The output shall come out like this. Since X has 10 as a value twice, I want it to be considered only once.
Name | Value 1 | Value 2 | Value 3 |
X | 10 | 40 | |
Y | 20 | 50 | 60 |
Z | 30 | 60 |
Array Formula Used
=IFERROR(INDEX($B:$B,SMALL(IF($A:$A=$E2,ROW($B:$B)-MIN(ROW($B:$B))+1),COLUMNS($E$2:E2))),"")