End-user guide
Generate a monthly expense report in LibreOffice Calc
Use a pivot table to organize monthly expenses by department, manager, and employee. The report shows individual expenses and adds up their amounts.
Download the fictional monthly expenses CSV to follow along.
Open the expense data
- Open the CSV in LibreOffice Calc. In the Text Import dialog, confirm that the preview shows eight separate columns, from Expense ID through Amount (USD). If it does not, select Comma as the separator. Select OK.
- Select the data and its column headers. For the sample file, select cells A1:H33.
- Choose Insert > Pivot Table.
- In Select Source, choose Current selection and select OK.

Arrange the report fields
- Drag the following fields from Available Fields to Row Fields in this order: Department, Manager, Employee, Expense Date, Expense Type, Expense ID, and Expense Code. The expense ID keeps separate transactions on separate rows.
- Drag Amount (USD) to Data Fields. If Calc lists it as Count, double-click the field and choose Sum. If the sum is zero or incorrect, check that the source amounts imported as numbers.
- Select OK to create the pivot table.

Check and filter the report
With no filters applied, the sample report should show $2,172.15 in the Total Result row. To see only home internet expenses, open the Expense Code drop-down and select NET-HOME. Clear the filter to see all expenses again.