is there a way to do the following:

1. there is a list with 2 columns.
2. Column A contain names.
3. Column B contain phone numbers.
4. each name in Column A has several phone numbers in column B

Is there a way to print a list for each name separately, and not doing it manually
by choosing a different name manually and print.
meaning - print a separate list for each name in a row automaticly