Hi All,
I have three columns with data (A,B, and C), currently I have two columns, each with an Array. The first array (E) pulls instances out of A and B without any duplication, while the second array (G) does the same for C and E. This works fine to get all instances out of A,B, and C but I would like to do this in one step.
I am certain that this is a stupid logic error on my side, but when I try to combine them and have an array that pulls out instances from A, B, and C with out duplication I am not getting any output. Any advice is much appreciated.
Array in E (closed with Shift+Ctrl+Enter):
Array in G (closed with Shift+Ctrl+Enter):
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Tom
[/TD]
[TD]Hardy
[/TD]
[TD]Harriette
[/TD]
[TD][/TD]
[TD]Tom
[/TD]
[TD][/TD]
[TD]Tom
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Dan
[/TD]
[TD]Tom
[/TD]
[TD]Hardy
[/TD]
[TD][/TD]
[TD]Dan
[/TD]
[TD][/TD]
[TD]Dan
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Harry
[/TD]
[TD]Julia
[/TD]
[TD]Becky
[/TD]
[TD][/TD]
[TD]Harry
[/TD]
[TD][/TD]
[TD]Harry
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Julia
[/TD]
[TD][/TD]
[TD]Julia
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Hardy
[/TD]
[TD][/TD]
[TD]Hardy
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Becky
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Harriette[/TD]
[/TR]
</tbody>[/TABLE]
I have three columns with data (A,B, and C), currently I have two columns, each with an Array. The first array (E) pulls instances out of A and B without any duplication, while the second array (G) does the same for C and E. This works fine to get all instances out of A,B, and C but I would like to do this in one step.
I am certain that this is a stupid logic error on my side, but when I try to combine them and have an array that pulls out instances from A, B, and C with out duplication I am not getting any output. Any advice is much appreciated.
Array in E (closed with Shift+Ctrl+Enter):
Code:
=IFERROR(IFERROR(INDEX(A:A; MATCH(0; COUNTIF(E$1:$E2; A:A);0)); INDEX(B:B; MATCH(0; COUNTIF(E$1:$E2;B:B); 0))); "")
Array in G (closed with Shift+Ctrl+Enter):
Code:
=IFERROR(IFERROR(INDEX(C:C; MATCH(0; COUNTIF(G$1:$G2; C:C);0)); INDEX(E:E; MATCH(0; COUNTIF(G$1:$G2;E:E); 0))); "")
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Tom
[/TD]
[TD]Hardy
[/TD]
[TD]Harriette
[/TD]
[TD][/TD]
[TD]Tom
[/TD]
[TD][/TD]
[TD]Tom
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Dan
[/TD]
[TD]Tom
[/TD]
[TD]Hardy
[/TD]
[TD][/TD]
[TD]Dan
[/TD]
[TD][/TD]
[TD]Dan
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]Harry
[/TD]
[TD]Julia
[/TD]
[TD]Becky
[/TD]
[TD][/TD]
[TD]Harry
[/TD]
[TD][/TD]
[TD]Harry
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Julia
[/TD]
[TD][/TD]
[TD]Julia
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Hardy
[/TD]
[TD][/TD]
[TD]Hardy
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Becky
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Harriette[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: