How to retrieve data after duplicating and relation in Google sheets

You can read more about arrayformula here.

1 Like