Hello,
As @Nanren888 said, using a spreadsheet, called calc in libre office, could be done.
You could make several tabs for the catagories.
You can download libreoffice here:
https://www.libreoffice.org/
It is totaly free and very good ( in my opinion ).
You could also make a real database...