A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I believe you are referring to the 'Subtotal' feature of Excel.
For that the current data layout will need some changes to be made.
Right now you have not filled the data for all the fields - so plf fill the data for all the fields.
For example - Order No. is not filled in every row - Similarly, Vendor, Description, etc are no completely filled.
The second step is to sort the data.
Have a look at the following sites - you should be able to solve your problem..
https://www.youtube.com/watch?v=WLXiFboAmME
http://www.dummies.com/software/microsoft-office/excel/how-to-subtotal-data-in-excel-2013/
Hope this Helps.