I'm new with PHPExcel and very beginner with PHP. I reading alot of examples and but not finding any example that matches close to what I'm doing. This is what I would like my end result to look like.

So I was able to get PHP excel to extract everything from my SQL database and dumped everything row by row. But I would like the data to be nicely presentable in a sort of box/table/array/section as shown in the image. But in order to achieve the image above should I target each individual cell and have data automatically populated by SQL? Would then PHPexcel recognize that it needs to dump the next record onto the next section?
I was also given advice to try using fromArray() method that can be used to set a whole block of cells in a single call from an array (such as a row read from a database). I am clueless how to get started with this.
If anyone can show me what the code should look like using these methods that would be greatly appreciated.