Hi, I've been trying to find mutliple hits matching one criterion (column E) so as to produce the following results in column F:
[TABLE="width: 427"]
<colgroup><col span="5"><col></colgroup><tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]TYPE[/TD]
[TD]NAME[/TD]
[TD][/TD]
[TD][/TD]
[TD]CRITERIA[/TD]
[TD]RETURN VALUE[/TD]
[/TR]
[TR]
[TD]1.0.1[/TD]
[TD]JOHN[/TD]
[TD][/TD]
[TD][/TD]
[TD]1.0[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD]1.0.1[/TD]
[TD]JOHN[/TD]
[/TR]
[TR]
[TD]1.0.2[/TD]
[TD]MARY[/TD]
[TD][/TD]
[TD][/TD]
[TD]1.0.2[/TD]
[TD]MARY[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD]2.0[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2.0.1[/TD]
[TD]GEORGE[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.0.1[/TD]
[TD]GEORGE[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD]2.0.2[/TD]
[TD]ADAM[/TD]
[/TR]
[TR]
[TD]2.0.2[/TD]
[TD]ADAM[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.0.2[/TD]
[TD]JOHN[/TD]
[/TR]
[TR]
[TD]2.0.2[/TD]
[TD]JOHN[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.1[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD]2.1.1[/TD]
[TD]HELEN[/TD]
[/TR]
[TR]
[TD]2.1.1[/TD]
[TD]HELEN[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.1.1[/TD]
[TD]MARY[/TD]
[/TR]
[TR]
[TD]2.1.1[/TD]
[TD]MARY[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.1.1[/TD]
[TD]ANNE[/TD]
[/TR]
[TR]
[TD]2.1.1[/TD]
[TD]ANNE[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.1.1[/TD]
[TD]JIM[/TD]
[/TR]
[TR]
[TD]2.1.1[/TD]
[TD]JIM[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2.1[/TD]
[TD]MARY[/TD]
[/TR]
[TR]
[TD]2.2.1[/TD]
[TD]MARY[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2.1[/TD]
[TD]CHARLES[/TD]
[/TR]
[TR]
[TD]2.2.1[/TD]
[TD]CHARLES[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2.1[/TD]
[TD]ERIC[/TD]
[/TR]
[TR]
[TD]2.2.1[/TD]
[TD]ERIC[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2.1[/TD]
[TD]JOHN[/TD]
[/TR]
[TR]
[TD]2.2.1[/TD]
[TD]JOHN[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In column A, I have the codes and in column B there are the corresponding names.
I need to have the codes in column E and in column F to have all the names corresponding to each code. As you can see, there are more than one instances in some codes.
Do you think this is possible? Of course index/match in the classic way I'm using it, produces only the first name for each code.
I've been trying for quite some time to find something to solve it, but I have not been successful. So, I'd appreciate your thoughts on this!!!
Thanks in advance for any advice.
[TABLE="width: 427"]
<colgroup><col span="5"><col></colgroup><tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR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.1[/TD]
[TD]ANNE[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.1.1[/TD]
[TD]JIM[/TD]
[/TR]
[TR]
[TD]2.1.1[/TD]
[TD]JIM[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD] [/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2.1[/TD]
[TD]MARY[/TD]
[/TR]
[TR]
[TD]2.2.1[/TD]
[TD]MARY[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2.1[/TD]
[TD]CHARLES[/TD]
[/TR]
[TR]
[TD]2.2.1[/TD]
[TD]CHARLES[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2.1[/TD]
[TD]ERIC[/TD]
[/TR]
[TR]
[TD]2.2.1[/TD]
[TD]ERIC[/TD]
[TD][/TD]
[TD][/TD]
[TD]2.2.1[/TD]
[TD]JOHN[/TD]
[/TR]
[TR]
[TD]2.2.1[/TD]
[TD]JOHN[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In column A, I have the codes and in column B there are the corresponding names.
I need to have the codes in column E and in column F to have all the names corresponding to each code. As you can see, there are more than one instances in some codes.
Do you think this is possible? Of course index/match in the classic way I'm using it, produces only the first name for each code.
I've been trying for quite some time to find something to solve it, but I have not been successful. So, I'd appreciate your thoughts on this!!!
Thanks in advance for any advice.