You can do this task by different ways. 2 ways.of them I show you.
- You can use tshark -> Have a detailed look here https://www.youtube.com/watch?v=gMg8ttIzry0
- You can use the "File -> Export Packet dissections -> As CSV..." dialog to export the packet pane view to a csv file. After that you can import it into excel and do some sorts or scripting around
it.... it....