arsmith646
New Member
- Joined
- Aug 17, 2015
- Messages
- 10
Hello,
I have figured out how to compare and search two columns to return a corresponding value, but there are multiple values that may match, and I am unable to collect the multiple values. The headings I am searching are below:
Full Name (this is the column I am searching - Column A); Activity Number (the value(s) I need returned - Column B); Pass2 (the column I am using to search for the name in Column A - Column C); Then the remaining columns need to return the corresponding activity or activities from the search criteria in Column C.
I'm trying to avoid having to write in VBA using a For Loop and am wondering if there is any way to collect this data using the function below:
=INDEX(B:B,MATCH(C2,A:A,0))
This will only return a single matching activity from Column B.
Please let me know if I'm unclear, and I want to thank you for your help in advance.
I have figured out how to compare and search two columns to return a corresponding value, but there are multiple values that may match, and I am unable to collect the multiple values. The headings I am searching are below:
Full Name (this is the column I am searching - Column A); Activity Number (the value(s) I need returned - Column B); Pass2 (the column I am using to search for the name in Column A - Column C); Then the remaining columns need to return the corresponding activity or activities from the search criteria in Column C.
I'm trying to avoid having to write in VBA using a For Loop and am wondering if there is any way to collect this data using the function below:
=INDEX(B:B,MATCH(C2,A:A,0))
This will only return a single matching activity from Column B.
Please let me know if I'm unclear, and I want to thank you for your help in advance.