Thank you for your post!
I'm also going to move this thread from the FileMaker Developer Challenge 2016 Place to the Discussions Space where you should receive more views and potentially more feedback on this topic!
What you are trying to create is a basic cross tab report. If you google 'FileMaker cross tab report', you will find many examples.
If you research "cross tab", don't just look at one post. There are several very different routes to the same result, so if you make your search deep enough, you will find more options from which to choose.
Specific assistance would also require that you tell us more about the design of your database. Do you have a table with one record for each person and another table with one record for each family? If so, how are they related if they are related?
you would do this according to what you will use this information for.
Will it be displayed in a report? if so How? What kind of report?
Where will this information be used in the database.
Depending on your answers will depend on how you do it... in a portal, as part of the layout source table, etc.
sorry to answer your question with more questions haha. But it is the use of the data that depends on how you build it.