If you can put all your data into Excel Tables then this approach uses one function.
Enter your groups and data as below although they could be on another sheet. One critical factor is the headings can't contain spaces or special characters (underscore is OK).
Select all the cells with data and Insert, Table. Now select Formulas, Create from Selection and use the Top Row for names. Selecting Name Manager you should see a Table1 name (created when you did Insert Table) and the three Groupn names.
In A5 select Data, Data Validation, List and select all the headings from the table.
Now if you select the A5 LoV it should offer Group1, Group2, Group3.
In A7 select Data, Data Validation, List and for Source enter =INDIRECT($A$5)
Excel takes the A5 entry as the table name and the LoV in A7 will offer all the entries for that named range.
| A | B | C | D | E | F | G |
---|
Group1 | Group2 | Group3 | | | | | |
Sue | JOHN | Vanessa | | | | | |
Sara | LARRY | Pete | | | | | |
Bert | LUCY | Fred | | | | | |
Group1 | Alf | GINA | | | | | |
FRANK | | | | | | | |
Alf | ANNA | | | | | | |
| | | | | | | |
<tbody>
[TD="align: center"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]2[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]3[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]4[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]5[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]6[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]7[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: center"]8[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
</tbody>
Sheet2
[TABLE="width: 85%"]
<tbody>[TR]
[TD]
Workbook Defined Names[TABLE="width: 100%"]
<tbody>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH]Name[/TH]
[TH="align: left"]Refers To[/TH]
[/TR]
[TR]
[TH="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]Group1[/TH]
[TD="align: left"]=Sheet2!$E$2:$E$7[/TD]
[/TR]
[TR]
[TH="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]Group2[/TH]
[TD="align: left"]=Sheet2!$F$2:$F$7[/TD]
[/TR]
[TR]
[TH="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]Group3[/TH]
[TD="align: left"]=Sheet2!$G$2:$G$7[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]