How to properly use =GPT_HLIST formula in Google sheets to present data in horizontal and then sub vertical spreadsheet format

how to properly use =GPT_HLIST formula in Google sheets to present data in horizontal and then sub vertical spreadsheet format