How to Organize Excel Expense Data for Charts and Trend Analysis
Question details
The user wants a reliable table layout for charting and analyzing expense prices and quantities across stores and months.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Tracking expense data across stores and dates for charts, filters, and PivotTables.
- Observed behavior
- The desired layout keeps dates and measurements in columns so trends can be charted and summarized consistently.
Identify the date, store, expense category, unit price, and quantity for each record. Make sure dates are stored as dates and prices and quantities as numbers.
Arrange expense records in rows and create separate trend charts
Use a vertical table to make expense data easier to filter, summarize, and chart over time.
In Excel, enter Date, Store, Expense, Price, and Quantity across the first row of a worksheet.
Add each expense record on its own row, repeating the store and expense category as needed. Keep dates in the Date column instead of placing months across the top.
Select the header row and choose Data > Filter. Filter by Store and Expense when you want to chart a specific series, then sort Date from oldest to newest.
Select the relevant Date and Price values, then choose Insert > Line or Column Chart. Create a separate chart using Date and Quantity to compare quantity trends.
Select the full data range and choose Insert > PivotTable. Add Date to Rows, Store or Expense to Filters or Columns, and Price or Quantity to Values; choose an appropriate calculation, such as average price or total quantity.

Build expense trend charts in WPS Spreadsheet
Use WPS Spreadsheet to organize expense records by date, store, price, and quantity, then create separate charts for price and quantity trends.
- 1. Open a spreadsheet: Open WPS Spreadsheet and create a blank workbook or open an existing Excel file.
- 2. Lay out the data: Enter Date, Store, Expense, Price, and Quantity as column headers, then add one record per row.
- 3. Filter and sort records: Select the headers and use Data > Filter to focus on a store or expense category. Sort the Date column from oldest to newest.
- 4. Insert trend charts: Select the relevant Date and Price values and choose Insert > Chart to create a line or column chart. Repeat with Date and Quantity for a separate chart.
- 5. Save the workbook: Choose File > Save As and select XLSX if you want to share the workbook with Excel users.

Frequently Asked Questions
Why should dates be in one column instead of across the top?
A single Date column keeps each record consistent and makes it easier to filter, sort, and use Date as a chart axis or PivotTable field.
Should I put price and quantity on the same chart?
Separate charts are usually easier to read because price and quantity use different units. Select Date and Price for one chart, then Date and Quantity for another.
How can I compare trends across stores?
In Excel, select the data and choose Insert > PivotTable. Put Date in Rows, Store in Columns, and Price or Quantity in Values, then chart the summary.
What calculation should I use for price in a PivotTable?
Average can be useful for comparing recorded prices, while Sum is often appropriate for quantities. In the PivotTable Values area, open the field settings and select the calculation that matches your analysis.




