Смотреть видео: function - Google Spreadsheets: generate all combinations of 4 columns with 8 ro