So I have an excel dataset of participants that are possibly eligible to partake in a study that consists of their names, age, telephone number, etc... like:
Name | Age | Phone | Email | Address | Studies Participated in
I also have a column of names of participants that are eligible for a new study; it is a subset of the data in the name column.
What I need to do is select all of the participants whose names are in the subset column, and copy and paste all of their information in all of the columns into new columns.
I have tried something like, selecting an empty column and using =IF($Name-column = $Subset-column, First-Column:Last-Column, "") But this only checks if the name in each cell of the Name Column matches the name in the Subset column. What I need is something that checks if any of the names in the Name column match those in the Subset Column, and if they do, then to copy that row to a new worksheet.