That format that you are reffering to can be achieved by using thesubtotals option from the "Data" option in the menu